drm/i915: Add fb format modifier support
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Feb 2015 17:16:06 +0000 (17:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:17 +0000 (23:28 +0100)
commit2a80eada326fe83d2a1eaaa4c36831d95628770f
tree732ace2fc10c2e7a384bf3fe5dc0da9c92b841a1
parent93b81f5102a7cd270a305c2741b17c8d44bb0629
drm/i915: Add fb format modifier support

Currently we don't support anything but X tiled. And for an easier
transition it makes a lot of sense to just keep requiring that X tiled
is properly fenced.

Which means we need to do absolutely nothing in old code to support fb
modifiers, yay!

v2: Fix the Y tiling check, noticed by Tvrtko.

v3: Catch Y-tiled fb for legacy addfb again (Tvrtko) and explain why
we want X tiling to match in the comment.

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