[Intel-gfx] [PATCH v2 02/25] trace.pl: Ignore signaling on non i915 fences
Tvrtko Ursulin
tvrtko.ursulin at linux.intel.com
Mon May 20 12:04:55 UTC 2019
From: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
gem_wsim uses the sw_fence timeline and confuses the script.
v2:
* Check the correct timeline as well. (Chris)
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin at intel.com>
---
scripts/trace.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/trace.pl b/scripts/trace.pl
index b7bbabc79f68..5f70cd23979b 100755
--- a/scripts/trace.pl
+++ b/scripts/trace.pl
@@ -439,6 +439,8 @@ while (<>) {
} elsif ($tp_name eq 'dma_fence:dma_fence_signaled:') {
my $gkey;
+ next unless $tp{'driver'} eq 'i915' and
+ $tp{'timeline'} eq 'signaled';
die unless exists $ctxengines{$tp{'context'}};
$gkey = db_key($ctxengines{$tp{'context'}}, $tp{'context'}, $tp{'seqno'});
--
2.20.1
More information about the Intel-gfx
mailing list