]> 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)
commit6f55df0b6919e2c9dc4675fd9e63298612bccf6b
tree22c27be2d387a38fc6650b53a0693f6ce57fcdb5
parentb55888100db910599e6d3e9f45ce66fd59c38124
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