drm/i915: Decouple SKL stride units from intel_fb_stride_alignment()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 25 Sep 2018 19:37:08 +0000 (22:37 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Nov 2018 20:02:14 +0000 (22:02 +0200)
commitb3cf5c06ca500150fe17b72f411d0fb620b2f864
treee23c93f7127f9fdafa2eec56ed13c968d309d7c9
parent70bbe53c6eacdf01485848b7568609e33372cad0
drm/i915: Decouple SKL stride units from intel_fb_stride_alignment()

In the future framebuffer stride alignment requirements won't exactly
match the units in which skl+ plane stride is specified. So extract
the code for the skl+ stuff into a separate helper.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180925193714.25280-3-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_display.c