drm/i915: Switch intel_fb_align_height to fb format modifiers
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Feb 2015 17:16:10 +0000 (17:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:18 +0000 (23:28 +0100)
commit091df6cbf248811150552d51dacb9dc1fe6b0a23
tree3a5cc00acb6bb8c40c72522d7aa9d6ae67395fed
parent18c5247e1e96d657334dabd8ab611001f16a62b0
drm/i915: Switch intel_fb_align_height to fb format modifiers

With this we can treat the fb format modifier completely independently
from the fencing mode in obj->tiling_mode in the initial plane code.
Which means new tiling modes without any gtt fence are now fully
support in the core i915 driver code.

v2: Also add pixel_format while at it, we need this to compute the
height for the new tiling formats.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_fbdev.c