drm/i915: Move CCS stride alignment W/A inside intel_fb_stride_alignment
authorDhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Sat, 21 Dec 2019 12:05:35 +0000 (14:05 +0200)
committerImre Deak <imre.deak@intel.com>
Mon, 23 Dec 2019 11:50:55 +0000 (13:50 +0200)
commit86f236bbbd880edb6e7224d121134378a8ef770e
tree64e28bbc661f93c8adde7f7fecd79a32409c67f2
parent021a411684c808aa4e5c9fa7103c704d5f381a8b
drm/i915: Move CCS stride alignment W/A inside intel_fb_stride_alignment

Easier to read if all the alignment changes are in one place and contained
within a function.

Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Mika Kahola <mika.kahola@intel.com>
Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Reviewed-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191221120543.22816-3-imre.deak@intel.com
drivers/gpu/drm/i915/display/intel_display.c