drm/i915: Move nv12 chroma plane handling into intel_surf_alignment()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 7 Mar 2017 19:42:07 +0000 (21:42 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 8 Mar 2017 14:43:36 +0000 (16:43 +0200)
commitb90c1ee17b9e57a3fef241c2ebb26b5db7cc1937
tree44f69e7c39f0992a460eb503246343a0ab6087c8
parentd88c4afddc5519d49ee621e0437abb9c6a25fafb
drm/i915: Move nv12 chroma plane handling into intel_surf_alignment()

Let's try to keep the alignment requirements in one place, and so
towards that end let's move the AUX_DIST alignment handling into
intel_surf_alignment() alongside the main surface alignment stuff.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170307194210.13400-3-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_display.c