aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_framebuffer.c
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2016-11-18 19:52:55 +0000
committerVille Syrjälä <[email protected]>2016-12-15 12:55:29 +0000
commite14c23c647abfc1fed96a55ba376cd9675a54098 (patch)
treec041a530663bebd1b44348aa8d9a9d7caa2f0f2f /drivers/gpu/drm/drm_framebuffer.c
parentdrm: Populate fb->dev from drm_helper_mode_fill_fb_struct() (diff)
downloadkernel-e14c23c647abfc1fed96a55ba376cd9675a54098.tar.gz
kernel-e14c23c647abfc1fed96a55ba376cd9675a54098.zip
drm: Store a pointer to drm_format_info under drm_framebuffer
To avoid having to look up the format information struct every time, let's just store a pointer to it under drm_framebuffer. v2: Don't populate the fb->format pointer in drm_framebuffer_init(). instead we'll treat a NULL format as an error later Cc: Laurent Pinchart <[email protected]> Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Alex Deucher <[email protected]> (v1) Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/drm_framebuffer.c')
0 files changed, 0 insertions, 0 deletions