]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Ensure that all new contexts clear STOP_RING
authorChris Wilson <chris@chris-wilson.co.uk>
Sun, 29 Dec 2019 18:31:47 +0000 (18:31 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 30 Dec 2019 13:43:54 +0000 (13:43 +0000)
commit7197f374a51169db490b07021c6a7469d031b289
tree0482e71705e5fe6a044141daa43d142636916a81
parent3e24de139f0c18f1abdf642dedd5b81f4c212746
drm/i915/gt: Ensure that all new contexts clear STOP_RING

Set up the RING_MI_MODE in new contexts to clear the STOP_RING bit, just
in case they find it still set after a reset (as they are the first
contexts to be run).

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/20191229183153.3719869-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c