drm/i915/gen9: Add WaFbcWakeMemOn
authorMika Kuoppala <[email protected]>
Tue, 7 Jun 2016 14:19:17 +0000 (17:19 +0300)
committerMika Kuoppala <[email protected]>
Fri, 15 Jul 2016 12:51:28 +0000 (15:51 +0300)
commit5b889896be07cb12f0401dc2cfdec6eb6413c774
treea9af9d23e9fda4c125b4bed89d5dc10acb162e75
parentf20b1ba04e917be9cadd3171a99568a1badb8b1b
drm/i915/gen9: Add WaFbcWakeMemOn

Set bit 8 in 0x43224 to prevent screen corruption and system
hangs on high memory bandwidth conditions. The same wa also suggest
setting bit 31 on ARB_CTL. According to another workaround we gain
better idle power savings when FBC is enabled.

v2: use correct workaround name
v3: split out overlapping wa for corruption avoidance (Ville)

References: HSD#2137218, HSD#2227171, HSD#2136579, BSID#883
Cc: Paulo Zanoni <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 303d4ea522e8672a1b62d968a5b6764929adc292)
Signed-off-by: Mika Kuoppala <[email protected]>
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_pm.c