]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Correct CSB probing for engine state dumper
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Aug 2018 10:11:38 +0000 (11:11 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Aug 2018 10:39:33 +0000 (11:39 +0100)
commitdf4f94e810fc270db4baa8f4b35ef138246c7746
treedb26867150bcc85f84ce0bd0eff4e82e3ca7e85b
parent7b19f544ed90b7ca4bd850145e2624a99a967de0
drm/i915: Correct CSB probing for engine state dumper

Since we no longer maintain our read position in the CSB pointers
register, it always returns 0 and not where we last read up to. As a
result the CSB probing in the state dumper starts from 0, either missing
entries or showing stale one.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180821101138.15822-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_engine_cs.c