drm/i915: Use fb format modifiers in skylake_update_primary_plane
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 10 Feb 2015 17:16:11 +0000 (17:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:19 +0000 (23:28 +0100)
commit30af77c4c80f98c72b27cb497aa660ef9474e6cf
treede61e0a3400e84be53d122bf59881bf840979519
parent091df6cbf248811150552d51dacb9dc1fe6b0a23
drm/i915: Use fb format modifiers in skylake_update_primary_plane

Just a little demo really. We probably need to introduce skl specific
functions for a lot of the format validation stuff, or at least
helpers. Specifically I think intel_framebuffer_init and
intel_fb_align_height must be adjusted to have an i915_ and a skl_
variant. And only shared code should be converted to fb modifiers,
platform code (like the plane config readout can keep on using old
tiling_mode defines to avoid some churn).

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