]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdea01a89e0a96dff0d62ce0e05f5bc7fabef8297
treebc611e6bb291811205cb5060b4126a8886408b3a
parentbc4ba9a284676fb4ed90aade3d78ba99a9d81f0d
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