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:15 +0100
committerVille Syrjälä <ville.syrjala@linux.intel.com>2017-03-22 18:44:15 +0100
commit33f673aa55e96ee37bb85200a24e4da12ba4d3f2 (patch)
tree86a08eb6df418b21701d82447268100fb4aa5556 /drivers/gpu/drm/drm_fourcc.c
parentdrm: Share the code to compute color plane dimesions (diff)
downloadlinux-33f673aa55e96ee37bb85200a24e4da12ba4d3f2.tar.xz
linux-33f673aa55e96ee37bb85200a24e4da12ba4d3f2.zip
drm: Remove fb hsub/vsub alignment requirement
Allow framebuffers dimesions to be misaligned w.r.t. the subsampling factors. No real reason the core should have to enforce this, and it definitely starts to cause us issues with the i915 CCS support. So let's just lift the restriction. Let's start to round up when computing the color plane dimesions so that we'll not end up with too low an estimate for the memory requirements and whatnot. 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-3-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