From: Tvrtko Ursulin <tvrtko.ursu...@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.ursu...@intel.com>
---
 scripts/trace.pl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/trace.pl b/scripts/trace.pl
index 8c896cfde6b0..ac141a514055 100755
--- a/scripts/trace.pl
+++ b/scripts/trace.pl
@@ -443,6 +443,9 @@ while (<>) {
        } elsif ($tp_name eq 'dma_fence:dma_fence_signaled:') {
                my $nkey;
 
+               next unless $tp{'driver'} eq 'i915' and
+                           $tp{'timeline'} eq 'signaled';
+
                $nkey = notify_key($tp{'context'}, $tp{'seqno'});
 
                die if exists $notify{$nkey};
-- 
2.20.1

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to