]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit52ae08771f6a8caf8717392e28c155e49252a31b
tree2390e6b4f609de8bd2edd25125d831e3a4aa55de
parenta5a6fdeff5cb0ae01fdb45eef95db81a8ac9f9fd
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