]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Force RC6 restore after system resume and reset
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Aug 2016 09:27:01 +0000 (10:27 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Aug 2016 18:39:28 +0000 (19:39 +0100)
commit4d6d999fa723d74af421cc45f37fd1ff62dd72f5
tree4408f11bd1eb0d274f77f2e5bd192884cbddde12
parent18b78ab21d1bd52b97c8fb40f7e5cd6f9de30ec5
drm/i915: Force RC6 restore after system resume and reset

In order for the RC6 autoenable worker to take any action, RC6 first
must be disabled. Upon resume or reset, the sw state may be stale and so
we require a forced restore.

Fixes: 602397b36e7a ("drm/i915: Defer enabling rc6 til after we submit...")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20160824092701.19178-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_drv.c