drm/i915/skl: Provide a Skylake version of get_plane_config()
authorDamien Lespiau <damien.lespiau@intel.com>
Tue, 20 Jan 2015 12:51:51 +0000 (12:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 27 Jan 2015 08:51:04 +0000 (09:51 +0100)
commitbc8d7dffacb15bef89e21227c42e23d3ffc77b7b
treeb22d066bff3124400a20b11f844493c6720edce1
parentb35d63fae6a2a3a0e1949228de07f795a73f23d0
drm/i915/skl: Provide a Skylake version of get_plane_config()

Universal planes have changed a bit the register organization.

v2: Rebase on top of the latest drm-intel-nightly

v3: Use PLANE_SIZE to retrieve the fb size (Tvrtko)
    Don't use BUG() (Tvrtko)

v4: Use MISSING_CASE (Daniel)

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