drm/i915: Clear FORCEWAKE when taking over from BIOS
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 18 Oct 2012 10:46:10 +0000 (11:46 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Oct 2012 12:36:08 +0000 (14:36 +0200)
commit16995a9fe140802c026c2ce17bf7e232f86d57ab
treebc611e6bb291811205cb5060b4126a8886408b3a
parent7fdd74ab8000562d4a81bc904e03cac6cc520410
drm/i915: Clear FORCEWAKE when taking over from BIOS

Some BIOSes may forcibly suspend RC6 during their operation which
trigger a warning as we find the hardware in a perplexing state upon
first use. So far that appears to be the worst symptom as fortuituously
we use the same values as the BIOS for programming the FORCEWAKE register.

Reported-by: Oleksij Rempel <bug-track@fisher-privat.net>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_pm.c