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)
commit987281ab02af9200e02f1d0cefc51d22dc0f5a62
tree0482e71705e5fe6a044141daa43d142636916a81
parenta9e395a4ab795e6f96961ba6d0620f91b2dce9a0
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