diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-16 13:49:28 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-07-17 18:47:00 +0100 |
commit | c30d5dc653cbc78f9b634b7b72e25057a68c527c (patch) | |
tree | 38dcd8e845d21865118c5b84b372e16f635e8a0f /tools/leds | |
parent | fff8102aaed59014cb2d8034bdca231185496b16 (diff) | |
download | linux-c30d5dc653cbc78f9b634b7b72e25057a68c527c.tar.bz2 |
drm/i915/gt: Push engine stopping into reset-prepare
Push the engine stop into the back reset_prepare (where it already was!)
This allows us to avoid dangerously setting the RING registers to 0 for
logical contexts. If we clear the register on a live context, those
invalid register values are recorded in the logical context state and
replayed (with hilarious results).
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716124931.5870-2-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/leds')
0 files changed, 0 insertions, 0 deletions