drm/i915/skl: Adjust intel_fb_align_height() for Yb/Yf tiling
authorDamien Lespiau <damien.lespiau@intel.com>
Fri, 27 Feb 2015 11:15:19 +0000 (11:15 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 27 Feb 2015 17:10:54 +0000 (18:10 +0100)
commitb5d0e9bfa645560d2a15acd788b88628fc17f5f3
tree0aaffc1c33759aa8aa305910ec75971c147eebe5
parentb321803dfbe46faeb54e8e758148be40e628225e
drm/i915/skl: Adjust intel_fb_align_height() for Yb/Yf tiling

We now need the bpp of the fb as Yf tiling has different tile widths
depending on it.

v2: Rebased for the new addfb2 interface. (Tvrtko Ursulin)
v3: Rebased for fb modifier changes. (Tvrtko Ursulin)
v4: Added missing case and 128-bit pixel warning. (Damien Lespiau)

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com> (v3)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c