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)
commitabc80abde5bd5962a4ec4e126ab7867c0b5fd195
tree4408f11bd1eb0d274f77f2e5bd192884cbddde12
parent79cf219a6a2ecf553587fae41b117d8c49cc0a55
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: b7137e0cf1e5 ("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