* [Intel-gfx] [PATCH i-g-t] scripts/trace.pl: Remove the tool
@ 2021-03-22 14:11 ` Tvrtko Ursulin
0 siblings, 0 replies; 6+ messages in thread
From: Tvrtko Ursulin @ 2021-03-22 14:11 UTC (permalink / raw)
To: igt-dev; +Cc: Intel-gfx
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Tool has been broken for a while after changes to tracepoint format an
behaviour. Although I have patches somewhere to mostly fix it, it seems
that it has outlived its usefulness and could be deleted just as well.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
scripts/Makefile.am | 2 +-
scripts/trace.pl | 1486 -------------------------------------------
2 files changed, 1 insertion(+), 1487 deletions(-)
delete mode 100755 scripts/trace.pl
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 641715294936..85d4a5cf4e5c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,2 +1,2 @@
-dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh trace.pl
+dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh
noinst_PYTHON = throttle.py
diff --git a/scripts/trace.pl b/scripts/trace.pl
deleted file mode 100755
index 77587f24197a..000000000000
--- a/scripts/trace.pl
+++ /dev/null
@@ -1,1486 +0,0 @@
-#! /usr/bin/perl
-#
-# Copyright © 2017 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-
-use strict;
-use warnings;
-use 5.010;
-
-my $gid = 0;
-my (%db, %vdb, %queue, %submit, %notify, %rings, %ctxdb, %ringmap, %reqwait,
- %ctxtimelines);
-my (%cids, %ctxmap);
-my $cid = 0;
-my %queues;
-my @freqs;
-
-use constant VENG => '255:254';
-
-my $max_requests = 1000;
-my $width_us = 32000;
-my $correct_durations = 0;
-my %ignore_ring;
-my %skip_box;
-my $html = 0;
-my $trace = 0;
-my $avg_delay_stats = 0;
-my $gpu_timeline = 0;
-my $colour_contexts = 0;
-
-my @args;
-
-sub arg_help
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--help' or $_[0] eq '-h') {
- shift @_;
-print <<ENDHELP;
-Notes:
-
- The tool parse the output generated by the 'perf script' command after the
- correct set of i915 tracepoints have been collected via perf record.
-
- To collect the data:
-
- ./trace.pl --trace [command-to-be-profiled]
-
- The above will invoke perf record, or alternatively it can be done directly:
-
- perf record -a -c 1 -e i915:intel_gpu_freq_change, \
- i915:i915_request_add, \
- i915:i915_request_submit, \
- i915:i915_request_in, \
- i915:i915_request_out, \
- dma_fence:dma_fence_signaled, \
- i915:i915_request_wait_begin, \
- i915:i915_request_wait_end \
- [command-to-be-profiled]
-
- Then create the log file with:
-
- perf script >trace.log
-
- This file in turn should be piped into this tool which will generate some
- statistics out of it, or if --html was given HTML output.
-
- HTML can be viewed from a directory containing the 'vis' JavaScript module.
- On Ubuntu this can be installed like this:
-
- apt-get install npm
- npm install vis
-
-Usage:
- trace.pl <options> <input-file >output-file
-
- --help / -h This help text
- --max-items=num / -m num Maximum number of boxes to put on the
- timeline. More boxes means more work for
- the JavaScript engine in the browser.
- --zoom-width-ms=ms / -z ms Width of the initial timeline zoom
- --split-requests / -s Try to split out request which were
- submitted together due coalescing in the
- driver. May not be 100% accurate and may
- influence the per-engine statistics so
- use with care.
- --ignore-ring=id / -i id Ignore ring with the numerical id when
- parsing the log (enum intel_engine_id).
- Can be given multiple times.
- --skip-box=name / -x name Do not put a certain type of a box on
- the timeline. One of: queue, ready,
- execute and ctxsave.
- Can be given multiple times.
- --html Generate HTML output.
- --trace cmd Trace the following command.
- --avg-delay-stats Print average delay stats.
- --gpu-timeline Draw overall GPU busy timeline.
- --colour-contexts / -c Use different colours for different
- context execution boxes.
-ENDHELP
-
- exit 0;
- }
-
- return @_;
-}
-
-sub arg_html
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--html') {
- shift @_;
- $html = 1;
- }
-
- return @_;
-}
-
-sub arg_avg_delay_stats
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--avg-delay-stats') {
- shift @_;
- $avg_delay_stats = 1;
- }
-
- return @_;
-}
-
-sub arg_gpu_timeline
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--gpu-timeline') {
- shift @_;
- $gpu_timeline = 1;
- }
-
- return @_;
-}
-
-sub arg_trace
-{
- my @events = ( 'i915:intel_gpu_freq_change',
- 'i915:i915_request_add',
- 'i915:i915_request_submit',
- 'i915:i915_request_in',
- 'i915:i915_request_out',
- 'dma_fence:dma_fence_signaled',
- 'i915:i915_request_wait_begin',
- 'i915:i915_request_wait_end' );
-
- return unless scalar(@_);
-
- if ($_[0] eq '--trace') {
- shift @_;
-
- unshift @_, '--';
- unshift @_, join(',', @events);
- unshift @_, ('perf', 'record', '-a', '-c', '1', '-q', '-o', 'perf.data', '-e');
-
- exec @_;
- }
-
- return @_;
-}
-
-sub arg_max_requests
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--max-requests' or $_[0] eq '-m') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--max-requests=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $max_requests = int($val) if defined $val;
-
- return @_;
-}
-
-sub arg_zoom_width
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--zoom-width-ms' or $_[0] eq '-z') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--zoom-width-ms=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $width_us = int($val) * 1000 if defined $val;
-
- return @_;
-}
-
-sub arg_split_requests
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--split-requests' or $_[0] eq '-s') {
- shift @_;
- $correct_durations = 1;
- }
-
- return @_;
-}
-
-sub arg_ignore_ring
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--ignore-ring' or $_[0] eq '-i') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--ignore-ring=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $ignore_ring{$val} = 1 if defined $val;
-
- return @_;
-}
-
-sub arg_skip_box
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--skip-box' or $_[0] eq '-x') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--skip-box=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $skip_box{$val} = 1 if defined $val;
-
- return @_;
-}
-
-sub arg_colour_contexts
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--colour-contexts' or
- $_[0] eq '--color-contexts' or
- $_[0] eq '-c') {
- shift @_;
- $colour_contexts = 1;
- }
-
- return @_;
-}
-
-@args = @ARGV;
-while (@args) {
- my $left = scalar(@args);
-
- @args = arg_help(@args);
- @args = arg_html(@args);
- @args = arg_avg_delay_stats(@args);
- @args = arg_gpu_timeline(@args);
- @args = arg_trace(@args);
- @args = arg_max_requests(@args);
- @args = arg_zoom_width(@args);
- @args = arg_split_requests(@args);
- @args = arg_ignore_ring(@args);
- @args = arg_skip_box(@args);
- @args = arg_colour_contexts(@args);
-
- last if $left == scalar(@args);
-}
-
-die if scalar(@args);
-
-@ARGV = @args;
-
-sub db_key
-{
- my ($ring, $ctx, $seqno) = @_;
-
- return $ring . '/' . $ctx . '/' . $seqno;
-}
-
-sub notify_key
-{
- my ($ctx, $seqno) = @_;
-
- return $ctx . '/' . $seqno;
-}
-
-sub sanitize_ctx
-{
- my ($ctx, $ring) = @_;
-
- if (exists $ctxdb{$ctx} and $ctxdb{$ctx} > 1) {
- return $ctx . '.' . $ctxdb{$ctx};
- } else {
- return $ctx;
- }
-}
-
-sub is_veng
-{
- my ($class, $instance) = split ':', shift;
-
- return $instance eq '254';
-}
-
-# Main input loop - parse lines and build the internal representation of the
-# trace using a hash of requests and some auxilliary data structures.
-my $prev_freq = 0;
-my $prev_freq_ts = 0;
-while (<>) {
- my @fields;
- my $tp_name;
- my %tp;
- my ($time, $ctx, $ring, $seqno, $orig_ctx, $key);
-
- chomp;
- @fields = split ' ';
-
- chop $fields[3];
- $time = int($fields[3] * 1000000.0 + 0.5);
-
- $tp_name = $fields[4];
-
- splice @fields, 0, 5;
-
- foreach my $f (@fields) {
- my ($k, $v);
-
- next unless $f =~ m/=/;
- ($k, $v) = ($`, $');
- $k = 'global' if $k eq 'global_seqno';
- chop $v if substr($v, -1, 1) eq ',';
- $tp{$k} = $v;
-
- $tp{'ring'} = $tp{'engine'} if $k eq 'engine';
- }
-
- next if exists $tp{'ring'} and exists $ignore_ring{$tp{'ring'}};
-
- if (exists $tp{'ring'} and exists $tp{'seqno'}) {
- $ring = $tp{'ring'};
- $seqno = $tp{'seqno'};
-
- if (exists $tp{'ctx'}) {
- $ctx = $tp{'ctx'};
- $orig_ctx = $ctx;
- $ctx = sanitize_ctx($ctx, $ring);
- $ring = VENG if is_veng($ring);
- $key = db_key($ring, $ctx, $seqno);
- }
- }
-
- if ($tp_name eq 'i915:i915_request_wait_begin:') {
- my %rw;
-
- next if exists $reqwait{$key};
- die if $ring eq VENG and not exists $queues{$ctx};
-
- $rw{'key'} = $key;
- $rw{'ring'} = $ring;
- $rw{'seqno'} = $seqno;
- $rw{'ctx'} = $ctx;
- $rw{'start'} = $time;
- $reqwait{$key} = \%rw;
- } elsif ($tp_name eq 'i915:i915_request_wait_end:') {
- die if $ring eq VENG and not exists $queues{$ctx};
-
- if (exists $reqwait{$key}) {
- $reqwait{$key}->{'end'} = $time;
- } else { # Virtual engine
- my $vkey = db_key(VENG, $ctx, $seqno);
-
- die unless exists $reqwait{$vkey};
-
- # If the wait started on the virtual engine, attribute
- # it to it completely.
- $reqwait{$vkey}->{'end'} = $time;
- }
- } elsif ($tp_name eq 'i915:i915_request_add:') {
- if (exists $queue{$key}) {
- $ctxdb{$orig_ctx}++;
- $ctx = sanitize_ctx($orig_ctx, $ring);
- $key = db_key($ring, $ctx, $seqno);
- } else {
- $ctxdb{$orig_ctx} = 1;
- }
-
- $queue{$key} = $time;
- if ($ring eq VENG and not exists $queues{$ctx}) {
- $queues{$ctx} = 1 ;
- $cids{$ctx} = $cid++;
- $ctxmap{$cids{$ctx}} = $ctx;
- }
- } elsif ($tp_name eq 'i915:i915_request_submit:') {
- die if exists $submit{$key};
- die unless exists $queue{$key};
- die if $ring eq VENG and not exists $queues{$ctx};
-
- $submit{$key} = $time;
- } elsif ($tp_name eq 'i915:i915_request_in:') {
- my ($q, $s);
- my %req;
-
- # preemption
- delete $db{$key} if exists $db{$key};
-
- unless (exists $queue{$key}) {
- # Virtual engine
- my $vkey = db_key(VENG, $ctx, $seqno);
- my %req;
-
- die unless exists $queues{$ctx};
- die unless exists $queue{$vkey};
- die unless exists $submit{$vkey};
-
- # Create separate request record on the queue timeline
- $q = $queue{$vkey};
- $s = $submit{$vkey};
- $req{'queue'} = $q;
- $req{'submit'} = $s;
- $req{'start'} = $time;
- $req{'end'} = $time;
- $req{'ring'} = VENG;
- $req{'seqno'} = $seqno;
- $req{'ctx'} = $ctx;
- $req{'name'} = $ctx . '/' . $seqno;
- $req{'global'} = $tp{'global'};
- $req{'port'} = $tp{'port'};
-
- $vdb{$vkey} = \%req;
- } else {
- $q = $queue{$key};
- $s = $submit{$key};
- }
-
- $req{'start'} = $time;
- $req{'ring'} = $ring;
- $req{'seqno'} = $seqno;
- $req{'ctx'} = $ctx;
- $ctxtimelines{$ctx . '/' . $ring} = 1;
- $req{'name'} = $ctx . '/' . $seqno;
- $req{'global'} = $tp{'global'};
- $req{'port'} = $tp{'port'};
- $req{'queue'} = $q;
- $req{'submit'} = $s;
- $req{'virtual'} = 1 if exists $queues{$ctx};
- $rings{$ring} = $gid++ unless exists $rings{$ring};
- $ringmap{$rings{$ring}} = $ring;
- $db{$key} = \%req;
- } elsif ($tp_name eq 'i915:i915_request_out:') {
- if ($tp{'completed?'}) {
- my $nkey;
-
- die unless exists $db{$key};
- die unless exists $db{$key}->{'start'};
- die if exists $db{$key}->{'end'};
-
- $nkey = notify_key($ctx, $seqno);
-
- $db{$key}->{'end'} = $time;
- $db{$key}->{'notify'} = $notify{$nkey}
- if exists $notify{$nkey};
- } else {
- delete $db{$key};
- }
- } 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};
- $notify{$nkey} = $time unless exists $notify{$nkey};
- } elsif ($tp_name eq 'i915:intel_gpu_freq_change:') {
- push @freqs, [$prev_freq_ts, $time, $prev_freq] if $prev_freq;
- $prev_freq_ts = $time;
- $prev_freq = $tp{'new_freq'};
- }
-}
-
-# Sanitation pass to fixup up out of order notify and context complete, and to
-# find the largest seqno to be used for timeline sorting purposes.
-my $max_seqno = 0;
-foreach my $key (keys %db) {
- my $nkey = notify_key($db{$key}->{'ctx'}, $db{$key}->{'seqno'});
-
- die unless exists $db{$key}->{'start'};
-
- $max_seqno = $db{$key}->{'seqno'} if $db{$key}->{'seqno'} > $max_seqno;
-
- # Notify arrived after context complete?
- $db{$key}->{'notify'} = $notify{$nkey} if not exists $db{$key}->{'notify'}
- and exists $notify{$nkey};
-
- # No notify but we have end?
- $db{$key}->{'notify'} = $db{$key}->{'end'} if exists $db{$key}->{'end'} and
- not exists $db{$key}->{'notify'};
-
- # If user interrupt arrived out of order push it back to be no later
- # than request out.
- if (exists $db{$key}->{'end'} and exists $db{$key}->{'notify'} and
- $db{$key}->{'notify'} > $db{$key}->{'end'}) {
- $db{$key}->{'notify'} = $db{$key}->{'end'};
- }
-}
-
-my $key_count = scalar(keys %db);
-
-my %engine_timelines;
-
-sub sortStart {
- my $as = $db{$a}->{'start'};
- my $bs = $db{$b}->{'start'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-sub get_engine_timeline {
- my ($ring) = @_;
- my @timeline;
-
- return $engine_timelines{$ring} if exists $engine_timelines{$ring};
-
- @timeline = grep { $db{$_}->{'ring'} eq $ring } keys %db;
- @timeline = sort sortStart @timeline;
- $engine_timelines{$ring} = \@timeline;
-
- return \@timeline;
-}
-
-# Fix up coalesced requests by ending them either when the following same
-# context request with known end ends, or when a different context starts.
-foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my $timeline = get_engine_timeline($ring);
- my $last_complete = -1;
- my $last_ctx = -1;
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my ($ctx, $end);
-
- next if exists $db{$key}->{'end'};
-
- $db{$key}->{'no-end'} = 1;
- $ctx = $db{$key}->{'ctx'};
-
- if ($pos > $last_complete or $ctx != $last_ctx) {
- my $next = $pos;
-
- undef $complete;
-
- while ($next < $#{$timeline}) {
- my $next_key = ${$timeline}[++$next];
- if ($ctx == $db{$next_key}->{'ctx'} and
- exists $db{$next_key}->{'end'}) {
- $last_ctx = $db{$next_key}->{'ctx'};
- $last_complete = $next;
- $complete = $next_key;
- last;
- }
- }
- }
-
- if (defined $complete) {
- if ($ctx == $db{$complete}->{'ctx'}) {
- $end = $db{$complete}->{'end'};
- } else {
- $end = $db{$complete}->{'start'};
- }
- } else {
- # No next submission. Use notify if available or give up.
- if (exists $db{$key}->{'notify'}) {
- $end = $db{$key}->{'notify'};
- } else {
- $end = $db{$key}->{'start'};
- $db{$key}->{'incomplete'} = 1;
- }
- }
-
- unless (exists $db{$key}->{'notify'}) {
- $db{$key}->{'notify'} = $end;
- $db{$key}->{'no-notify'} = 1;
- }
- $db{$key}->{'end'} = $end;
- $db{$key}->{'notify'} = $end if $db{$key}->{'notify'} > $end;
- }
-}
-
-my $re_sort = 1;
-my @sorted_keys;
-
-sub maybe_sort_keys
-{
- if ($re_sort) {
- @sorted_keys = sort sortStart keys %db;
- $re_sort = 0;
- die "Database changed size?!" unless scalar(@sorted_keys) ==
- $key_count;
- }
-}
-
-maybe_sort_keys();
-
-my %ctx_timelines;
-
-sub sortContext {
- my $as = $db{$a}->{'seqno'};
- my $bs = $db{$b}->{'seqno'};
- my $val;
-
- $val = $as <=> $bs;
-
- die if $val == 0;
-
- return $val;
-}
-
-sub get_ctx_timeline {
- my ($ctx, $ring, $key) = @_;
- my @timeline;
-
- return $ctx_timelines{$key} if exists $ctx_timelines{$key};
-
- @timeline = grep { $db{$_}->{'ring'} eq $ring and
- $db{$_}->{'ctx'} == $ctx } @sorted_keys;
- # FIXME seqno restart
- @timeline = sort sortContext @timeline;
-
- $ctx_timelines{$key} = \@timeline;
-
- return \@timeline;
-}
-
-# Split out merged batches if requested.
-if ($correct_durations) {
- # Shift !port0 requests start time to after the previous context on the
- # same timeline has finished.
- foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my $timeline = get_engine_timeline($ring);
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my $prev = $complete;
- my $pkey;
-
- $complete = $key unless exists $db{$key}->{'no-end'};
- $pkey = $complete;
-
- next if $db{$key}->{'port'} == 0;
-
- $pkey = $prev if $complete eq $key;
-
- die unless defined $pkey;
-
- $db{$key}->{'start'} = $db{$pkey}->{'end'};
- $db{$key}->{'start'} = $db{$pkey}->{'notify'} if $db{$key}->{'start'} > $db{$key}->{'end'};
-
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
-
- $re_sort = 1;
- }
- }
-
- maybe_sort_keys();
-
- # Batch with no-end (no request_out) means it was submitted as part of
- # coalesced context. This means it's start time should be set to the end
- # time of a following request on this context timeline.
- foreach my $tkey (sort keys %ctxtimelines) {
- my ($ctx, $ring) = split '/', $tkey;
- my $timeline = get_ctx_timeline($ctx, $ring, $tkey);
- my $last_complete = -1;
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my $next_key;
-
- next unless exists $db{$key}->{'no-end'};
- last if $pos == $#{$timeline};
-
- # Shift following request to start after the current
- # one, but only if that wouldn't make it zero duration,
- # which would indicate notify arrived after context
- # complete.
- $next_key = ${$timeline}[$pos + 1];
- if (exists $db{$key}->{'notify'} and
- $db{$key}->{'notify'} < $db{$key}->{'end'}) {
- $db{$next_key}->{'engine-start'} = $db{$next_key}->{'start'};
- $db{$next_key}->{'start'} = $db{$key}->{'notify'};
- $re_sort = 1;
- }
- }
- }
-}
-
-maybe_sort_keys();
-
-# GPU time accounting
-my (%running, %runnable, %queued, %batch_avg, %batch_total_avg, %batch_count);
-my (%submit_avg, %execute_avg, %ctxsave_avg);
-
-my $last_ts = 0;
-my $first_ts;
-my $min_ctx;
-
-foreach my $key (@sorted_keys) {
- my $ring = $db{$key}->{'ring'};
- my $end = $db{$key}->{'end'};
- my $start = $db{$key}->{'start'};
- my $engine_start = $db{$key}->{'engine_start'};
- my $notify = $db{$key}->{'notify'};
-
- $first_ts = $db{$key}->{'queue'} if not defined $first_ts or $db{$key}->{'queue'} < $first_ts;
- $last_ts = $end if $end > $last_ts;
- $min_ctx = $db{$key}->{'ctx'} if not defined $min_ctx or
- $db{$key}->{'ctx'} < $min_ctx;
-
- unless (exists $db{$key}->{'no-end'}) {
- $db{$key}->{'context-complete-delay'} = $end - $notify;
- } else {
- $db{$key}->{'context-complete-delay'} = 0;
- }
-
- $engine_start = $db{$key}->{'start'} unless defined $engine_start;
- $db{$key}->{'execute-delay'} = $engine_start - $db{$key}->{'submit'};
- $db{$key}->{'submit-delay'} = $db{$key}->{'submit'} - $db{$key}->{'queue'};
- unless (exists $db{$key}->{'no-notify'}) {
- $db{$key}->{'duration'} = $notify - $start;
- } else {
- $db{$key}->{'duration'} = 0;
- }
-
- $running{$ring} += $end - $start if $correct_durations or
- not exists $db{$key}->{'no-end'};
- unless (exists $db{$key}->{'virtual'}) {
- $runnable{$ring} += $db{$key}->{'execute-delay'};
- $queued{$ring} += $start - $db{$key}->{'execute-delay'} - $db{$key}->{'queue'};
- }
-
- $batch_count{$ring}++;
-
- $batch_avg{$ring} += $db{$key}->{'duration'};
- $batch_total_avg{$ring} += $end - $start;
-
- $submit_avg{$ring} += $db{$key}->{'submit-delay'};
- $execute_avg{$ring} += $db{$key}->{'execute-delay'};
- $ctxsave_avg{$ring} += $db{$key}->{'context-complete-delay'};
-}
-
-foreach my $ring (sort keys %batch_avg) {
- $batch_avg{$ring} /= $batch_count{$ring};
- $batch_total_avg{$ring} /= $batch_count{$ring};
- $submit_avg{$ring} /= $batch_count{$ring};
- $execute_avg{$ring} /= $batch_count{$ring};
- $ctxsave_avg{$ring} /= $batch_count{$ring};
-}
-
-# Calculate engine idle time
-my %flat_busy;
-foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my (@s_, @e_);
-
- # Extract all GPU busy intervals and sort them.
- foreach my $key (@sorted_keys) {
- next unless $db{$key}->{'ring'} eq $ring;
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
- push @s_, $db{$key}->{'start'};
- push @e_, $db{$key}->{'end'};
- }
-
- die unless $#s_ == $#e_;
-
- # Flatten the intervals.
- for my $i (1..$#s_) {
- last if $i >= @s_; # End of array.
- die if $e_[$i] < $s_[$i];
- if ($s_[$i] <= $e_[$i - 1]) {
- # Current entry overlaps with the previous one. We need
- # to merge end of the previous interval from the list
- # with the start of the current one.
- if ($e_[$i] >= $e_[$i - 1]) {
- splice @e_, $i - 1, 1;
- } else {
- splice @e_, $i, 1;
- }
- splice @s_, $i, 1;
- # Continue with the same element when list got squashed.
- redo;
- }
- }
-
- # Add up all busy times.
- my $total = 0;
- for my $i (0..$#s_) {
- die if $e_[$i] < $s_[$i];
-
- $total = $total + ($e_[$i] - $s_[$i]);
- }
-
- $flat_busy{$ring} = $total;
-}
-
-# Calculate overall GPU idle time
-my @gpu_intervals;
-my (@s_, @e_);
-
-# Extract all GPU busy intervals and sort them.
-foreach my $key (@sorted_keys) {
- push @s_, $db{$key}->{'start'};
- push @e_, $db{$key}->{'end'};
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
-}
-
-die unless $#s_ == $#e_;
-
-# Flatten the intervals (copy & paste of the flattening loop above)
-for my $i (1..$#s_) {
- last if $i >= @s_;
- die if $e_[$i] < $s_[$i];
- die if $s_[$i] < $s_[$i - 1];
- if ($s_[$i] <= $e_[$i - 1]) {
- if ($e_[$i] >= $e_[$i - 1]) {
- splice @e_, $i - 1, 1;
- } else {
- splice @e_, $i, 1;
- }
- splice @s_, $i, 1;
- redo;
- }
-}
-
-# Add up all busy times.
-my $total = 0;
-for my $i (0..$#s_) {
- die if $e_[$i] < $s_[$i];
-
- $total = $total + ($e_[$i] - $s_[$i]);
-}
-
-# Generate data for the GPU timeline if requested
-if ($gpu_timeline) {
- for my $i (0..$#s_) {
- push @gpu_intervals, [ $s_[$i], $e_[$i] ];
- }
-}
-
-$flat_busy{'gpu-busy'} = $total / ($last_ts - $first_ts) * 100.0;
-$flat_busy{'gpu-idle'} = (1.0 - $total / ($last_ts - $first_ts)) * 100.0;
-
-# Add up all request waits per engine
-my %reqw;
-foreach my $key (keys %reqwait) {
- $reqw{$reqwait{$key}->{'ring'}} += $reqwait{$key}->{'end'} - $reqwait{$key}->{'start'};
-}
-
-# Add up all request waits per virtual engine
-my %vreqw;
-foreach my $key (keys %reqwait) {
- $vreqw{$reqwait{$key}->{'ctx'}} += $reqwait{$key}->{'end'} - $reqwait{$key}->{'start'};
-}
-
-say sprintf('GPU: %.2f%% idle, %.2f%% busy',
- $flat_busy{'gpu-idle'}, $flat_busy{'gpu-busy'}) unless $html;
-
-my $timeline_text = $colour_contexts ?
- 'per context coloured shading like' : 'box shading like';
-
-my %ctx_colours;
-my $ctx_table;
-
-sub generate_ctx_table
-{
- my @states = ('queue', 'ready', 'execute', 'ctxsave', 'incomplete');
- my $max_show = 6;
- my (@ctxts, @disp_ctxts);
- my $step;
-
- if( $colour_contexts ) {
- @ctxts = sort keys %ctxdb;
- } else {
- @ctxts = ($min_ctx);
- }
-
- # Limit number of shown context examples
- $step = int(scalar(@ctxts) / $max_show);
- if ($step) {
- foreach my $i (0..$#ctxts) {
- push @disp_ctxts, $ctxts[$i] unless $i % $step;
- last if scalar(@disp_ctxts) == $max_show;
- }
- } else {
- @disp_ctxts = @ctxts;
- }
-
- $ctx_table .= '<table>';
-
- foreach my $ctx (@disp_ctxts) {
- $ctx_table .= "<tr>\n";
- $ctx_table .= " <td>Context $ctx</td>\n" if $colour_contexts;
- foreach my $state (@states) {
- $ctx_table .= " <td align='center' valign='middle'><div style='" . box_style($ctx, $state) . " padding-top: 6px; padding-bottom: 6px; padding-left: 6x; padding-right: 6px;'>" . uc($state) . "</div></td>\n";
- }
- $ctx_table .= "</tr>\n";
- }
-
- $ctx_table .= '</table>';
-}
-
-sub generate_ctx_colours
-{
- my $num_ctx = keys %ctxdb;
- my $i = 0;
-
- foreach my $ctx (sort keys %ctxdb) {
- $ctx_colours{$ctx} = int(360 / $num_ctx * $i++);
- }
-}
-
-
-generate_ctx_colours() if $html and $colour_contexts;
-generate_ctx_table() if $html;
-
-print <<ENDHTML if $html;
-<!DOCTYPE HTML>
-<html>
-<head>
- <title>i915 GT timeline</title>
-
- <style type="text/css">
- body, html {
- font-family: sans-serif;
- }
- </style>
-
- <script src="node_modules/vis/dist/vis.js"></script>
- <link href="node_modules/vis//dist/vis.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<p>
-<b>Timeline request view is $timeline_text:</b>
-<table>
-<tr>
-<td>
-$ctx_table
-</td>
-<td>
-QUEUE = requests executing on the GPU<br>
-READY = runnable requests waiting for a slot on GPU<br>
-EXECUTE = requests waiting on fences and dependencies before they are runnable<br>
-CTXSAVE = GPU saving the context image<br>
-INCOMPLETE = request of unknown completion time
-<p>
-Boxes are in format 'ctx-id/seqno'.
-</p>
-<p>
-Use Ctrl+scroll-action to zoom-in/out and scroll-action or dragging to move around the timeline.
-</p>
-<button onclick="toggleStacking()">Toggle overlap stacking</button>
-</td>
-</tr>
-</table>
-<p>
-<b>GPU idle: $flat_busy{'gpu-idle'}%</b>
-<br>
-<b>GPU busy: $flat_busy{'gpu-busy'}%</b>
-</p>
-<div id="visualization"></div>
-
-<script type="text/javascript">
- var container = document.getElementById('visualization');
-
- var groups = new vis.DataSet([
-ENDHTML
-
-# var groups = new vis.DataSet([
-# {id: 1, content: 'g0'},
-# {id: 2, content: 'g1'}
-# ]);
-
-sub html_stats
-{
- my ($stats, $group, $id) = @_;
- my $veng = exists $stats->{'virtual'} ? 1 : 0;
- my $name;
-
- $name = $veng ? 'Virtual' : 'Ring';
- $name .= $group;
- $name .= '<br><small><br>';
- unless ($veng) {
- $name .= sprintf('%.2f', $stats->{'idle'}) . '% idle<br><br>';
- $name .= sprintf('%.2f', $stats->{'busy'}) . '% busy<br>';
- }
- $name .= sprintf('%.2f', $stats->{'runnable'}) . '% runnable<br>';
- $name .= sprintf('%.2f', $stats->{'queued'}) . '% queued<br><br>';
- $name .= sprintf('%.2f', $stats->{'wait'}) . '% wait<br><br>';
- $name .= $stats->{'count'} . ' batches<br>';
- unless ($veng) {
- $name .= sprintf('%.2f', $stats->{'avg'}) . 'us avg batch<br>';
- $name .= sprintf('%.2f', $stats->{'total-avg'}) . 'us avg engine batch<br>';
- }
- $name .= '</small>';
-
- print "\t{id: $id, content: '$name'},\n";
-}
-
-sub stdio_stats
-{
- my ($stats, $group, $id) = @_;
- my $veng = exists $stats->{'virtual'} ? 1 : 0;
- my $str;
-
- $str = $veng ? 'Virtual' : 'Ring';
- $str .= $group . ': ';
- $str .= $stats->{'count'} . ' batches, ';
- unless ($veng) {
- $str .= sprintf('%.2f (%.2f) avg batch us, ',
- $stats->{'avg'}, $stats->{'total-avg'});
- $str .= sprintf('%.2f', $stats->{'idle'}) . '% idle, ';
- $str .= sprintf('%.2f', $stats->{'busy'}) . '% busy, ';
- }
-
- $str .= sprintf('%.2f', $stats->{'runnable'}) . '% runnable, ';
- $str .= sprintf('%.2f', $stats->{'queued'}) . '% queued, ';
- $str .= sprintf('%.2f', $stats->{'wait'}) . '% wait';
-
- if ($avg_delay_stats and not $veng) {
- $str .= ', submit/execute/save-avg=(';
- $str .= sprintf('%.2f/%.2f/%.2f)', $stats->{'submit'}, $stats->{'execute'}, $stats->{'save'});
- }
-
- say $str;
-}
-
-print "\t{id: 0, content: 'Freq'},\n" if $html;
-print "\t{id: 1, content: 'GPU'},\n" if $gpu_timeline;
-
-my $engine_start_id = $gpu_timeline ? 2 : 1;
-
-foreach my $group (sort keys %rings) {
- my $name;
- my $ring = $ringmap{$rings{$group}};
- my $id = $engine_start_id + $rings{$group};
- my $elapsed = $last_ts - $first_ts;
- my %stats;
-
- $stats{'idle'} = (1.0 - $flat_busy{$ring} / $elapsed) * 100.0;
- $stats{'busy'} = $running{$ring} / $elapsed * 100.0;
- if (exists $runnable{$ring}) {
- $stats{'runnable'} = $runnable{$ring} / $elapsed * 100.0;
- } else {
- $stats{'runnable'} = 0;
- }
- if (exists $queued{$ring}) {
- $stats{'queued'} = $queued{$ring} / $elapsed * 100.0;
- } else {
- $stats{'queued'} = 0;
- }
- $reqw{$ring} = 0 unless exists $reqw{$ring};
- $stats{'wait'} = $reqw{$ring} / $elapsed * 100.0;
- $stats{'count'} = $batch_count{$ring};
- $stats{'avg'} = $batch_avg{$ring};
- $stats{'total-avg'} = $batch_total_avg{$ring};
- $stats{'submit'} = $submit_avg{$ring};
- $stats{'execute'} = $execute_avg{$ring};
- $stats{'save'} = $ctxsave_avg{$ring};
-
- if ($html) {
- html_stats(\%stats, $group, $id);
- } else {
- stdio_stats(\%stats, $group, $id);
- }
-}
-
-sub sortVQueue {
- my $as = $vdb{$a}->{'queue'};
- my $bs = $vdb{$b}->{'queue'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-my @sorted_vkeys = sort sortVQueue keys %vdb;
-my (%vqueued, %vrunnable);
-
-foreach my $key (@sorted_vkeys) {
- my $ctx = $vdb{$key}->{'ctx'};
-
- $vdb{$key}->{'submit-delay'} = $vdb{$key}->{'submit'} - $vdb{$key}->{'queue'};
- $vdb{$key}->{'execute-delay'} = $vdb{$key}->{'start'} - $vdb{$key}->{'submit'};
-
- $vqueued{$ctx} += $vdb{$key}->{'submit-delay'};
- $vrunnable{$ctx} += $vdb{$key}->{'execute-delay'};
-}
-
-my $veng_id = $engine_start_id + scalar(keys %rings);
-
-foreach my $cid (sort keys %ctxmap) {
- my $ctx = $ctxmap{$cid};
- my $elapsed = $last_ts - $first_ts;
- my %stats;
-
- $stats{'virtual'} = 1;
- if (exists $vrunnable{$ctx}) {
- $stats{'runnable'} = $vrunnable{$ctx} / $elapsed * 100.0;
- } else {
- $stats{'runnable'} = 0;
- }
- if (exists $vqueued{$ctx}) {
- $stats{'queued'} = $vqueued{$ctx} / $elapsed * 100.0;
- } else {
- $stats{'queued'} = 0;
- }
- $vreqw{$ctx} = 0 unless exists $vreqw{$ctx};
- $stats{'wait'} = $vreqw{$ctx} / $elapsed * 100.0;
- $stats{'count'} = scalar(grep {$ctx == $vdb{$_}->{'ctx'}} keys %vdb);
-
- if ($html) {
- html_stats(\%stats, $cid, $veng_id++);
- } else {
- stdio_stats(\%stats, $cid, $veng_id++);
- }
-}
-
-exit 0 unless $html;
-
-print <<ENDHTML;
- ]);
-
- var items = new vis.DataSet([
-ENDHTML
-
-sub sortQueue {
- my $as = $db{$a}->{'queue'};
- my $bs = $db{$b}->{'queue'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-sub ctx_colour
-{
- my ($ctx, $stage, $lfac) = (@_);
- my ($s, $l);
- my $val;
-
- unless ($colour_contexts) {
- if ($stage eq 'queue') {
- $val = 210;
- $s = 65;
- $l = 52;
- } elsif ($stage eq 'ready') {
- $val = 0;
- $s = 0;
- $l = 47;
- } elsif ($stage eq 'execute') {
- $val = 346;
- $s = 68;
- $l = 65;
- } elsif ($stage eq 'ctxsave') {
- $val = 26;
- $s = 90;
- $l = 52;
- } elsif ($stage eq 'incomplete') {
- $val = 0;
- $s = 85;
- $l = 50;
- }
- } else {
- if ($stage eq 'queue') {
- $s = 35;
- $l = 85;
- } elsif ($stage eq 'ready') {
- $s = 35;
- $l = 45;
- } elsif ($stage eq 'execute') {
- $s = 80;
- $l = 65;
- } elsif ($stage eq 'ctxsave') {
- $s = 75;
- $l = 70;
- } elsif ($stage eq 'incomplete') {
- $s = 80;
- $l = 25;
- }
-
- $val = $ctx_colours{$ctx};
- }
-
- $l = int($l * $lfac);
-
- return "hsl($val, $s%, $l%)";
-}
-
-sub box_style
-{
- my ($ctx, $stage) = @_;
- my $deg;
- my $text_col = 'white';
-
- if ($stage eq 'queue') {
- $deg = 90;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'ready') {
- $deg = 45;
- } elsif ($stage eq 'execute') {
- $deg = 0;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'ctxsave') {
- $deg = 105;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'incomplete') {
- $deg = 0;
- }
-
- return "color: $text_col; background: repeating-linear-gradient(" .
- $deg . 'deg, ' .
- ctx_colour($ctx, $stage, 1.0) . ', ' .
- ctx_colour($ctx, $stage, 1.0) . ' 10px, ' .
- ctx_colour($ctx, $stage, 0.90) . ' 10px, ' .
- ctx_colour($ctx, $stage, 0.90) . ' 20px);';
-}
-
-my $i = 0;
-my $req = 0;
-foreach my $key (sort sortQueue keys %db) {
- my ($name, $ctx, $seqno) = ($db{$key}->{'name'}, $db{$key}->{'ctx'}, $db{$key}->{'seqno'});
- my ($queue, $start, $notify, $end) = ($db{$key}->{'queue'}, $db{$key}->{'start'}, $db{$key}->{'notify'}, $db{$key}->{'end'});
- my $engine_start = $db{$key}->{'engine-start'};
- my $submit = $queue + $db{$key}->{'submit-delay'};
- my ($content, $style);
- my $group = $engine_start_id + $rings{$db{$key}->{'ring'}};
- my $subgroup = $ctx - $min_ctx;
- my $type = ' type: \'range\',';
- my $startend;
- my $skey;
-
- # submit to execute
- unless (exists $skip_box{'queue'} or exists $db{$key}->{'virtual'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno;
- $style = box_style($ctx, 'queue');
- $content = "$name<br>$db{$key}->{'submit-delay'}us <small>($db{$key}->{'execute-delay'}us)</small>";
- $startend = 'start: ' . $queue . ', end: ' . $submit;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # execute to start
- $engine_start = $db{$key}->{'start'} unless defined $engine_start;
- unless (exists $skip_box{'ready'} or exists $db{$key}->{'virtual'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno + 1;
- $style = box_style($ctx, 'ready');
- $content = "<small>$name<br>$db{$key}->{'execute-delay'}us</small>";
- $startend = 'start: ' . $submit . ', end: ' . $engine_start;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # start to user interrupt
- unless (exists $skip_box{'execute'}) {
- $skey = -2 * $max_seqno * $ctx - 2 * $seqno - 1;
- $style = box_style($ctx,
- exists $db{$key}->{'incomplete'} ?
- 'incomplete' : 'execute');
- $content = "$name <small>$db{$key}->{'port'}</small>";
- $content .= ' <small><i>???</i></small> ' if exists $db{$key}->{'incomplete'};
- $content .= ' <small><i>++</i></small> ' if exists $db{$key}->{'no-end'};
- $content .= ' <small><i>+</i></small> ' if exists $db{$key}->{'no-notify'};
- $content .= "<br>$db{$key}->{'duration'}us <small>($db{$key}->{'context-complete-delay'}us)</small>";
- $startend = 'start: ' . $start . ', end: ' . $notify;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # user interrupt to context complete
- unless (exists $skip_box{'ctxsave'} or exists $db{$key}->{'no-end'}) {
- $skey = -2 * $max_seqno * $ctx - 2 * $seqno;
- $style = box_style($ctx, 'ctxsave');
- my $ctxsave = $db{$key}->{'end'} - $db{$key}->{'notify'};
- $content = "<small>$name<br>${ctxsave}us</small>";
- $content .= ' <small><i>???</i></small> ' if exists $db{$key}->{'incomplete'};
- $content .= ' <small><i>++</i></small> ' if exists $db{$key}->{'no-end'};
- $content .= ' <small><i>+</i></small> ' if exists $db{$key}->{'no-notify'};
- $startend = 'start: ' . $notify . ', end: ' . $end;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- $last_ts = $end;
-
- last if ++$req > $max_requests;
-}
-
-push @freqs, [$prev_freq_ts, $last_ts, $prev_freq] if $prev_freq;
-
-foreach my $item (@freqs) {
- my ($start, $end, $freq) = @$item;
- my $startend;
-
- next if $start > $last_ts;
-
- $start = $first_ts if $start < $first_ts;
- $end = $last_ts if $end > $last_ts;
- $startend = 'start: ' . $start . ', end: ' . $end;
- print "\t{id: $i, type: 'range', group: 0, content: '$freq', $startend},\n";
- $i++;
-}
-
-if ($gpu_timeline) {
- foreach my $item (@gpu_intervals) {
- my ($start, $end) = @$item;
- my $startend;
-
- next if $start > $last_ts;
-
- $start = $first_ts if $start < $first_ts;
- $end = $last_ts if $end > $last_ts;
- $startend = 'start: ' . $start . ', end: ' . $end;
- print "\t{id: $i, type: 'range', group: 1, $startend},\n";
- $i++;
- }
-}
-
-$req = 0;
-$veng_id = $engine_start_id + scalar(keys %rings);
-foreach my $key (@sorted_vkeys) {
- my ($name, $ctx, $seqno) = ($vdb{$key}->{'name'}, $vdb{$key}->{'ctx'}, $vdb{$key}->{'seqno'});
- my $queue = $vdb{$key}->{'queue'};
- my $submit = $vdb{$key}->{'submit'};
- my $engine_start = $db{$key}->{'engine-start'};
- my ($content, $style, $startend, $skey);
- my $group = $veng_id + $cids{$ctx};
- my $subgroup = $ctx - $min_ctx;
- my $type = ' type: \'range\',';
- my $duration;
-
- # submit to execute
- unless (exists $skip_box{'queue'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno;
- $style = box_style($ctx, 'queue');
- $content = "$name<br>$vdb{$key}->{'submit-delay'}us <small>($vdb{$key}->{'execute-delay'}us)</small>";
- $startend = 'start: ' . $queue . ', end: ' . $submit;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # execute to start
- $engine_start = $vdb{$key}->{'start'} unless defined $engine_start;
- unless (exists $skip_box{'ready'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno + 1;
- $style = box_style($ctx, 'ready');
- $content = "<small>$name<br>$vdb{$key}->{'execute-delay'}us</small>";
- $startend = 'start: ' . $submit . ', end: ' . $engine_start;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- last if ++$req > $max_requests;
-}
-
-my $end_ts = $first_ts + $width_us;
-$first_ts = $first_ts;
-
-print <<ENDHTML;
- ]);
-
- function majorAxis(date, scale, step) {
- var s = date / 1000000;
- var precision;
-
- if (scale == 'millisecond')
- precision = 6;
- else if (scale == 'second')
- precision = 3;
- else
- precision = 0;
-
- return s.toFixed(precision) + "s";
- }
-
- function minorAxis(date, scale, step) {
- var t = date;
- var precision;
- var unit;
-
- if (scale == 'millisecond') {
- t %= 1000;
- precision = 0;
- unit = 'us';
- } else if (scale == 'second') {
- t /= 1000;
- t %= 1000;
- precision = 0;
- unit = 'ms';
- } else {
- t /= 1000000;
- precision = 1;
- unit = 's';
- }
-
- return t.toFixed(precision) + unit;
- }
-
- // Configuration for the Timeline
- var options = { groupOrder: 'content',
- horizontalScroll: true,
- stack: false,
- stackSubgroups: false,
- zoomKey: 'ctrlKey',
- orientation: 'top',
- format: { majorLabels: majorAxis, minorLabels: minorAxis },
- start: $first_ts,
- end: $end_ts};
-
- // Create a Timeline
- var timeline = new vis.Timeline(container, items, groups, options);
-
- function toggleStacking() {
- options.stack = !options.stack;
- options.stackSubgroups = !options.stackSubgroups;
- timeline.setOptions(options);
- }
-ENDHTML
-
-print <<ENDHTML;
-</script>
-</body>
-</html>
-ENDHTML
--
2.27.0
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] [PATCH i-g-t] scripts/trace.pl: Remove the tool
@ 2021-03-22 14:11 ` Tvrtko Ursulin
0 siblings, 0 replies; 6+ messages in thread
From: Tvrtko Ursulin @ 2021-03-22 14:11 UTC (permalink / raw)
To: igt-dev; +Cc: Intel-gfx, Tvrtko Ursulin
From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Tool has been broken for a while after changes to tracepoint format an
behaviour. Although I have patches somewhere to mostly fix it, it seems
that it has outlived its usefulness and could be deleted just as well.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
---
scripts/Makefile.am | 2 +-
scripts/trace.pl | 1486 -------------------------------------------
2 files changed, 1 insertion(+), 1487 deletions(-)
delete mode 100755 scripts/trace.pl
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 641715294936..85d4a5cf4e5c 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -1,2 +1,2 @@
-dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh trace.pl
+dist_noinst_SCRIPTS = intel-gfx-trybot who.sh run-tests.sh
noinst_PYTHON = throttle.py
diff --git a/scripts/trace.pl b/scripts/trace.pl
deleted file mode 100755
index 77587f24197a..000000000000
--- a/scripts/trace.pl
+++ /dev/null
@@ -1,1486 +0,0 @@
-#! /usr/bin/perl
-#
-# Copyright © 2017 Intel Corporation
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice (including the next
-# paragraph) shall be included in all copies or substantial portions of the
-# Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
-# IN THE SOFTWARE.
-#
-
-use strict;
-use warnings;
-use 5.010;
-
-my $gid = 0;
-my (%db, %vdb, %queue, %submit, %notify, %rings, %ctxdb, %ringmap, %reqwait,
- %ctxtimelines);
-my (%cids, %ctxmap);
-my $cid = 0;
-my %queues;
-my @freqs;
-
-use constant VENG => '255:254';
-
-my $max_requests = 1000;
-my $width_us = 32000;
-my $correct_durations = 0;
-my %ignore_ring;
-my %skip_box;
-my $html = 0;
-my $trace = 0;
-my $avg_delay_stats = 0;
-my $gpu_timeline = 0;
-my $colour_contexts = 0;
-
-my @args;
-
-sub arg_help
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--help' or $_[0] eq '-h') {
- shift @_;
-print <<ENDHELP;
-Notes:
-
- The tool parse the output generated by the 'perf script' command after the
- correct set of i915 tracepoints have been collected via perf record.
-
- To collect the data:
-
- ./trace.pl --trace [command-to-be-profiled]
-
- The above will invoke perf record, or alternatively it can be done directly:
-
- perf record -a -c 1 -e i915:intel_gpu_freq_change, \
- i915:i915_request_add, \
- i915:i915_request_submit, \
- i915:i915_request_in, \
- i915:i915_request_out, \
- dma_fence:dma_fence_signaled, \
- i915:i915_request_wait_begin, \
- i915:i915_request_wait_end \
- [command-to-be-profiled]
-
- Then create the log file with:
-
- perf script >trace.log
-
- This file in turn should be piped into this tool which will generate some
- statistics out of it, or if --html was given HTML output.
-
- HTML can be viewed from a directory containing the 'vis' JavaScript module.
- On Ubuntu this can be installed like this:
-
- apt-get install npm
- npm install vis
-
-Usage:
- trace.pl <options> <input-file >output-file
-
- --help / -h This help text
- --max-items=num / -m num Maximum number of boxes to put on the
- timeline. More boxes means more work for
- the JavaScript engine in the browser.
- --zoom-width-ms=ms / -z ms Width of the initial timeline zoom
- --split-requests / -s Try to split out request which were
- submitted together due coalescing in the
- driver. May not be 100% accurate and may
- influence the per-engine statistics so
- use with care.
- --ignore-ring=id / -i id Ignore ring with the numerical id when
- parsing the log (enum intel_engine_id).
- Can be given multiple times.
- --skip-box=name / -x name Do not put a certain type of a box on
- the timeline. One of: queue, ready,
- execute and ctxsave.
- Can be given multiple times.
- --html Generate HTML output.
- --trace cmd Trace the following command.
- --avg-delay-stats Print average delay stats.
- --gpu-timeline Draw overall GPU busy timeline.
- --colour-contexts / -c Use different colours for different
- context execution boxes.
-ENDHELP
-
- exit 0;
- }
-
- return @_;
-}
-
-sub arg_html
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--html') {
- shift @_;
- $html = 1;
- }
-
- return @_;
-}
-
-sub arg_avg_delay_stats
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--avg-delay-stats') {
- shift @_;
- $avg_delay_stats = 1;
- }
-
- return @_;
-}
-
-sub arg_gpu_timeline
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--gpu-timeline') {
- shift @_;
- $gpu_timeline = 1;
- }
-
- return @_;
-}
-
-sub arg_trace
-{
- my @events = ( 'i915:intel_gpu_freq_change',
- 'i915:i915_request_add',
- 'i915:i915_request_submit',
- 'i915:i915_request_in',
- 'i915:i915_request_out',
- 'dma_fence:dma_fence_signaled',
- 'i915:i915_request_wait_begin',
- 'i915:i915_request_wait_end' );
-
- return unless scalar(@_);
-
- if ($_[0] eq '--trace') {
- shift @_;
-
- unshift @_, '--';
- unshift @_, join(',', @events);
- unshift @_, ('perf', 'record', '-a', '-c', '1', '-q', '-o', 'perf.data', '-e');
-
- exec @_;
- }
-
- return @_;
-}
-
-sub arg_max_requests
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--max-requests' or $_[0] eq '-m') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--max-requests=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $max_requests = int($val) if defined $val;
-
- return @_;
-}
-
-sub arg_zoom_width
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--zoom-width-ms' or $_[0] eq '-z') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--zoom-width-ms=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $width_us = int($val) * 1000 if defined $val;
-
- return @_;
-}
-
-sub arg_split_requests
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--split-requests' or $_[0] eq '-s') {
- shift @_;
- $correct_durations = 1;
- }
-
- return @_;
-}
-
-sub arg_ignore_ring
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--ignore-ring' or $_[0] eq '-i') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--ignore-ring=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $ignore_ring{$val} = 1 if defined $val;
-
- return @_;
-}
-
-sub arg_skip_box
-{
- my $val;
-
- return unless scalar(@_);
-
- if ($_[0] eq '--skip-box' or $_[0] eq '-x') {
- shift @_;
- $val = shift @_;
- } elsif ($_[0] =~ /--skip-box=(\d+)/) {
- shift @_;
- $val = $1;
- }
-
- $skip_box{$val} = 1 if defined $val;
-
- return @_;
-}
-
-sub arg_colour_contexts
-{
- return unless scalar(@_);
-
- if ($_[0] eq '--colour-contexts' or
- $_[0] eq '--color-contexts' or
- $_[0] eq '-c') {
- shift @_;
- $colour_contexts = 1;
- }
-
- return @_;
-}
-
-@args = @ARGV;
-while (@args) {
- my $left = scalar(@args);
-
- @args = arg_help(@args);
- @args = arg_html(@args);
- @args = arg_avg_delay_stats(@args);
- @args = arg_gpu_timeline(@args);
- @args = arg_trace(@args);
- @args = arg_max_requests(@args);
- @args = arg_zoom_width(@args);
- @args = arg_split_requests(@args);
- @args = arg_ignore_ring(@args);
- @args = arg_skip_box(@args);
- @args = arg_colour_contexts(@args);
-
- last if $left == scalar(@args);
-}
-
-die if scalar(@args);
-
-@ARGV = @args;
-
-sub db_key
-{
- my ($ring, $ctx, $seqno) = @_;
-
- return $ring . '/' . $ctx . '/' . $seqno;
-}
-
-sub notify_key
-{
- my ($ctx, $seqno) = @_;
-
- return $ctx . '/' . $seqno;
-}
-
-sub sanitize_ctx
-{
- my ($ctx, $ring) = @_;
-
- if (exists $ctxdb{$ctx} and $ctxdb{$ctx} > 1) {
- return $ctx . '.' . $ctxdb{$ctx};
- } else {
- return $ctx;
- }
-}
-
-sub is_veng
-{
- my ($class, $instance) = split ':', shift;
-
- return $instance eq '254';
-}
-
-# Main input loop - parse lines and build the internal representation of the
-# trace using a hash of requests and some auxilliary data structures.
-my $prev_freq = 0;
-my $prev_freq_ts = 0;
-while (<>) {
- my @fields;
- my $tp_name;
- my %tp;
- my ($time, $ctx, $ring, $seqno, $orig_ctx, $key);
-
- chomp;
- @fields = split ' ';
-
- chop $fields[3];
- $time = int($fields[3] * 1000000.0 + 0.5);
-
- $tp_name = $fields[4];
-
- splice @fields, 0, 5;
-
- foreach my $f (@fields) {
- my ($k, $v);
-
- next unless $f =~ m/=/;
- ($k, $v) = ($`, $');
- $k = 'global' if $k eq 'global_seqno';
- chop $v if substr($v, -1, 1) eq ',';
- $tp{$k} = $v;
-
- $tp{'ring'} = $tp{'engine'} if $k eq 'engine';
- }
-
- next if exists $tp{'ring'} and exists $ignore_ring{$tp{'ring'}};
-
- if (exists $tp{'ring'} and exists $tp{'seqno'}) {
- $ring = $tp{'ring'};
- $seqno = $tp{'seqno'};
-
- if (exists $tp{'ctx'}) {
- $ctx = $tp{'ctx'};
- $orig_ctx = $ctx;
- $ctx = sanitize_ctx($ctx, $ring);
- $ring = VENG if is_veng($ring);
- $key = db_key($ring, $ctx, $seqno);
- }
- }
-
- if ($tp_name eq 'i915:i915_request_wait_begin:') {
- my %rw;
-
- next if exists $reqwait{$key};
- die if $ring eq VENG and not exists $queues{$ctx};
-
- $rw{'key'} = $key;
- $rw{'ring'} = $ring;
- $rw{'seqno'} = $seqno;
- $rw{'ctx'} = $ctx;
- $rw{'start'} = $time;
- $reqwait{$key} = \%rw;
- } elsif ($tp_name eq 'i915:i915_request_wait_end:') {
- die if $ring eq VENG and not exists $queues{$ctx};
-
- if (exists $reqwait{$key}) {
- $reqwait{$key}->{'end'} = $time;
- } else { # Virtual engine
- my $vkey = db_key(VENG, $ctx, $seqno);
-
- die unless exists $reqwait{$vkey};
-
- # If the wait started on the virtual engine, attribute
- # it to it completely.
- $reqwait{$vkey}->{'end'} = $time;
- }
- } elsif ($tp_name eq 'i915:i915_request_add:') {
- if (exists $queue{$key}) {
- $ctxdb{$orig_ctx}++;
- $ctx = sanitize_ctx($orig_ctx, $ring);
- $key = db_key($ring, $ctx, $seqno);
- } else {
- $ctxdb{$orig_ctx} = 1;
- }
-
- $queue{$key} = $time;
- if ($ring eq VENG and not exists $queues{$ctx}) {
- $queues{$ctx} = 1 ;
- $cids{$ctx} = $cid++;
- $ctxmap{$cids{$ctx}} = $ctx;
- }
- } elsif ($tp_name eq 'i915:i915_request_submit:') {
- die if exists $submit{$key};
- die unless exists $queue{$key};
- die if $ring eq VENG and not exists $queues{$ctx};
-
- $submit{$key} = $time;
- } elsif ($tp_name eq 'i915:i915_request_in:') {
- my ($q, $s);
- my %req;
-
- # preemption
- delete $db{$key} if exists $db{$key};
-
- unless (exists $queue{$key}) {
- # Virtual engine
- my $vkey = db_key(VENG, $ctx, $seqno);
- my %req;
-
- die unless exists $queues{$ctx};
- die unless exists $queue{$vkey};
- die unless exists $submit{$vkey};
-
- # Create separate request record on the queue timeline
- $q = $queue{$vkey};
- $s = $submit{$vkey};
- $req{'queue'} = $q;
- $req{'submit'} = $s;
- $req{'start'} = $time;
- $req{'end'} = $time;
- $req{'ring'} = VENG;
- $req{'seqno'} = $seqno;
- $req{'ctx'} = $ctx;
- $req{'name'} = $ctx . '/' . $seqno;
- $req{'global'} = $tp{'global'};
- $req{'port'} = $tp{'port'};
-
- $vdb{$vkey} = \%req;
- } else {
- $q = $queue{$key};
- $s = $submit{$key};
- }
-
- $req{'start'} = $time;
- $req{'ring'} = $ring;
- $req{'seqno'} = $seqno;
- $req{'ctx'} = $ctx;
- $ctxtimelines{$ctx . '/' . $ring} = 1;
- $req{'name'} = $ctx . '/' . $seqno;
- $req{'global'} = $tp{'global'};
- $req{'port'} = $tp{'port'};
- $req{'queue'} = $q;
- $req{'submit'} = $s;
- $req{'virtual'} = 1 if exists $queues{$ctx};
- $rings{$ring} = $gid++ unless exists $rings{$ring};
- $ringmap{$rings{$ring}} = $ring;
- $db{$key} = \%req;
- } elsif ($tp_name eq 'i915:i915_request_out:') {
- if ($tp{'completed?'}) {
- my $nkey;
-
- die unless exists $db{$key};
- die unless exists $db{$key}->{'start'};
- die if exists $db{$key}->{'end'};
-
- $nkey = notify_key($ctx, $seqno);
-
- $db{$key}->{'end'} = $time;
- $db{$key}->{'notify'} = $notify{$nkey}
- if exists $notify{$nkey};
- } else {
- delete $db{$key};
- }
- } 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};
- $notify{$nkey} = $time unless exists $notify{$nkey};
- } elsif ($tp_name eq 'i915:intel_gpu_freq_change:') {
- push @freqs, [$prev_freq_ts, $time, $prev_freq] if $prev_freq;
- $prev_freq_ts = $time;
- $prev_freq = $tp{'new_freq'};
- }
-}
-
-# Sanitation pass to fixup up out of order notify and context complete, and to
-# find the largest seqno to be used for timeline sorting purposes.
-my $max_seqno = 0;
-foreach my $key (keys %db) {
- my $nkey = notify_key($db{$key}->{'ctx'}, $db{$key}->{'seqno'});
-
- die unless exists $db{$key}->{'start'};
-
- $max_seqno = $db{$key}->{'seqno'} if $db{$key}->{'seqno'} > $max_seqno;
-
- # Notify arrived after context complete?
- $db{$key}->{'notify'} = $notify{$nkey} if not exists $db{$key}->{'notify'}
- and exists $notify{$nkey};
-
- # No notify but we have end?
- $db{$key}->{'notify'} = $db{$key}->{'end'} if exists $db{$key}->{'end'} and
- not exists $db{$key}->{'notify'};
-
- # If user interrupt arrived out of order push it back to be no later
- # than request out.
- if (exists $db{$key}->{'end'} and exists $db{$key}->{'notify'} and
- $db{$key}->{'notify'} > $db{$key}->{'end'}) {
- $db{$key}->{'notify'} = $db{$key}->{'end'};
- }
-}
-
-my $key_count = scalar(keys %db);
-
-my %engine_timelines;
-
-sub sortStart {
- my $as = $db{$a}->{'start'};
- my $bs = $db{$b}->{'start'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-sub get_engine_timeline {
- my ($ring) = @_;
- my @timeline;
-
- return $engine_timelines{$ring} if exists $engine_timelines{$ring};
-
- @timeline = grep { $db{$_}->{'ring'} eq $ring } keys %db;
- @timeline = sort sortStart @timeline;
- $engine_timelines{$ring} = \@timeline;
-
- return \@timeline;
-}
-
-# Fix up coalesced requests by ending them either when the following same
-# context request with known end ends, or when a different context starts.
-foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my $timeline = get_engine_timeline($ring);
- my $last_complete = -1;
- my $last_ctx = -1;
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my ($ctx, $end);
-
- next if exists $db{$key}->{'end'};
-
- $db{$key}->{'no-end'} = 1;
- $ctx = $db{$key}->{'ctx'};
-
- if ($pos > $last_complete or $ctx != $last_ctx) {
- my $next = $pos;
-
- undef $complete;
-
- while ($next < $#{$timeline}) {
- my $next_key = ${$timeline}[++$next];
- if ($ctx == $db{$next_key}->{'ctx'} and
- exists $db{$next_key}->{'end'}) {
- $last_ctx = $db{$next_key}->{'ctx'};
- $last_complete = $next;
- $complete = $next_key;
- last;
- }
- }
- }
-
- if (defined $complete) {
- if ($ctx == $db{$complete}->{'ctx'}) {
- $end = $db{$complete}->{'end'};
- } else {
- $end = $db{$complete}->{'start'};
- }
- } else {
- # No next submission. Use notify if available or give up.
- if (exists $db{$key}->{'notify'}) {
- $end = $db{$key}->{'notify'};
- } else {
- $end = $db{$key}->{'start'};
- $db{$key}->{'incomplete'} = 1;
- }
- }
-
- unless (exists $db{$key}->{'notify'}) {
- $db{$key}->{'notify'} = $end;
- $db{$key}->{'no-notify'} = 1;
- }
- $db{$key}->{'end'} = $end;
- $db{$key}->{'notify'} = $end if $db{$key}->{'notify'} > $end;
- }
-}
-
-my $re_sort = 1;
-my @sorted_keys;
-
-sub maybe_sort_keys
-{
- if ($re_sort) {
- @sorted_keys = sort sortStart keys %db;
- $re_sort = 0;
- die "Database changed size?!" unless scalar(@sorted_keys) ==
- $key_count;
- }
-}
-
-maybe_sort_keys();
-
-my %ctx_timelines;
-
-sub sortContext {
- my $as = $db{$a}->{'seqno'};
- my $bs = $db{$b}->{'seqno'};
- my $val;
-
- $val = $as <=> $bs;
-
- die if $val == 0;
-
- return $val;
-}
-
-sub get_ctx_timeline {
- my ($ctx, $ring, $key) = @_;
- my @timeline;
-
- return $ctx_timelines{$key} if exists $ctx_timelines{$key};
-
- @timeline = grep { $db{$_}->{'ring'} eq $ring and
- $db{$_}->{'ctx'} == $ctx } @sorted_keys;
- # FIXME seqno restart
- @timeline = sort sortContext @timeline;
-
- $ctx_timelines{$key} = \@timeline;
-
- return \@timeline;
-}
-
-# Split out merged batches if requested.
-if ($correct_durations) {
- # Shift !port0 requests start time to after the previous context on the
- # same timeline has finished.
- foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my $timeline = get_engine_timeline($ring);
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my $prev = $complete;
- my $pkey;
-
- $complete = $key unless exists $db{$key}->{'no-end'};
- $pkey = $complete;
-
- next if $db{$key}->{'port'} == 0;
-
- $pkey = $prev if $complete eq $key;
-
- die unless defined $pkey;
-
- $db{$key}->{'start'} = $db{$pkey}->{'end'};
- $db{$key}->{'start'} = $db{$pkey}->{'notify'} if $db{$key}->{'start'} > $db{$key}->{'end'};
-
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
-
- $re_sort = 1;
- }
- }
-
- maybe_sort_keys();
-
- # Batch with no-end (no request_out) means it was submitted as part of
- # coalesced context. This means it's start time should be set to the end
- # time of a following request on this context timeline.
- foreach my $tkey (sort keys %ctxtimelines) {
- my ($ctx, $ring) = split '/', $tkey;
- my $timeline = get_ctx_timeline($ctx, $ring, $tkey);
- my $last_complete = -1;
- my $complete;
-
- foreach my $pos (0..$#{$timeline}) {
- my $key = @{$timeline}[$pos];
- my $next_key;
-
- next unless exists $db{$key}->{'no-end'};
- last if $pos == $#{$timeline};
-
- # Shift following request to start after the current
- # one, but only if that wouldn't make it zero duration,
- # which would indicate notify arrived after context
- # complete.
- $next_key = ${$timeline}[$pos + 1];
- if (exists $db{$key}->{'notify'} and
- $db{$key}->{'notify'} < $db{$key}->{'end'}) {
- $db{$next_key}->{'engine-start'} = $db{$next_key}->{'start'};
- $db{$next_key}->{'start'} = $db{$key}->{'notify'};
- $re_sort = 1;
- }
- }
- }
-}
-
-maybe_sort_keys();
-
-# GPU time accounting
-my (%running, %runnable, %queued, %batch_avg, %batch_total_avg, %batch_count);
-my (%submit_avg, %execute_avg, %ctxsave_avg);
-
-my $last_ts = 0;
-my $first_ts;
-my $min_ctx;
-
-foreach my $key (@sorted_keys) {
- my $ring = $db{$key}->{'ring'};
- my $end = $db{$key}->{'end'};
- my $start = $db{$key}->{'start'};
- my $engine_start = $db{$key}->{'engine_start'};
- my $notify = $db{$key}->{'notify'};
-
- $first_ts = $db{$key}->{'queue'} if not defined $first_ts or $db{$key}->{'queue'} < $first_ts;
- $last_ts = $end if $end > $last_ts;
- $min_ctx = $db{$key}->{'ctx'} if not defined $min_ctx or
- $db{$key}->{'ctx'} < $min_ctx;
-
- unless (exists $db{$key}->{'no-end'}) {
- $db{$key}->{'context-complete-delay'} = $end - $notify;
- } else {
- $db{$key}->{'context-complete-delay'} = 0;
- }
-
- $engine_start = $db{$key}->{'start'} unless defined $engine_start;
- $db{$key}->{'execute-delay'} = $engine_start - $db{$key}->{'submit'};
- $db{$key}->{'submit-delay'} = $db{$key}->{'submit'} - $db{$key}->{'queue'};
- unless (exists $db{$key}->{'no-notify'}) {
- $db{$key}->{'duration'} = $notify - $start;
- } else {
- $db{$key}->{'duration'} = 0;
- }
-
- $running{$ring} += $end - $start if $correct_durations or
- not exists $db{$key}->{'no-end'};
- unless (exists $db{$key}->{'virtual'}) {
- $runnable{$ring} += $db{$key}->{'execute-delay'};
- $queued{$ring} += $start - $db{$key}->{'execute-delay'} - $db{$key}->{'queue'};
- }
-
- $batch_count{$ring}++;
-
- $batch_avg{$ring} += $db{$key}->{'duration'};
- $batch_total_avg{$ring} += $end - $start;
-
- $submit_avg{$ring} += $db{$key}->{'submit-delay'};
- $execute_avg{$ring} += $db{$key}->{'execute-delay'};
- $ctxsave_avg{$ring} += $db{$key}->{'context-complete-delay'};
-}
-
-foreach my $ring (sort keys %batch_avg) {
- $batch_avg{$ring} /= $batch_count{$ring};
- $batch_total_avg{$ring} /= $batch_count{$ring};
- $submit_avg{$ring} /= $batch_count{$ring};
- $execute_avg{$ring} /= $batch_count{$ring};
- $ctxsave_avg{$ring} /= $batch_count{$ring};
-}
-
-# Calculate engine idle time
-my %flat_busy;
-foreach my $gid (sort keys %rings) {
- my $ring = $ringmap{$rings{$gid}};
- my (@s_, @e_);
-
- # Extract all GPU busy intervals and sort them.
- foreach my $key (@sorted_keys) {
- next unless $db{$key}->{'ring'} eq $ring;
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
- push @s_, $db{$key}->{'start'};
- push @e_, $db{$key}->{'end'};
- }
-
- die unless $#s_ == $#e_;
-
- # Flatten the intervals.
- for my $i (1..$#s_) {
- last if $i >= @s_; # End of array.
- die if $e_[$i] < $s_[$i];
- if ($s_[$i] <= $e_[$i - 1]) {
- # Current entry overlaps with the previous one. We need
- # to merge end of the previous interval from the list
- # with the start of the current one.
- if ($e_[$i] >= $e_[$i - 1]) {
- splice @e_, $i - 1, 1;
- } else {
- splice @e_, $i, 1;
- }
- splice @s_, $i, 1;
- # Continue with the same element when list got squashed.
- redo;
- }
- }
-
- # Add up all busy times.
- my $total = 0;
- for my $i (0..$#s_) {
- die if $e_[$i] < $s_[$i];
-
- $total = $total + ($e_[$i] - $s_[$i]);
- }
-
- $flat_busy{$ring} = $total;
-}
-
-# Calculate overall GPU idle time
-my @gpu_intervals;
-my (@s_, @e_);
-
-# Extract all GPU busy intervals and sort them.
-foreach my $key (@sorted_keys) {
- push @s_, $db{$key}->{'start'};
- push @e_, $db{$key}->{'end'};
- die if $db{$key}->{'start'} > $db{$key}->{'end'};
-}
-
-die unless $#s_ == $#e_;
-
-# Flatten the intervals (copy & paste of the flattening loop above)
-for my $i (1..$#s_) {
- last if $i >= @s_;
- die if $e_[$i] < $s_[$i];
- die if $s_[$i] < $s_[$i - 1];
- if ($s_[$i] <= $e_[$i - 1]) {
- if ($e_[$i] >= $e_[$i - 1]) {
- splice @e_, $i - 1, 1;
- } else {
- splice @e_, $i, 1;
- }
- splice @s_, $i, 1;
- redo;
- }
-}
-
-# Add up all busy times.
-my $total = 0;
-for my $i (0..$#s_) {
- die if $e_[$i] < $s_[$i];
-
- $total = $total + ($e_[$i] - $s_[$i]);
-}
-
-# Generate data for the GPU timeline if requested
-if ($gpu_timeline) {
- for my $i (0..$#s_) {
- push @gpu_intervals, [ $s_[$i], $e_[$i] ];
- }
-}
-
-$flat_busy{'gpu-busy'} = $total / ($last_ts - $first_ts) * 100.0;
-$flat_busy{'gpu-idle'} = (1.0 - $total / ($last_ts - $first_ts)) * 100.0;
-
-# Add up all request waits per engine
-my %reqw;
-foreach my $key (keys %reqwait) {
- $reqw{$reqwait{$key}->{'ring'}} += $reqwait{$key}->{'end'} - $reqwait{$key}->{'start'};
-}
-
-# Add up all request waits per virtual engine
-my %vreqw;
-foreach my $key (keys %reqwait) {
- $vreqw{$reqwait{$key}->{'ctx'}} += $reqwait{$key}->{'end'} - $reqwait{$key}->{'start'};
-}
-
-say sprintf('GPU: %.2f%% idle, %.2f%% busy',
- $flat_busy{'gpu-idle'}, $flat_busy{'gpu-busy'}) unless $html;
-
-my $timeline_text = $colour_contexts ?
- 'per context coloured shading like' : 'box shading like';
-
-my %ctx_colours;
-my $ctx_table;
-
-sub generate_ctx_table
-{
- my @states = ('queue', 'ready', 'execute', 'ctxsave', 'incomplete');
- my $max_show = 6;
- my (@ctxts, @disp_ctxts);
- my $step;
-
- if( $colour_contexts ) {
- @ctxts = sort keys %ctxdb;
- } else {
- @ctxts = ($min_ctx);
- }
-
- # Limit number of shown context examples
- $step = int(scalar(@ctxts) / $max_show);
- if ($step) {
- foreach my $i (0..$#ctxts) {
- push @disp_ctxts, $ctxts[$i] unless $i % $step;
- last if scalar(@disp_ctxts) == $max_show;
- }
- } else {
- @disp_ctxts = @ctxts;
- }
-
- $ctx_table .= '<table>';
-
- foreach my $ctx (@disp_ctxts) {
- $ctx_table .= "<tr>\n";
- $ctx_table .= " <td>Context $ctx</td>\n" if $colour_contexts;
- foreach my $state (@states) {
- $ctx_table .= " <td align='center' valign='middle'><div style='" . box_style($ctx, $state) . " padding-top: 6px; padding-bottom: 6px; padding-left: 6x; padding-right: 6px;'>" . uc($state) . "</div></td>\n";
- }
- $ctx_table .= "</tr>\n";
- }
-
- $ctx_table .= '</table>';
-}
-
-sub generate_ctx_colours
-{
- my $num_ctx = keys %ctxdb;
- my $i = 0;
-
- foreach my $ctx (sort keys %ctxdb) {
- $ctx_colours{$ctx} = int(360 / $num_ctx * $i++);
- }
-}
-
-
-generate_ctx_colours() if $html and $colour_contexts;
-generate_ctx_table() if $html;
-
-print <<ENDHTML if $html;
-<!DOCTYPE HTML>
-<html>
-<head>
- <title>i915 GT timeline</title>
-
- <style type="text/css">
- body, html {
- font-family: sans-serif;
- }
- </style>
-
- <script src="node_modules/vis/dist/vis.js"></script>
- <link href="node_modules/vis//dist/vis.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<p>
-<b>Timeline request view is $timeline_text:</b>
-<table>
-<tr>
-<td>
-$ctx_table
-</td>
-<td>
-QUEUE = requests executing on the GPU<br>
-READY = runnable requests waiting for a slot on GPU<br>
-EXECUTE = requests waiting on fences and dependencies before they are runnable<br>
-CTXSAVE = GPU saving the context image<br>
-INCOMPLETE = request of unknown completion time
-<p>
-Boxes are in format 'ctx-id/seqno'.
-</p>
-<p>
-Use Ctrl+scroll-action to zoom-in/out and scroll-action or dragging to move around the timeline.
-</p>
-<button onclick="toggleStacking()">Toggle overlap stacking</button>
-</td>
-</tr>
-</table>
-<p>
-<b>GPU idle: $flat_busy{'gpu-idle'}%</b>
-<br>
-<b>GPU busy: $flat_busy{'gpu-busy'}%</b>
-</p>
-<div id="visualization"></div>
-
-<script type="text/javascript">
- var container = document.getElementById('visualization');
-
- var groups = new vis.DataSet([
-ENDHTML
-
-# var groups = new vis.DataSet([
-# {id: 1, content: 'g0'},
-# {id: 2, content: 'g1'}
-# ]);
-
-sub html_stats
-{
- my ($stats, $group, $id) = @_;
- my $veng = exists $stats->{'virtual'} ? 1 : 0;
- my $name;
-
- $name = $veng ? 'Virtual' : 'Ring';
- $name .= $group;
- $name .= '<br><small><br>';
- unless ($veng) {
- $name .= sprintf('%.2f', $stats->{'idle'}) . '% idle<br><br>';
- $name .= sprintf('%.2f', $stats->{'busy'}) . '% busy<br>';
- }
- $name .= sprintf('%.2f', $stats->{'runnable'}) . '% runnable<br>';
- $name .= sprintf('%.2f', $stats->{'queued'}) . '% queued<br><br>';
- $name .= sprintf('%.2f', $stats->{'wait'}) . '% wait<br><br>';
- $name .= $stats->{'count'} . ' batches<br>';
- unless ($veng) {
- $name .= sprintf('%.2f', $stats->{'avg'}) . 'us avg batch<br>';
- $name .= sprintf('%.2f', $stats->{'total-avg'}) . 'us avg engine batch<br>';
- }
- $name .= '</small>';
-
- print "\t{id: $id, content: '$name'},\n";
-}
-
-sub stdio_stats
-{
- my ($stats, $group, $id) = @_;
- my $veng = exists $stats->{'virtual'} ? 1 : 0;
- my $str;
-
- $str = $veng ? 'Virtual' : 'Ring';
- $str .= $group . ': ';
- $str .= $stats->{'count'} . ' batches, ';
- unless ($veng) {
- $str .= sprintf('%.2f (%.2f) avg batch us, ',
- $stats->{'avg'}, $stats->{'total-avg'});
- $str .= sprintf('%.2f', $stats->{'idle'}) . '% idle, ';
- $str .= sprintf('%.2f', $stats->{'busy'}) . '% busy, ';
- }
-
- $str .= sprintf('%.2f', $stats->{'runnable'}) . '% runnable, ';
- $str .= sprintf('%.2f', $stats->{'queued'}) . '% queued, ';
- $str .= sprintf('%.2f', $stats->{'wait'}) . '% wait';
-
- if ($avg_delay_stats and not $veng) {
- $str .= ', submit/execute/save-avg=(';
- $str .= sprintf('%.2f/%.2f/%.2f)', $stats->{'submit'}, $stats->{'execute'}, $stats->{'save'});
- }
-
- say $str;
-}
-
-print "\t{id: 0, content: 'Freq'},\n" if $html;
-print "\t{id: 1, content: 'GPU'},\n" if $gpu_timeline;
-
-my $engine_start_id = $gpu_timeline ? 2 : 1;
-
-foreach my $group (sort keys %rings) {
- my $name;
- my $ring = $ringmap{$rings{$group}};
- my $id = $engine_start_id + $rings{$group};
- my $elapsed = $last_ts - $first_ts;
- my %stats;
-
- $stats{'idle'} = (1.0 - $flat_busy{$ring} / $elapsed) * 100.0;
- $stats{'busy'} = $running{$ring} / $elapsed * 100.0;
- if (exists $runnable{$ring}) {
- $stats{'runnable'} = $runnable{$ring} / $elapsed * 100.0;
- } else {
- $stats{'runnable'} = 0;
- }
- if (exists $queued{$ring}) {
- $stats{'queued'} = $queued{$ring} / $elapsed * 100.0;
- } else {
- $stats{'queued'} = 0;
- }
- $reqw{$ring} = 0 unless exists $reqw{$ring};
- $stats{'wait'} = $reqw{$ring} / $elapsed * 100.0;
- $stats{'count'} = $batch_count{$ring};
- $stats{'avg'} = $batch_avg{$ring};
- $stats{'total-avg'} = $batch_total_avg{$ring};
- $stats{'submit'} = $submit_avg{$ring};
- $stats{'execute'} = $execute_avg{$ring};
- $stats{'save'} = $ctxsave_avg{$ring};
-
- if ($html) {
- html_stats(\%stats, $group, $id);
- } else {
- stdio_stats(\%stats, $group, $id);
- }
-}
-
-sub sortVQueue {
- my $as = $vdb{$a}->{'queue'};
- my $bs = $vdb{$b}->{'queue'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-my @sorted_vkeys = sort sortVQueue keys %vdb;
-my (%vqueued, %vrunnable);
-
-foreach my $key (@sorted_vkeys) {
- my $ctx = $vdb{$key}->{'ctx'};
-
- $vdb{$key}->{'submit-delay'} = $vdb{$key}->{'submit'} - $vdb{$key}->{'queue'};
- $vdb{$key}->{'execute-delay'} = $vdb{$key}->{'start'} - $vdb{$key}->{'submit'};
-
- $vqueued{$ctx} += $vdb{$key}->{'submit-delay'};
- $vrunnable{$ctx} += $vdb{$key}->{'execute-delay'};
-}
-
-my $veng_id = $engine_start_id + scalar(keys %rings);
-
-foreach my $cid (sort keys %ctxmap) {
- my $ctx = $ctxmap{$cid};
- my $elapsed = $last_ts - $first_ts;
- my %stats;
-
- $stats{'virtual'} = 1;
- if (exists $vrunnable{$ctx}) {
- $stats{'runnable'} = $vrunnable{$ctx} / $elapsed * 100.0;
- } else {
- $stats{'runnable'} = 0;
- }
- if (exists $vqueued{$ctx}) {
- $stats{'queued'} = $vqueued{$ctx} / $elapsed * 100.0;
- } else {
- $stats{'queued'} = 0;
- }
- $vreqw{$ctx} = 0 unless exists $vreqw{$ctx};
- $stats{'wait'} = $vreqw{$ctx} / $elapsed * 100.0;
- $stats{'count'} = scalar(grep {$ctx == $vdb{$_}->{'ctx'}} keys %vdb);
-
- if ($html) {
- html_stats(\%stats, $cid, $veng_id++);
- } else {
- stdio_stats(\%stats, $cid, $veng_id++);
- }
-}
-
-exit 0 unless $html;
-
-print <<ENDHTML;
- ]);
-
- var items = new vis.DataSet([
-ENDHTML
-
-sub sortQueue {
- my $as = $db{$a}->{'queue'};
- my $bs = $db{$b}->{'queue'};
- my $val;
-
- $val = $as <=> $bs;
- $val = $a cmp $b if $val == 0;
-
- return $val;
-}
-
-sub ctx_colour
-{
- my ($ctx, $stage, $lfac) = (@_);
- my ($s, $l);
- my $val;
-
- unless ($colour_contexts) {
- if ($stage eq 'queue') {
- $val = 210;
- $s = 65;
- $l = 52;
- } elsif ($stage eq 'ready') {
- $val = 0;
- $s = 0;
- $l = 47;
- } elsif ($stage eq 'execute') {
- $val = 346;
- $s = 68;
- $l = 65;
- } elsif ($stage eq 'ctxsave') {
- $val = 26;
- $s = 90;
- $l = 52;
- } elsif ($stage eq 'incomplete') {
- $val = 0;
- $s = 85;
- $l = 50;
- }
- } else {
- if ($stage eq 'queue') {
- $s = 35;
- $l = 85;
- } elsif ($stage eq 'ready') {
- $s = 35;
- $l = 45;
- } elsif ($stage eq 'execute') {
- $s = 80;
- $l = 65;
- } elsif ($stage eq 'ctxsave') {
- $s = 75;
- $l = 70;
- } elsif ($stage eq 'incomplete') {
- $s = 80;
- $l = 25;
- }
-
- $val = $ctx_colours{$ctx};
- }
-
- $l = int($l * $lfac);
-
- return "hsl($val, $s%, $l%)";
-}
-
-sub box_style
-{
- my ($ctx, $stage) = @_;
- my $deg;
- my $text_col = 'white';
-
- if ($stage eq 'queue') {
- $deg = 90;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'ready') {
- $deg = 45;
- } elsif ($stage eq 'execute') {
- $deg = 0;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'ctxsave') {
- $deg = 105;
- $text_col = 'black' if $colour_contexts;
- } elsif ($stage eq 'incomplete') {
- $deg = 0;
- }
-
- return "color: $text_col; background: repeating-linear-gradient(" .
- $deg . 'deg, ' .
- ctx_colour($ctx, $stage, 1.0) . ', ' .
- ctx_colour($ctx, $stage, 1.0) . ' 10px, ' .
- ctx_colour($ctx, $stage, 0.90) . ' 10px, ' .
- ctx_colour($ctx, $stage, 0.90) . ' 20px);';
-}
-
-my $i = 0;
-my $req = 0;
-foreach my $key (sort sortQueue keys %db) {
- my ($name, $ctx, $seqno) = ($db{$key}->{'name'}, $db{$key}->{'ctx'}, $db{$key}->{'seqno'});
- my ($queue, $start, $notify, $end) = ($db{$key}->{'queue'}, $db{$key}->{'start'}, $db{$key}->{'notify'}, $db{$key}->{'end'});
- my $engine_start = $db{$key}->{'engine-start'};
- my $submit = $queue + $db{$key}->{'submit-delay'};
- my ($content, $style);
- my $group = $engine_start_id + $rings{$db{$key}->{'ring'}};
- my $subgroup = $ctx - $min_ctx;
- my $type = ' type: \'range\',';
- my $startend;
- my $skey;
-
- # submit to execute
- unless (exists $skip_box{'queue'} or exists $db{$key}->{'virtual'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno;
- $style = box_style($ctx, 'queue');
- $content = "$name<br>$db{$key}->{'submit-delay'}us <small>($db{$key}->{'execute-delay'}us)</small>";
- $startend = 'start: ' . $queue . ', end: ' . $submit;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # execute to start
- $engine_start = $db{$key}->{'start'} unless defined $engine_start;
- unless (exists $skip_box{'ready'} or exists $db{$key}->{'virtual'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno + 1;
- $style = box_style($ctx, 'ready');
- $content = "<small>$name<br>$db{$key}->{'execute-delay'}us</small>";
- $startend = 'start: ' . $submit . ', end: ' . $engine_start;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # start to user interrupt
- unless (exists $skip_box{'execute'}) {
- $skey = -2 * $max_seqno * $ctx - 2 * $seqno - 1;
- $style = box_style($ctx,
- exists $db{$key}->{'incomplete'} ?
- 'incomplete' : 'execute');
- $content = "$name <small>$db{$key}->{'port'}</small>";
- $content .= ' <small><i>???</i></small> ' if exists $db{$key}->{'incomplete'};
- $content .= ' <small><i>++</i></small> ' if exists $db{$key}->{'no-end'};
- $content .= ' <small><i>+</i></small> ' if exists $db{$key}->{'no-notify'};
- $content .= "<br>$db{$key}->{'duration'}us <small>($db{$key}->{'context-complete-delay'}us)</small>";
- $startend = 'start: ' . $start . ', end: ' . $notify;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # user interrupt to context complete
- unless (exists $skip_box{'ctxsave'} or exists $db{$key}->{'no-end'}) {
- $skey = -2 * $max_seqno * $ctx - 2 * $seqno;
- $style = box_style($ctx, 'ctxsave');
- my $ctxsave = $db{$key}->{'end'} - $db{$key}->{'notify'};
- $content = "<small>$name<br>${ctxsave}us</small>";
- $content .= ' <small><i>???</i></small> ' if exists $db{$key}->{'incomplete'};
- $content .= ' <small><i>++</i></small> ' if exists $db{$key}->{'no-end'};
- $content .= ' <small><i>+</i></small> ' if exists $db{$key}->{'no-notify'};
- $startend = 'start: ' . $notify . ', end: ' . $end;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- $last_ts = $end;
-
- last if ++$req > $max_requests;
-}
-
-push @freqs, [$prev_freq_ts, $last_ts, $prev_freq] if $prev_freq;
-
-foreach my $item (@freqs) {
- my ($start, $end, $freq) = @$item;
- my $startend;
-
- next if $start > $last_ts;
-
- $start = $first_ts if $start < $first_ts;
- $end = $last_ts if $end > $last_ts;
- $startend = 'start: ' . $start . ', end: ' . $end;
- print "\t{id: $i, type: 'range', group: 0, content: '$freq', $startend},\n";
- $i++;
-}
-
-if ($gpu_timeline) {
- foreach my $item (@gpu_intervals) {
- my ($start, $end) = @$item;
- my $startend;
-
- next if $start > $last_ts;
-
- $start = $first_ts if $start < $first_ts;
- $end = $last_ts if $end > $last_ts;
- $startend = 'start: ' . $start . ', end: ' . $end;
- print "\t{id: $i, type: 'range', group: 1, $startend},\n";
- $i++;
- }
-}
-
-$req = 0;
-$veng_id = $engine_start_id + scalar(keys %rings);
-foreach my $key (@sorted_vkeys) {
- my ($name, $ctx, $seqno) = ($vdb{$key}->{'name'}, $vdb{$key}->{'ctx'}, $vdb{$key}->{'seqno'});
- my $queue = $vdb{$key}->{'queue'};
- my $submit = $vdb{$key}->{'submit'};
- my $engine_start = $db{$key}->{'engine-start'};
- my ($content, $style, $startend, $skey);
- my $group = $veng_id + $cids{$ctx};
- my $subgroup = $ctx - $min_ctx;
- my $type = ' type: \'range\',';
- my $duration;
-
- # submit to execute
- unless (exists $skip_box{'queue'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno;
- $style = box_style($ctx, 'queue');
- $content = "$name<br>$vdb{$key}->{'submit-delay'}us <small>($vdb{$key}->{'execute-delay'}us)</small>";
- $startend = 'start: ' . $queue . ', end: ' . $submit;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- # execute to start
- $engine_start = $vdb{$key}->{'start'} unless defined $engine_start;
- unless (exists $skip_box{'ready'}) {
- $skey = 2 * $max_seqno * $ctx + 2 * $seqno + 1;
- $style = box_style($ctx, 'ready');
- $content = "<small>$name<br>$vdb{$key}->{'execute-delay'}us</small>";
- $startend = 'start: ' . $submit . ', end: ' . $engine_start;
- print "\t{id: $i, key: $skey, $type group: $group, subgroup: $subgroup, subgroupOrder: $subgroup, content: '$content', $startend, style: \'$style\'},\n";
- $i++;
- }
-
- last if ++$req > $max_requests;
-}
-
-my $end_ts = $first_ts + $width_us;
-$first_ts = $first_ts;
-
-print <<ENDHTML;
- ]);
-
- function majorAxis(date, scale, step) {
- var s = date / 1000000;
- var precision;
-
- if (scale == 'millisecond')
- precision = 6;
- else if (scale == 'second')
- precision = 3;
- else
- precision = 0;
-
- return s.toFixed(precision) + "s";
- }
-
- function minorAxis(date, scale, step) {
- var t = date;
- var precision;
- var unit;
-
- if (scale == 'millisecond') {
- t %= 1000;
- precision = 0;
- unit = 'us';
- } else if (scale == 'second') {
- t /= 1000;
- t %= 1000;
- precision = 0;
- unit = 'ms';
- } else {
- t /= 1000000;
- precision = 1;
- unit = 's';
- }
-
- return t.toFixed(precision) + unit;
- }
-
- // Configuration for the Timeline
- var options = { groupOrder: 'content',
- horizontalScroll: true,
- stack: false,
- stackSubgroups: false,
- zoomKey: 'ctrlKey',
- orientation: 'top',
- format: { majorLabels: majorAxis, minorLabels: minorAxis },
- start: $first_ts,
- end: $end_ts};
-
- // Create a Timeline
- var timeline = new vis.Timeline(container, items, groups, options);
-
- function toggleStacking() {
- options.stack = !options.stack;
- options.stackSubgroups = !options.stackSubgroups;
- timeline.setOptions(options);
- }
-ENDHTML
-
-print <<ENDHTML;
-</script>
-</body>
-</html>
-ENDHTML
--
2.27.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for scripts/trace.pl: Remove the tool
2021-03-22 14:11 ` [igt-dev] " Tvrtko Ursulin
(?)
@ 2021-03-22 15:01 ` Patchwork
-1 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2021-03-22 15:01 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 10502 bytes --]
== Series Details ==
Series: scripts/trace.pl: Remove the tool
URL : https://patchwork.freedesktop.org/series/88282/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9880 -> IGTPW_5635
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/index.html
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_5635:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@gem_exec_fence@nb-await@vcs0:
- {fi-rkl-11500t}: NOTRUN -> [FAIL][1] +38 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-rkl-11500t/igt@gem_exec_fence@nb-await@vcs0.html
* igt@prime_vgem@basic-read:
- {fi-rkl-11500t}: NOTRUN -> [SKIP][2] +3 similar issues
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-rkl-11500t/igt@prime_vgem@basic-read.html
Known issues
------------
Here are the changes found in IGTPW_5635 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@amdgpu/amd_basic@query-info:
- fi-tgl-y: NOTRUN -> [SKIP][3] ([fdo#109315])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@amdgpu/amd_basic@query-info.html
* igt@amdgpu/amd_basic@semaphore:
- fi-icl-y: NOTRUN -> [SKIP][4] ([fdo#109315]) +17 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@amdgpu/amd_basic@semaphore.html
* igt@amdgpu/amd_cs_nop@fork-gfx0:
- fi-tgl-y: NOTRUN -> [SKIP][5] ([fdo#109315] / [i915#2575]) +16 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@amdgpu/amd_cs_nop@fork-gfx0.html
* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][6] ([fdo#109271]) +17 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-snb-2600/igt@amdgpu/amd_cs_nop@sync-fork-compute0.html
* igt@gem_exec_gttfill@basic:
- fi-kbl-8809g: [PASS][7] -> [TIMEOUT][8] ([i915#3145])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-kbl-8809g/igt@gem_exec_gttfill@basic.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-kbl-8809g/igt@gem_exec_gttfill@basic.html
* igt@gem_huc_copy@huc-copy:
- fi-glk-dsi: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#2190])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@gem_huc_copy@huc-copy.html
- fi-tgl-y: NOTRUN -> [SKIP][10] ([i915#2190])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@gem_huc_copy@huc-copy.html
- fi-icl-y: NOTRUN -> [SKIP][11] ([i915#2190])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@gem_huc_copy@huc-copy.html
* igt@i915_pm_rpm@basic-pci-d3-state:
- fi-glk-dsi: NOTRUN -> [DMESG-WARN][12] ([i915#3143]) +27 similar issues
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@i915_pm_rpm@basic-pci-d3-state.html
* igt@i915_selftest@live@client:
- fi-glk-dsi: NOTRUN -> [DMESG-FAIL][13] ([i915#3047])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@i915_selftest@live@client.html
* igt@i915_selftest@live@gt_lrc:
- fi-tgl-y: NOTRUN -> [DMESG-FAIL][14] ([i915#2373])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@i915_selftest@live@gt_lrc.html
* igt@i915_selftest@live@gt_pm:
- fi-tgl-y: NOTRUN -> [DMESG-FAIL][15] ([i915#1759])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@i915_selftest@live@gt_pm.html
* igt@kms_chamelium@dp-crc-fast:
- fi-kbl-7500u: [PASS][16] -> [FAIL][17] ([i915#1372])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-kbl-7500u/igt@kms_chamelium@dp-crc-fast.html
- fi-icl-y: NOTRUN -> [SKIP][18] ([fdo#109284] / [fdo#111827]) +8 similar issues
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@kms_chamelium@dp-crc-fast.html
* igt@kms_chamelium@hdmi-hpd-fast:
- fi-glk-dsi: NOTRUN -> [SKIP][19] ([fdo#109271] / [fdo#111827]) +8 similar issues
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@kms_chamelium@hdmi-hpd-fast.html
* igt@kms_chamelium@vga-edid-read:
- fi-tgl-y: NOTRUN -> [SKIP][20] ([fdo#111827]) +8 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@kms_chamelium@vga-edid-read.html
* igt@kms_force_connector_basic@force-load-detect:
- fi-icl-y: NOTRUN -> [SKIP][21] ([fdo#109285])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@kms_force_connector_basic@force-load-detect.html
- fi-tgl-y: NOTRUN -> [SKIP][22] ([fdo#109285])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@kms_force_connector_basic@force-load-detect.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d:
- fi-glk-dsi: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#533])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
- fi-icl-y: NOTRUN -> [SKIP][24] ([fdo#109278])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-d.html
* igt@kms_psr@primary_mmap_gtt:
- fi-icl-y: NOTRUN -> [SKIP][25] ([fdo#110189]) +3 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-icl-y/igt@kms_psr@primary_mmap_gtt.html
* igt@kms_psr@primary_page_flip:
- fi-glk-dsi: NOTRUN -> [SKIP][26] ([fdo#109271]) +27 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-glk-dsi/igt@kms_psr@primary_page_flip.html
* igt@prime_self_import@basic-with_one_bo:
- fi-tgl-y: NOTRUN -> [DMESG-WARN][27] ([i915#402])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-y/igt@prime_self_import@basic-with_one_bo.html
#### Possible fixes ####
* igt@gem_linear_blits@basic:
- fi-kbl-8809g: [TIMEOUT][28] ([i915#2502] / [i915#3145]) -> [PASS][29] +1 similar issue
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-kbl-8809g/igt@gem_linear_blits@basic.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-kbl-8809g/igt@gem_linear_blits@basic.html
* igt@i915_selftest@live@execlists:
- fi-cfl-8109u: [DMESG-WARN][30] -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-cfl-8109u/igt@i915_selftest@live@execlists.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-cfl-8109u/igt@i915_selftest@live@execlists.html
* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][32] ([i915#2782]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-snb-2600/igt@i915_selftest@live@hangcheck.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-snb-2600/igt@i915_selftest@live@hangcheck.html
* igt@i915_selftest@live@late_gt_pm:
- fi-cfl-8109u: [DMESG-WARN][34] ([i915#203]) -> [PASS][35] +2 similar issues
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-cfl-8109u/igt@i915_selftest@live@late_gt_pm.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-cfl-8109u/igt@i915_selftest@live@late_gt_pm.html
* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- {fi-tgl-dsi}: [DMESG-WARN][36] ([i915#402]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/fi-tgl-dsi/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/fi-tgl-dsi/igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109278]: https://bugs.freedesktop.org/show_bug.cgi?id=109278
[fdo#109284]: https://bugs.freedesktop.org/show_bug.cgi?id=109284
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1372]: https://gitlab.freedesktop.org/drm/intel/issues/1372
[i915#1759]: https://gitlab.freedesktop.org/drm/intel/issues/1759
[i915#203]: https://gitlab.freedesktop.org/drm/intel/issues/203
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#2373]: https://gitlab.freedesktop.org/drm/intel/issues/2373
[i915#2502]: https://gitlab.freedesktop.org/drm/intel/issues/2502
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2782]: https://gitlab.freedesktop.org/drm/intel/issues/2782
[i915#3012]: https://gitlab.freedesktop.org/drm/intel/issues/3012
[i915#3047]: https://gitlab.freedesktop.org/drm/intel/issues/3047
[i915#3143]: https://gitlab.freedesktop.org/drm/intel/issues/3143
[i915#3145]: https://gitlab.freedesktop.org/drm/intel/issues/3145
[i915#402]: https://gitlab.freedesktop.org/drm/intel/issues/402
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
Participating hosts (42 -> 42)
------------------------------
Additional (4): fi-icl-y fi-rkl-11500t fi-glk-dsi fi-tgl-y
Missing (4): fi-ilk-m540 fi-dg1-1 fi-bsw-cyan fi-bdw-samus
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_6040 -> IGTPW_5635
CI-20190529: 20190529
CI_DRM_9880: ec7a4e63b83999b055ba61da41bdd0ce656485d4 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_5635: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/index.html
IGT_6040: 69b578b6ab0a36750f0d23c223a3487fc88fb6a7 @ git://anongit.freedesktop.org/xorg/app/intel-gpu-tools
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/index.html
[-- Attachment #1.2: Type: text/html, Size: 12573 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for scripts/trace.pl: Remove the tool
2021-03-22 14:11 ` [igt-dev] " Tvrtko Ursulin
(?)
(?)
@ 2021-03-23 16:08 ` Patchwork
-1 siblings, 0 replies; 6+ messages in thread
From: Patchwork @ 2021-03-23 16:08 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev
[-- Attachment #1.1: Type: text/plain, Size: 30250 bytes --]
== Series Details ==
Series: scripts/trace.pl: Remove the tool
URL : https://patchwork.freedesktop.org/series/88282/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_9880_full -> IGTPW_5635_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/index.html
Known issues
------------
Here are the changes found in IGTPW_5635_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_create@create-clear:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#3160])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk9/igt@gem_create@create-clear.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk8/igt@gem_create@create-clear.html
* igt@gem_create@create-massive:
- shard-snb: NOTRUN -> [DMESG-WARN][3] ([i915#3002])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-snb2/igt@gem_create@create-massive.html
* igt@gem_ctx_persistence@smoketest:
- shard-snb: NOTRUN -> [SKIP][4] ([fdo#109271] / [i915#1099]) +2 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-snb2/igt@gem_ctx_persistence@smoketest.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-tglb: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb1/igt@gem_exec_fair@basic-pace-share@rcs0.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb1/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][7] -> [FAIL][8] ([i915#2842])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb5/igt@gem_exec_fair@basic-throttle@rcs0.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb3/igt@gem_exec_fair@basic-throttle@rcs0.html
* igt@gem_exec_params@rsvd2-dirt:
- shard-tglb: NOTRUN -> [SKIP][9] ([fdo#109283])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@gem_exec_params@rsvd2-dirt.html
- shard-iclb: NOTRUN -> [SKIP][10] ([fdo#109283])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb4/igt@gem_exec_params@rsvd2-dirt.html
* igt@gem_exec_reloc@basic-many-active@rcs0:
- shard-tglb: NOTRUN -> [FAIL][11] ([i915#2389]) +4 similar issues
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb3/igt@gem_exec_reloc@basic-many-active@rcs0.html
- shard-glk: NOTRUN -> [FAIL][12] ([i915#2389])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk8/igt@gem_exec_reloc@basic-many-active@rcs0.html
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2389]) +4 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb1/igt@gem_exec_reloc@basic-many-active@rcs0.html
* igt@gem_exec_reloc@basic-many-active@vcs0:
- shard-kbl: NOTRUN -> [FAIL][14] ([i915#2389]) +4 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl1/igt@gem_exec_reloc@basic-many-active@vcs0.html
* igt@gem_exec_reloc@basic-parallel:
- shard-kbl: NOTRUN -> [TIMEOUT][15] ([i915#3183])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl4/igt@gem_exec_reloc@basic-parallel.html
- shard-apl: NOTRUN -> [TIMEOUT][16] ([i915#3183])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl3/igt@gem_exec_reloc@basic-parallel.html
* igt@gem_exec_schedule@u-fairslice@vcs0:
- shard-tglb: [PASS][17] -> [DMESG-WARN][18] ([i915#2803])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb3/igt@gem_exec_schedule@u-fairslice@vcs0.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb8/igt@gem_exec_schedule@u-fairslice@vcs0.html
* igt@gem_exec_suspend@basic-s3:
- shard-kbl: [PASS][19] -> [DMESG-WARN][20] ([i915#180])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl3/igt@gem_exec_suspend@basic-s3.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@gem_exec_suspend@basic-s3.html
* igt@gem_render_copy@x-tiled-to-vebox-yf-tiled:
- shard-kbl: NOTRUN -> [SKIP][21] ([fdo#109271]) +172 similar issues
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl4/igt@gem_render_copy@x-tiled-to-vebox-yf-tiled.html
* igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled:
- shard-iclb: NOTRUN -> [SKIP][22] ([i915#768])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb1/igt@gem_render_copy@y-tiled-mc-ccs-to-vebox-y-tiled.html
* igt@gem_userptr_blits@input-checking:
- shard-apl: NOTRUN -> [DMESG-WARN][23] ([i915#3002])
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl2/igt@gem_userptr_blits@input-checking.html
* igt@gem_userptr_blits@mmap-offset-invalidate-active@gtt:
- shard-iclb: NOTRUN -> [SKIP][24] ([i915#1317]) +3 similar issues
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@gem_userptr_blits@mmap-offset-invalidate-active@gtt.html
* igt@gem_userptr_blits@mmap-offset-invalidate-active@wb:
- shard-snb: NOTRUN -> [SKIP][25] ([fdo#109271]) +343 similar issues
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-snb7/igt@gem_userptr_blits@mmap-offset-invalidate-active@wb.html
* igt@gem_userptr_blits@mmap-offset-invalidate-active@wc:
- shard-tglb: NOTRUN -> [SKIP][26] ([i915#1317]) +3 similar issues
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@gem_userptr_blits@mmap-offset-invalidate-active@wc.html
* igt@gem_vm_create@destroy-race:
- shard-tglb: [PASS][27] -> [FAIL][28] ([i915#2822])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb7/igt@gem_vm_create@destroy-race.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb7/igt@gem_vm_create@destroy-race.html
* igt@gen7_exec_parse@basic-offset:
- shard-apl: NOTRUN -> [SKIP][29] ([fdo#109271]) +243 similar issues
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl8/igt@gen7_exec_parse@basic-offset.html
* igt@gen9_exec_parse@batch-zero-length:
- shard-iclb: NOTRUN -> [SKIP][30] ([fdo#112306])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@gen9_exec_parse@batch-zero-length.html
- shard-tglb: NOTRUN -> [SKIP][31] ([fdo#112306])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb8/igt@gen9_exec_parse@batch-zero-length.html
* igt@i915_pm_lpsp@screens-disabled:
- shard-tglb: NOTRUN -> [SKIP][32] ([i915#1902])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@i915_pm_lpsp@screens-disabled.html
* igt@i915_suspend@forcewake:
- shard-apl: [PASS][33] -> [DMESG-WARN][34] ([i915#180])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-apl8/igt@i915_suspend@forcewake.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl3/igt@i915_suspend@forcewake.html
* igt@kms_async_flips@test-time-stamp:
- shard-tglb: [PASS][35] -> [FAIL][36] ([i915#2574])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb1/igt@kms_async_flips@test-time-stamp.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb1/igt@kms_async_flips@test-time-stamp.html
* igt@kms_big_fb@linear-8bpp-rotate-90:
- shard-glk: NOTRUN -> [SKIP][37] ([fdo#109271]) +22 similar issues
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk5/igt@kms_big_fb@linear-8bpp-rotate-90.html
- shard-tglb: NOTRUN -> [SKIP][38] ([fdo#111614])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb5/igt@kms_big_fb@linear-8bpp-rotate-90.html
- shard-iclb: NOTRUN -> [SKIP][39] ([fdo#110725] / [fdo#111614])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb2/igt@kms_big_fb@linear-8bpp-rotate-90.html
* igt@kms_big_joiner@basic:
- shard-apl: NOTRUN -> [SKIP][40] ([fdo#109271] / [i915#2705])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl3/igt@kms_big_joiner@basic.html
* igt@kms_big_joiner@invalid-modeset:
- shard-kbl: NOTRUN -> [SKIP][41] ([fdo#109271] / [i915#2705])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl2/igt@kms_big_joiner@invalid-modeset.html
* igt@kms_chamelium@dp-mode-timings:
- shard-apl: NOTRUN -> [SKIP][42] ([fdo#109271] / [fdo#111827]) +31 similar issues
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl6/igt@kms_chamelium@dp-mode-timings.html
* igt@kms_chamelium@hdmi-mode-timings:
- shard-iclb: NOTRUN -> [SKIP][43] ([fdo#109284] / [fdo#111827]) +3 similar issues
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@kms_chamelium@hdmi-mode-timings.html
* igt@kms_color_chamelium@pipe-a-ctm-green-to-red:
- shard-glk: NOTRUN -> [SKIP][44] ([fdo#109271] / [fdo#111827]) +3 similar issues
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk4/igt@kms_color_chamelium@pipe-a-ctm-green-to-red.html
* igt@kms_color_chamelium@pipe-a-degamma:
- shard-kbl: NOTRUN -> [SKIP][45] ([fdo#109271] / [fdo#111827]) +19 similar issues
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@kms_color_chamelium@pipe-a-degamma.html
* igt@kms_color_chamelium@pipe-d-ctm-limited-range:
- shard-tglb: NOTRUN -> [SKIP][46] ([fdo#109284] / [fdo#111827]) +5 similar issues
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@kms_color_chamelium@pipe-d-ctm-limited-range.html
* igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes:
- shard-snb: NOTRUN -> [SKIP][47] ([fdo#109271] / [fdo#111827]) +20 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-snb5/igt@kms_color_chamelium@pipe-invalid-ctm-matrix-sizes.html
* igt@kms_content_protection@srm:
- shard-kbl: NOTRUN -> [TIMEOUT][48] ([i915#1319])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl2/igt@kms_content_protection@srm.html
- shard-apl: NOTRUN -> [TIMEOUT][49] ([i915#1319])
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl2/igt@kms_content_protection@srm.html
* igt@kms_content_protection@uevent:
- shard-tglb: NOTRUN -> [SKIP][50] ([fdo#111828])
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb2/igt@kms_content_protection@uevent.html
* igt@kms_cursor_crc@pipe-a-cursor-suspend:
- shard-apl: NOTRUN -> [DMESG-WARN][51] ([i915#180])
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl6/igt@kms_cursor_crc@pipe-a-cursor-suspend.html
* igt@kms_cursor_crc@pipe-b-cursor-512x512-sliding:
- shard-iclb: NOTRUN -> [SKIP][52] ([fdo#109278] / [fdo#109279])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb3/igt@kms_cursor_crc@pipe-b-cursor-512x512-sliding.html
* igt@kms_cursor_crc@pipe-c-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][53] ([i915#180])
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@kms_cursor_crc@pipe-c-cursor-suspend.html
* igt@kms_cursor_crc@pipe-d-cursor-512x512-onscreen:
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#109279]) +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@kms_cursor_crc@pipe-d-cursor-512x512-onscreen.html
* igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-atomic:
- shard-apl: NOTRUN -> [DMESG-FAIL][55] ([IGT#6])
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-busy-crc-atomic.html
* igt@kms_cursor_legacy@pipe-d-single-bo:
- shard-kbl: NOTRUN -> [SKIP][56] ([fdo#109271] / [i915#533]) +2 similar issues
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl6/igt@kms_cursor_legacy@pipe-d-single-bo.html
* igt@kms_flip@2x-blocking-wf_vblank:
- shard-iclb: NOTRUN -> [SKIP][57] ([fdo#109274])
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb5/igt@kms_flip@2x-blocking-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-tglb: [PASS][58] -> [FAIL][59] ([i915#2598])
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb5/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb7/igt@kms_flip@flip-vs-expired-vblank@a-edp1.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs:
- shard-apl: NOTRUN -> [SKIP][60] ([fdo#109271] / [i915#2672]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl6/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile:
- shard-glk: NOTRUN -> [SKIP][61] ([fdo#109271] / [i915#2642])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile.html
- shard-kbl: NOTRUN -> [SKIP][62] ([fdo#109271] / [i915#2642])
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile.html
* igt@kms_frontbuffer_tracking@fbc-2p-pri-indfb-multidraw:
- shard-glk: [PASS][63] -> [DMESG-FAIL][64] ([i915#118] / [i915#95])
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk2/igt@kms_frontbuffer_tracking@fbc-2p-pri-indfb-multidraw.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk6/igt@kms_frontbuffer_tracking@fbc-2p-pri-indfb-multidraw.html
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt:
- shard-tglb: NOTRUN -> [SKIP][65] ([fdo#111825]) +10 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb7/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-indfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-pwrite:
- shard-iclb: NOTRUN -> [SKIP][66] ([fdo#109280]) +6 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-cur-indfb-draw-pwrite.html
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-tglb: NOTRUN -> [SKIP][67] ([i915#1839])
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb2/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html
* igt@kms_pipe_crc_basic@disable-crc-after-crtc-pipe-d:
- shard-apl: NOTRUN -> [SKIP][68] ([fdo#109271] / [i915#533]) +1 similar issue
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl3/igt@kms_pipe_crc_basic@disable-crc-after-crtc-pipe-d.html
* igt@kms_plane@plane-position-hole-dpms-pipe-a-planes:
- shard-kbl: [PASS][69] -> [FAIL][70] ([i915#2472])
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl4/igt@kms_plane@plane-position-hole-dpms-pipe-a-planes.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@kms_plane@plane-position-hole-dpms-pipe-a-planes.html
* igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb:
- shard-apl: NOTRUN -> [FAIL][71] ([fdo#108145] / [i915#265]) +1 similar issue
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl2/igt@kms_plane_alpha_blend@pipe-b-alpha-opaque-fb.html
* igt@kms_plane_alpha_blend@pipe-c-alpha-7efc:
- shard-kbl: NOTRUN -> [FAIL][72] ([fdo#108145] / [i915#265]) +3 similar issues
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl6/igt@kms_plane_alpha_blend@pipe-c-alpha-7efc.html
* igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb:
- shard-apl: NOTRUN -> [FAIL][73] ([i915#265])
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl1/igt@kms_plane_alpha_blend@pipe-c-alpha-transparent-fb.html
* igt@kms_plane_alpha_blend@pipe-d-constant-alpha-max:
- shard-iclb: NOTRUN -> [SKIP][74] ([fdo#109278]) +3 similar issues
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb2/igt@kms_plane_alpha_blend@pipe-d-constant-alpha-max.html
* igt@kms_plane_multiple@atomic-pipe-b-tiling-yf:
- shard-tglb: NOTRUN -> [SKIP][75] ([fdo#111615]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb5/igt@kms_plane_multiple@atomic-pipe-b-tiling-yf.html
* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][76] ([fdo#109271] / [i915#2733])
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl8/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
- shard-kbl: NOTRUN -> [SKIP][77] ([fdo#109271] / [i915#2733])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1:
- shard-iclb: NOTRUN -> [SKIP][78] ([i915#658])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb4/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1.html
- shard-glk: NOTRUN -> [SKIP][79] ([fdo#109271] / [i915#658]) +1 similar issue
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk7/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-1.html
* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3:
- shard-kbl: NOTRUN -> [SKIP][80] ([fdo#109271] / [i915#658]) +3 similar issues
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area-3.html
* igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5:
- shard-apl: NOTRUN -> [SKIP][81] ([fdo#109271] / [i915#658]) +4 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl7/igt@kms_psr2_sf@overlay-primary-update-sf-dmg-area-5.html
* igt@kms_psr2_sf@plane-move-sf-dmg-area-3:
- shard-iclb: NOTRUN -> [SKIP][82] ([i915#2920])
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb2/igt@kms_psr2_sf@plane-move-sf-dmg-area-3.html
* igt@kms_psr@psr2_cursor_plane_move:
- shard-iclb: NOTRUN -> [SKIP][83] ([fdo#109441])
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb8/igt@kms_psr@psr2_cursor_plane_move.html
* igt@kms_psr@psr2_sprite_plane_move:
- shard-iclb: [PASS][84] -> [SKIP][85] ([fdo#109441]) +5 similar issues
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb2/igt@kms_psr@psr2_sprite_plane_move.html
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb7/igt@kms_psr@psr2_sprite_plane_move.html
* igt@kms_sysfs_edid_timing:
- shard-apl: NOTRUN -> [FAIL][86] ([IGT#2])
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl1/igt@kms_sysfs_edid_timing.html
- shard-kbl: NOTRUN -> [FAIL][87] ([IGT#2])
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@kms_sysfs_edid_timing.html
* igt@kms_vblank@pipe-a-ts-continuation-suspend:
- shard-kbl: [PASS][88] -> [DMESG-WARN][89] ([i915#180] / [i915#295])
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl6/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@kms_vblank@pipe-a-ts-continuation-suspend.html
* igt@kms_writeback@writeback-check-output:
- shard-apl: NOTRUN -> [SKIP][90] ([fdo#109271] / [i915#2437]) +2 similar issues
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl2/igt@kms_writeback@writeback-check-output.html
- shard-iclb: NOTRUN -> [SKIP][91] ([i915#2437])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@kms_writeback@writeback-check-output.html
- shard-tglb: NOTRUN -> [SKIP][92] ([i915#2437])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb6/igt@kms_writeback@writeback-check-output.html
- shard-glk: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#2437])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk3/igt@kms_writeback@writeback-check-output.html
* igt@kms_writeback@writeback-fb-id:
- shard-kbl: NOTRUN -> [SKIP][94] ([fdo#109271] / [i915#2437]) +2 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl4/igt@kms_writeback@writeback-fb-id.html
* igt@sysfs_clients@recycle:
- shard-tglb: [PASS][95] -> [FAIL][96] ([i915#3028])
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb7/igt@sysfs_clients@recycle.html
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb5/igt@sysfs_clients@recycle.html
* igt@sysfs_clients@sema-10@vcs0:
- shard-apl: NOTRUN -> [SKIP][97] ([fdo#109271] / [i915#3026]) +2 similar issues
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl6/igt@sysfs_clients@sema-10@vcs0.html
* igt@sysfs_clients@split-10@bcs0:
- shard-glk: [PASS][98] -> [SKIP][99] ([fdo#109271] / [i915#3026])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk4/igt@sysfs_clients@split-10@bcs0.html
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk8/igt@sysfs_clients@split-10@bcs0.html
- shard-kbl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#3026])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@sysfs_clients@split-10@bcs0.html
#### Possible fixes ####
* igt@gem_eio@unwedge-stress:
- shard-tglb: [TIMEOUT][101] ([i915#2369] / [i915#3063]) -> [PASS][102]
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb3/igt@gem_eio@unwedge-stress.html
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb5/igt@gem_eio@unwedge-stress.html
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-tglb: [FAIL][103] ([i915#2842]) -> [PASS][104]
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-tglb7/igt@gem_exec_fair@basic-none-share@rcs0.html
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-tglb7/igt@gem_exec_fair@basic-none-share@rcs0.html
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][105] ([i915#2842]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk6/igt@gem_exec_fair@basic-none-vip@rcs0.html
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk5/igt@gem_exec_fair@basic-none-vip@rcs0.html
* igt@gem_exec_fair@basic-none@vcs0:
- shard-kbl: [FAIL][107] ([i915#2842]) -> [PASS][108] +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl2/igt@gem_exec_fair@basic-none@vcs0.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@gem_exec_fair@basic-none@vcs0.html
* igt@gem_exec_gttfill@all:
- shard-glk: [DMESG-WARN][109] ([i915#118] / [i915#95]) -> [PASS][110] +1 similar issue
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk4/igt@gem_exec_gttfill@all.html
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk4/igt@gem_exec_gttfill@all.html
* igt@kms_flip@flip-vs-suspend-interruptible@a-dp1:
- shard-kbl: [DMESG-WARN][111] ([i915#180]) -> [PASS][112] +4 similar issues
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl7/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl2/igt@kms_flip@flip-vs-suspend-interruptible@a-dp1.html
* igt@kms_flip@modeset-vs-vblank-race@b-hdmi-a2:
- shard-glk: [FAIL][113] ([i915#407]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk2/igt@kms_flip@modeset-vs-vblank-race@b-hdmi-a2.html
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk2/igt@kms_flip@modeset-vs-vblank-race@b-hdmi-a2.html
* igt@kms_psr@psr2_sprite_mmap_gtt:
- shard-iclb: [SKIP][115] ([fdo#109441]) -> [PASS][116] +1 similar issue
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb5/igt@kms_psr@psr2_sprite_mmap_gtt.html
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb2/igt@kms_psr@psr2_sprite_mmap_gtt.html
* igt@sysfs_clients@recycle-many:
- shard-iclb: [FAIL][117] ([i915#3028]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb7/igt@sysfs_clients@recycle-many.html
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@sysfs_clients@recycle-many.html
- shard-glk: [FAIL][119] ([i915#3028]) -> [PASS][120]
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-glk9/igt@sysfs_clients@recycle-many.html
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-glk3/igt@sysfs_clients@recycle-many.html
#### Warnings ####
* igt@i915_pm_rc6_residency@rc6-fence:
- shard-iclb: [WARN][121] ([i915#2684]) -> [WARN][122] ([i915#1804] / [i915#2684])
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb2/igt@i915_pm_rc6_residency@rc6-fence.html
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb3/igt@i915_pm_rc6_residency@rc6-fence.html
* igt@kms_psr2_sf@cursor-plane-update-sf:
- shard-iclb: [SKIP][123] ([i915#2920]) -> [SKIP][124] ([i915#658])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb2/igt@kms_psr2_sf@cursor-plane-update-sf.html
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@kms_psr2_sf@cursor-plane-update-sf.html
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4:
- shard-iclb: [SKIP][125] ([i915#658]) -> [SKIP][126] ([i915#2920]) +1 similar issue
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb5/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4.html
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb2/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-4.html
* igt@runner@aborted:
- shard-kbl: ([FAIL][127], [FAIL][128], [FAIL][129], [FAIL][130], [FAIL][131], [FAIL][132], [FAIL][133], [FAIL][134], [FAIL][135], [FAIL][136]) ([i915#180] / [i915#1814] / [i915#2292] / [i915#3002]) -> ([FAIL][137], [FAIL][138], [FAIL][139], [FAIL][140], [FAIL][141], [FAIL][142], [FAIL][143]) ([i915#1436] / [i915#180] / [i915#1814] / [i915#3002] / [i915#602])
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl3/igt@runner@aborted.html
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl7/igt@runner@aborted.html
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl7/igt@runner@aborted.html
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl3/igt@runner@aborted.html
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl1/igt@runner@aborted.html
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl1/igt@runner@aborted.html
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl1/igt@runner@aborted.html
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl4/igt@runner@aborted.html
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl1/igt@runner@aborted.html
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-kbl3/igt@runner@aborted.html
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl1/igt@runner@aborted.html
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@runner@aborted.html
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@runner@aborted.html
[140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl3/igt@runner@aborted.html
[141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl1/igt@runner@aborted.html
[142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@runner@aborted.html
[143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-kbl7/igt@runner@aborted.html
- shard-iclb: ([FAIL][144], [FAIL][145], [FAIL][146]) ([i915#2724] / [i915#3002]) -> ([FAIL][147], [FAIL][148]) ([i915#3002])
[144]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb5/igt@runner@aborted.html
[145]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb1/igt@runner@aborted.html
[146]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-iclb8/igt@runner@aborted.html
[147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb3/igt@runner@aborted.html
[148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-iclb6/igt@runner@aborted.html
- shard-apl: ([FAIL][149], [FAIL][150], [FAIL][151]) ([i915#180] / [i915#3002]) -> ([FAIL][152], [FAIL][153], [FAIL][154], [FAIL][155]) ([i915#180] / [i915#1814] / [i915#3002])
[149]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-apl6/igt@runner@aborted.html
[150]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-apl3/igt@runner@aborted.html
[151]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_9880/shard-apl1/igt@runner@aborted.html
[152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/shard-apl1/igt@runner@aborted.html
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_5635/index.html
[-- Attachment #1.2: Type: text/html, Size: 34058 bytes --]
[-- Attachment #2: Type: text/plain, Size: 154 bytes --]
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Intel-gfx] [igt-dev] [PATCH i-g-t] scripts/trace.pl: Remove the tool
2021-03-22 14:11 ` [igt-dev] " Tvrtko Ursulin
@ 2021-04-01 13:27 ` Matthew Auld
-1 siblings, 0 replies; 6+ messages in thread
From: Matthew Auld @ 2021-04-01 13:27 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev, Intel Graphics Development
On Mon, 22 Mar 2021 at 14:12, Tvrtko Ursulin
<tvrtko.ursulin@linux.intel.com> wrote:
>
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Tool has been broken for a while after changes to tracepoint format an
format and?
> behaviour. Although I have patches somewhere to mostly fix it, it seems
> that it has outlived its usefulness and could be deleted just as well.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Matthew Auld <matthew.auld@intel.com>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] scripts/trace.pl: Remove the tool
@ 2021-04-01 13:27 ` Matthew Auld
0 siblings, 0 replies; 6+ messages in thread
From: Matthew Auld @ 2021-04-01 13:27 UTC (permalink / raw)
To: Tvrtko Ursulin; +Cc: igt-dev, Intel Graphics Development, Tvrtko Ursulin
On Mon, 22 Mar 2021 at 14:12, Tvrtko Ursulin
<tvrtko.ursulin@linux.intel.com> wrote:
>
> From: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
>
> Tool has been broken for a while after changes to tracepoint format an
format and?
> behaviour. Although I have patches somewhere to mostly fix it, it seems
> that it has outlived its usefulness and could be deleted just as well.
>
> Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Acked-by: Matthew Auld <matthew.auld@intel.com>
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-04-01 13:27 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 14:11 [Intel-gfx] [PATCH i-g-t] scripts/trace.pl: Remove the tool Tvrtko Ursulin
2021-03-22 14:11 ` [igt-dev] " Tvrtko Ursulin
2021-03-22 15:01 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2021-03-23 16:08 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2021-04-01 13:27 ` [Intel-gfx] [igt-dev] [PATCH i-g-t] " Matthew Auld
2021-04-01 13:27 ` Matthew Auld
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.