]> 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)
commite24c91c3a8ef7b20f880998cc4acc6bf66c3a191
tree4408f11bd1eb0d274f77f2e5bd192884cbddde12
parent9ca79e671c7034e8dcb34f71d90c049553e7c5bd
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: 775aca94857d ("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