]> 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)
commitd2ad6689f8ab32530d2e5e42a8348e018f1fc761
tree2390e6b4f609de8bd2edd25125d831e3a4aa55de
parent4aa487252b1e38580d8173aec0ae4afd54fff64f
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