aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-05-30 13:13:34 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2017-06-01 14:22:16 +0100
commitaed2fc102ffaa9bd41e4cff140d3ec8482d13ff5 (patch)
tree715b9530c51a80dce3c535a10b8328c26c23ec64 /tools/perf
parentdrm/i915/guc: Assert that we switch between known ggtt->invalidate functions (diff)
downloadlinux-aed2fc102ffaa9bd41e4cff140d3ec8482d13ff5.tar.gz
linux-aed2fc102ffaa9bd41e4cff140d3ec8482d13ff5.zip
drm/i915: Check the ring is empty when declaring the engines are idle
As another precaution when testing whether the CS engine is actually idle, also inspect the ring's HEAD/TAIL registers, which should be equal when there are no commands left to execute by the GPU. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Mika Kuoppala <mika.kuoppala@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20170530121334.17364-3-chris@chris-wilson.co.uk Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions