]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit076f8ce68140f51e1aa4b7aa2ba064f7b9b84e6c
treee23c93f7127f9fdafa2eec56ed13c968d309d7c9
parent9c38f6160bf9e57ce88d66b88a239c50e58f01f3
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