]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Always stop the rings before a missing GPU reset
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Oct 2017 13:12:18 +0000 (14:12 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 13 Oct 2017 19:57:29 +0000 (20:57 +0100)
commit48ebe1b566f41186827192232e8dd822026a3f9f
tree26ecac243cf4c6450d31d872db47c0534c4f58f2
parent1a6b9e4dffe13c89e269ce1740c4e7b9bb038408
drm/i915: Always stop the rings before a missing GPU reset

Always try to stop the rings, even if the GPU reset itself has been
disabled (via modparam i915.reset). This should at least stop the hw
from spinning in the background consuming resources (e.g. power and
memory bandwidth) letting the system rest-in-peace.

References: https://bugs.freedesktop.org/show_bug.cgi?id=103260
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171013131218.18013-2-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_uncore.c