summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_fourcc.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-21 19:12:14 +0100
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-22 18:37:17 +0100
commit568c5e453666fd8e0a8b11b440291f59e4da28c8 (patch)
tree4f27e5e04429a36fe56f27f51e4d4a196c3b7b00 /drivers/gpu/drm/drm_fourcc.c
parentdrm: zte: remove leftover 'inf' from struct zx_hdmi (diff)
downloadlinux-568c5e453666fd8e0a8b11b440291f59e4da28c8.tar.xz
linux-568c5e453666fd8e0a8b11b440291f59e4da28c8.zip
drm: Share the code to compute color plane dimesions
framebuffer_check() has some hand rolled code to compute the color plane dimensions based on the subsampled information. Let's share the code between framebuffer_check() and drm_framebuffer_plane_{width,height}(). Cc: Ben Widawsky <ben@bwidawsk.net> Cc: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170321181218.10042-2-ville.syrjala@linux.intel.com Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Diffstat (limited to 'drivers/gpu/drm/drm_fourcc.c')
0 files changed, 0 insertions, 0 deletions