]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Be paranoid and reset the GPU before release
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Jan 2020 18:03:09 +0000 (18:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Sat, 18 Jan 2020 08:53:53 +0000 (08:53 +0000)
commit96c6795f98a665c2e473f092d36b3e5210049250
tree22c27be2d387a38fc6650b53a0693f6ce57fcdb5
parent3b8bc906756c46d72fed48bef4e411a19f728ebb
drm/i915/gt: Be paranoid and reset the GPU before release

Just in the very unlikely case we have not stopped the GPU before we
return the pages being used by the GPU to the system, force a reset.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200117180309.3249427-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c