]> 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)
commit5896a5c8c9c01b09af05b02cdb2ae275ef143959
tree26ecac243cf4c6450d31d872db47c0534c4f58f2
parent7836cd02f27c03af2fca04b450177c51fc7caf1e
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