drm/i915/skl: fetch, enable/disable pfit as needed v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Thu, 13 Nov 2014 17:51:47 +0000 (17:51 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Nov 2014 10:28:04 +0000 (11:28 +0100)
commitbd2e244f847d8e8067afc30fa979b3968085cbb2
treedb82d4687aad80baabe2a93c0798a7b0ee365641
parent830c81db2dc9dccc505adc7d4651324ea5332add
drm/i915/skl: fetch, enable/disable pfit as needed v2

This moved around on SKL, so we need to make sure we read/write the
correct regs.

v2: fixup WIN_POS offsets (Paulo)
    zero out WIN_POS reg at disable time (Paulo)

Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuougseek.org>
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_display.c