drm/i915/execlists: Skip resetting RING_CONTEXT_STATUS_PTR
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Feb 2017 12:53:38 +0000 (12:53 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 1 Feb 2017 15:22:38 +0000 (15:22 +0000)
commite2de845e0b84ebb7e910bb898febbf813b7df483
tree2390e6b4f609de8bd2edd25125d831e3a4aa55de
parent1881a4234ef03751daf55b62b17e6bb0dbf7792a
drm/i915/execlists: Skip resetting RING_CONTEXT_STATUS_PTR

As we now flag when the GPU signals a context-switch and do not read the
status register before we see that signal, we do not have to ensure that
it is cleared upon reset (and can leave it to the GPU to reset it from
the power context).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Tvrtko Ursulin <tursulin@ursulin.net>
Link: http://patchwork.freedesktop.org/patch/msgid/20170201125338.12932-1-chris@chris-wilson.co.uk
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/intel_lrc.c