Fair DRM scheduler
Subsystems (4)
v6 cover Fair DRM scheduler
As a summary, the new scheduling algorithm is insipired by the original Linux CFS and so far no scheduling regressions have been found. There are improvements in fairness and scheduling of interactive clients when running in parallel with a heavy GPU load (for example Pierre-Eric has one viewperf medical test which shows a nice improvement with amdgpu).
On the high level main advantages of the series are:
1. Scheduling quality - schedules better than FIFO, solves priority starvation.
2. Code simplification - no more multiple run queues and multiple algorithms.
3. Virtual GPU time based scheduling enables relatively simple addition of a scheduling cgroup controller in the future.
There is a little bit more detailed write up on the motivation and results in the form of a blog post which may be easier to read:
https://blogs.igalia.com/tursulin/fair-er-drm-gpu-scheduler/
First patches add some unit tests which allow for easy evaluation of scheduling behaviour against different client submission patterns. From there onwards it is hopefully a natural progression of cleanups, enablers, adding the fair policy, and finally removing FIFO and RR and simplifying the code base due no more need for multiple run queues.
As a headline result I have tested three simultaneous clients on the Steam Deck:
One instance of a deferredmultisampling Vulkan demo running with low priority, one normal priority instance of the same demo, and the Unigine Heaven benchmark.
With the FIFO scheduler we can see that the low priority client is completely starved and the GPU time distribution between the other two clients is uneven:
https://people.igalia.com/tursulin/drm-sched-fair/fifo-starvation.png
Switching to the fair scheduler, GPU time distribution is almost equal and the low priority client does get a small share of the GPU:
https://people.igalia.com/tursulin/drm-sched-fair/fair-no-starvation.png
Moving onto the synthetic submission patterns, they are about two simultaneous clients which broadly cover the following categories:
* Deep queue clients
* Hogs versus interactive
* Priority handling
Lets look at the results:
1. Two normal priority deep queue clients.
These ones submit one second worth of 8ms jobs. As fast as they can, no dependencies etc. There is no difference in runtime between FIFO and fair but the latter allows both clients to progress with work more evenly:
https://people.igalia.com/tursulin/drm-sched-fair/normal-normal.png
(X axis is time, Y is submitted queue-depth, hence lowering of qd corresponds
with work progress for both clients, tested with both schedulers separately.)
2. Same two clients but one is now low priority.
https://people.igalia.com/tursulin/drm-sched-fair/normal-low.png
Normal priority client is a solid line, low priority dotted. We can see how FIFO completely starves the low priority client until the normal priority is fully done. Only then the low priority client gets any GPU time.
In constrast, fair scheduler allows some GPU time to the low priority client.
3. Same clients but now high versus normal priority.
Similar behaviour as in the previous one with normal a bit less de-prioritised relative to high, than low was against normal.
https://people.igalia.com/tursulin/drm-sched-fair/high-normal.png
4. Heavy load vs interactive client.
Heavy client emits a 75% GPU load in the format of 3x 2.5ms jobs followed by a 2.5ms wait. Interactive client emits a 10% GPU load in the format of 1x 1ms job followed by a 9ms wait.
This simulates an interactive graphical client used on top of a relatively heavy background load but no GPU oversubscription.
Graphs show the interactive client only and from now on, instead of looking at the client's queue depth, we look at its "fps".
https://people.igalia.com/tursulin/drm-sched-fair/heavy-interactive.png
We can see that fair scheduler allows a higher fps for the interactive client which is good.
5. An even heavier load vs interactive client.
This one is oversubscribing the GPU by submitting 4x 50ms jobs and waiting for only one microsecond before repeating the cycle. Interactive client is thje same 10% as above.
https://people.igalia.com/tursulin/drm-sched-fair/veryheavy-interactive.png
Here the difference is even more dramatic with fair scheduler enabling ~3x the framerate for the interactive client.
6. Low priority GPU hog versus heavy-interactive.
Low priority client: 3x 2.5ms jobs client followed by a 0.5ms wait. Interactive client: 1x 0.5ms job followed by a 10ms wait.
https://people.igalia.com/tursulin/drm-sched-fair/lowhog-interactive.png
Slight win for the fair scheduler but could be just noise.
7. Last set of test scenarios will have three subgroups.
In all cases we have two interactive (synchronous, single job at a time) clients with a 50% "duty cycle" GPU time usage.
Client 1: 1.5ms job + 1.5ms wait (aka short bursty) Client 2: 2.5ms job + 2.5ms wait (aka long bursty)
a) Both normal priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-short.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-long.png
Both schedulers favour the higher frequency duty cycle with fair giving it a little bit more which should be good for interactivity.
b) Normal vs low priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-normal-low-normal.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-normal-low-low.png
Fair scheduler gives a bit more GPU time to the normal priority client which is again good.
c) High vs normal priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-high-normal-high.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-high-normal-normal.png
Again, fair scheduler gives a bit more share to the higher priority client.
As before, I am looking for feedback, ideas for what other kinds of submission scenarios to test, testing on different GPUs and of course reviews.
v2:
* Fixed many rebase errors.
* Added some new patches.
* Dropped single shot dependecy handling.
v3:
* Added scheduling quality unit tests.
* Refined a tiny bit by adding some fairness.
* Dropped a few patches for now.
v4:
* Replaced deadline with fair!
* Refined scheduling quality unit tests.
* Pulled one cleanup patch earlier.
* Fixed "drm/sched: Avoid double re-lock on the job free path".
v5:
* Rebase on top of latest upstream DRM scheduler changes.
* Kerneldoc fixup.
* Improve commit message justification for one patch. (Philipp)
* Add comment in drm_sched_alloc_wq. (Christian)
v6:
* Rebase for "drm/sched: De-clutter drm_sched_init" getting merged.
* Avoid NULL rq dereference from a bad rebase. (Maira)
* Added some kerneldoc throughout. (Maira)
* Removed some lockdep annotations not belonging to one patch. (Maira)
* Use dma_fence_is_signaled in "drm/sched: Avoid double re-lock on the job free path". (Maira, Philipp)
Tvrtko Ursulin (15):
drm/sched: Add some scheduling quality unit tests drm/sched: Add some more scheduling quality unit tests drm/sched: Avoid double re-lock on the job free path drm/sched: Consolidate drm_sched_job_timedout drm/sched: Consolidate drm_sched_rq_select_entity_rr drm/sched: Implement RR via FIFO
drm/sched: Consolidate entity run queue management drm/sched: Move run queue related code into a separate file drm/sched: Free all finished jobs at once
drm/sched: Account entity GPU time
drm/sched: Remove idle entity from tree
drm/sched: Add fair scheduling policy
drm/sched: Remove FIFO and RR and simplify to a single run queue drm/sched: Queue all free credits in one worker invocation drm/sched: Embed run queue singleton into the scheduler
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 8 +- drivers/gpu/drm/scheduler/Makefile | 2 +- drivers/gpu/drm/scheduler/sched_entity.c | 131 ++- drivers/gpu/drm/scheduler/sched_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_internal.h | 146 +++- drivers/gpu/drm/scheduler/sched_main.c | 548 +++--------- drivers/gpu/drm/scheduler/sched_rq.c | 221 +++++ drivers/gpu/drm/scheduler/tests/Makefile | 3 +- .../gpu/drm/scheduler/tests/tests_scheduler.c | 815 ++++++++++++++++++ include/drm/gpu_scheduler.h | 31 +- 15 files changed, 1396 insertions(+), 565 deletions(-) create mode 100644 drivers/gpu/drm/scheduler/sched_rq.c create mode 100644 drivers/gpu/drm/scheduler/tests/tests_scheduler.c
Signature · 1 line
2.48.0
PATCH v6 1/15 drm/sched: Add some scheduling quality unit tests
To make evaluating different scheduling policies easier (no need for external benchmarks) and perfectly repeatable, lets add some synthetic workloads built upon mock scheduler unit test infrastructure.
Focus is on two parallel clients (two threads) submitting different job patterns and logging their progress and some overall metrics. This is repeated for both scheduler credit limit 1 and 2.
Example test output:
Normal and low:
pct1 cps1 qd1; pct2 cps2 qd2
+ 0ms: 0 0 0; 0 0 0
+ 104ms: 100 1240 112; 100 1240 125
+ 209ms: 100 0 99; 100 0 125
+ 313ms: 100 0 86; 100 0 125
+ 419ms: 100 0 73; 100 0 125
+ 524ms: 100 0 60; 100 0 125
+ 628ms: 100 0 47; 100 0 125
+ 731ms: 100 0 34; 100 0 125
+ 836ms: 100 0 21; 100 0 125
+ 939ms: 100 0 8; 100 0 125
+ 1043ms: ; 100 0 120
+ 1147ms: ; 100 0 107
+ 1252ms: ; 100 0 94
+ 1355ms: ; 100 0 81
+ 1459ms: ; 100 0 68
+ 1563ms: ; 100 0 55
+ 1667ms: ; 100 0 42
+ 1771ms: ; 100 0 29
+ 1875ms: ; 100 0 16
+ 1979ms: ; 100 0 3
0: prio=normal sync=0 elapsed_ms=1015ms (ideal_ms=1000ms) cycle_time(min,avg,max)=134,222,978 us latency_time(min,avg,max)=134,222,978
us
1: prio=low sync=0 elapsed_ms=2009ms (ideal_ms=1000ms) cycle_time(min,avg,max)=134,215,806 us latency_time(min,avg,max)=134,215,806 us
There we have two clients represented in the two respective columns, with their progress logged roughly every 100 milliseconds. The metrics are:
- pct - Percentage progress of the job submit part
- cps - Cycles per second
- qd - Queue depth - number of submitted unfinished jobs
The cycles per second metric is inherent to the fact that workload patterns are a data driven cycling sequence of:
- Submit 1..N jobs
- Wait for Nth job to finish (optional)
- Sleep (optional)
- Repeat from start
In this particular example we have a normal priority and a low priority clients both spamming the scheduler with 8ms jobs with no sync and no sleeping. Hence they build a very deep queues and we can see how the low priority client is completely starved until the normal finishes.
Note that the PCT and CPS metrics are irrelevant for "unsync" clients since they manage to complete all of their cycles instantaneously.
A different example would be:
Heavy and interactive:
pct1 cps1 qd1; pct2 cps2 qd2
+ 0ms: 0 0 0; 0 0 0
+ 106ms: 5 40 3; 5 40 0
+ 209ms: 9 40 0; 9 40 0
+ 314ms: 14 50 3; 14 50 0
+ 417ms: 18 40 0; 18 40 0
+ 522ms: 23 50 3; 23 50 0
+ 625ms: 27 40 0; 27 40 1
+ 729ms: 32 50 0; 32 50 0
+ 833ms: 36 40 1; 36 40 0
+ 937ms: 40 40 0; 40 40 0
+ 1041ms: 45 50 0; 45 50 0
+ 1146ms: 49 40 1; 49 40 1
+ 1249ms: 54 50 0; 54 50 0
+ 1353ms: 58 40 1; 58 40 0
+ 1457ms: 62 40 0; 62 40 1
+ 1561ms: 67 50 0; 67 50 0
+ 1665ms: 71 40 1; 71 40 0
+ 1772ms: 76 50 0; 76 50 0
+ 1877ms: 80 40 1; 80 40 0
+ 1981ms: 84 40 0; 84 40 0
+ 2085ms: 89 50 0; 89 50 0
+ 2189ms: 93 40 1; 93 40 0
+ 2293ms: 97 40 0; 97 40 1
In this case client one is submitting 3x 2.5ms jobs, waiting for the 3rd and then sleeping for 2.5ms (in effect causing 75% GPU load, minus the overheads). Second client is submitting 1ms jobs, waiting for each to finish and sleeping for 9ms (effective 10% GPU load). Here we can see the PCT and CPS reflecting real progress.
--- drivers/gpu/drm/scheduler/tests/Makefile | 3 +- .../gpu/drm/scheduler/tests/tests_scheduler.c | 631 ++++++++++++++++++ 2 files changed, 633 insertions(+), 1 deletion(-) create mode 100644 drivers/gpu/drm/scheduler/tests/tests_scheduler.c
drivers/gpu/drm/scheduler/tests/Makefile +2 -1
@@ -2,6 +2,7 @@ drm-sched-tests-y := \ mock_scheduler.o \ - tests_basic.o + tests_basic.o \ + tests_scheduler.o obj-$(CONFIG_DRM_SCHED_KUNIT_TEST) += drm-sched-tests.o
drivers/gpu/drm/scheduler/tests/tests_scheduler.c new file +631 -0
631 lines not on this page · raw message
Signature · 1 line
2.48.0
kernel test robot
build botRe: [PATCH v6 01/15] drm/sched: Add some scheduling quality unit tests
kernel test robot noticed the following build errors:
Hi Tvrtko,
kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next]
[also build test ERROR on v6.16-rc5 next-20250708]
[cannot apply to drm-exynos/exynos-drm-next linus/master drm/drm-next drm-intel/for-linux-next drm-intel/for-linux-next-fixes drm-tip/drm-tip] [If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Tvrtko-Ursulin/drm-sched-Add-some-scheduling-quality-unit-tests/20250708-180519 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20250708095147.73366-2-tvrtko.ursulin%40igalia.com patch subject: [PATCH v6 01/15] drm/sched: Add some scheduling quality unit tests config: powerpc-randconfig-001-20250709 (https://download.01.org/0day-ci/archive/20250709/[email protected]/config) compiler: powerpc-linux-gcc (GCC) 8.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250709/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
powerpc-linux-ld: drivers/gpu/drm/scheduler/tests/tests_scheduler.o: in function `drm_sched_client_work':
>> drivers/gpu/drm/scheduler/tests/tests_scheduler.c:419: undefined reference to `__divdi3'
vim +419 drivers/gpu/drm/scheduler/tests/tests_scheduler.c
409
410 static void drm_sched_client_work(struct kthread_work *work)
411 {
412 struct test_client *client = container_of(work, typeof(*client), work);
413 const long sync_wait = MAX_SCHEDULE_TIMEOUT;
414 unsigned int cycle, work_us, period_us;
415 struct drm_mock_sched_job *job = NULL;
416
417 work_us = client->params.job_cnt * client->params.job_us;
418 period_us = work_us + client->params.wait_us;
> 419 client->cycles = DIV_ROUND_UP(ktime_to_us(client->duration), period_us);
420 client->ideal_duration = us_to_ktime(client->cycles * period_us);
421
422 client->start = ktime_get();
423
424 for (cycle = 0; cycle < client->cycles; cycle++) {
425 unsigned int batch;
426 unsigned long us;
427 ktime_t t;
428
429 if (READ_ONCE(client->done))
430 break;
431
432 t = ktime_get();
433 for (batch = 0; batch < client->params.job_cnt; batch++) {
434 job = drm_mock_sched_job_new(client->test,
435 client->entity);
436 drm_mock_sched_job_set_duration_us(job,
437 client->params.job_us);
438 drm_mock_sched_job_submit(job);
439 }
440
441 if (client->params.sync)
442 drm_mock_sched_job_wait_finished(job, sync_wait);
443
444 t = ktime_sub(ktime_get(), t);
445 us = ktime_to_us(t);
446 update_stats(&client->cycle_time, cycle, us);
447 if (ktime_to_us(t) >= (long)work_us)
448 us = ktime_to_us(t) - work_us;
449 else if (WARN_ON_ONCE(client->params.sync))
450 us = 0;
451 update_stats(&client->latency_time, cycle, us);
452 WRITE_ONCE(client->cycle, cycle);
453
454 if (READ_ONCE(client->done))
455 break;
456
457 if (client->params.wait_us)
458 fsleep(client->params.wait_us);
459 else
460 cond_resched();
461 }
462
463 client->done = drm_mock_sched_job_wait_finished(job, sync_wait);
464 client->end = ktime_get();
465 }
466
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
PATCH v6 2/15 drm/sched: Add some more scheduling quality unit tests
In reply to Tvrtko UrsulinThis time round we explore the rate of submitted job queue processing with multiple identical parallel clients.
Example test output:
3 clients:
t cycle: min avg max : ...
+ 0ms 0 0 0 : 0 0 0
+ 102ms 2 2 2 : 2 2 2
+ 208ms 5 6 6 : 6 5 5
+ 310ms 8 9 9 : 9 9 8
...
+ 2616ms 82 83 83 : 83 83 82
+ 2717ms 83 83 83 : 83 83 83
avg_max_min_delta(x100)=60Every 100ms for the duration of the test test logs how many jobs each client had completed, prefixed by minimum, average and maximum numbers. When finished overall average delta between max and min is output as a rough indicator to scheduling fairness.
--- .../gpu/drm/scheduler/tests/tests_scheduler.c | 186 +++++++++++++++++- 1 file changed, 185 insertions(+), 1 deletion(-)
drivers/gpu/drm/scheduler/tests/tests_scheduler.c +185 -1
@@ -181,6 +181,7 @@ struct drm_sched_client_params {struct drm_sched_test_params {const char *description; +unsigned int num_clients;struct drm_sched_client_params client[2 ]; };
@@ -626,6 +627,189 @@ static struct kunit_suite drm_sched_scheduler_two_clients2 = { .test_cases = drm_sched_scheduler_two_clients_tests, }; + +static const struct drm_sched_test_params drm_sched_many_cases[] = { + { + .description ="2 clients" , + .num_clients =2 , + .client[0 ] = { + .priority =DRM_SCHED_PRIORITY_NORMAL , + .job_cnt =4 , + .job_us =1000 , + .wait_us =0 , + .sync = true, + }, + }, + { + .description ="3 clients" , + .num_clients =3 , + .client[0 ] = { + .priority =DRM_SCHED_PRIORITY_NORMAL , + .job_cnt =4 , + .job_us =1000 , + .wait_us =0 , + .sync = true, + }, + }, + { + .description ="7 clients" , + .num_clients =7 , + .client[0 ] = { + .priority =DRM_SCHED_PRIORITY_NORMAL , + .job_cnt =4 , + .job_us =1000 , + .wait_us =0 , + .sync = true, + }, + }, + { + .description ="13 clients" , + .num_clients =13 , + .client[0 ] = { + .priority =DRM_SCHED_PRIORITY_NORMAL , + .job_cnt =4 , + .job_us =1000 , + .wait_us =0 , + .sync = true, + }, + }, + { + .description ="31 clients" , + .num_clients =31 , + .client[0 ] = { + .priority =DRM_SCHED_PRIORITY_NORMAL , + .job_cnt =2 , + .job_us =1000 , + .wait_us =0 , + .sync = true, + }, + }, +}; + +KUNIT_ARRAY_PARAM (drm_sched_scheduler_many_clients, + drm_sched_many_cases, + drm_sched_desc); + +static void drm_sched_scheduler_many_clients_test (struct kunit *test) +{ +const struct drm_sched_test_params *params = test->param_value; +struct drm_mock_scheduler *sched = test->priv; +const unsigned int clients = params->num_clients; +unsigned int i, j, delta_total =0 , loops =0 ; +struct test_client *client; +unsigned int *prev_cycle; +ktime_t start; +char *buf; + +/* +* Many clients with deep-ish async queues. +*/ + + buf =kunit_kmalloc (test,PAGE_SIZE ,GFP_KERNEL ); + client =kunit_kcalloc (test, clients,sizeof (*client),GFP_KERNEL ); + prev_cycle =kunit_kcalloc (test, clients,sizeof (*prev_cycle), +GFP_KERNEL ); + +for (i =0 ; i < clients; i++) + client[i].entity = +drm_mock_sched_entity_new (test, +DRM_SCHED_PRIORITY_NORMAL , + sched); + +for (i =0 ; i < clients; i++) { + client[i].test = test; + client[i].id = i; + client[i].params = params->client[0 ]; + client[i].duration =ms_to_ktime (1000 / clients); + client[i].cycle_time.min_us = ~0UL ; + client[i].latency_time.min_us = ~0UL ; + client[i].worker = +kthread_create_worker (0 ,"%s-%u" , __func__, i); +if (IS_ERR (client[i].worker)) { +for (j =0 ; j < i; j++) +kthread_destroy_worker (client[j].worker); +KUNIT_FAIL (test,"Failed to create worker!\n" ); + } + +kthread_init_work (&client[i].work, drm_sched_client_work); + } + +for (i =0 ; i < clients; i++) +kthread_queue_work (client[i].worker, &client[i].work); + + start =ktime_get (); +pr_info ("%u clients:\n\tt\t\tcycle:\t min avg max : ...\n" , clients); +for (;;) { +unsigned int min = ~0 ; +unsigned int max =0 ; +unsigned int total =0 ; +bool done = true; +char pbuf[16 ]; + +memset (buf,0 ,PAGE_SIZE ); +for (i =0 ; i < clients; i++) { +unsigned int cycle, cycles; + + cycle =READ_ONCE (client[i].cycle); + cycles =READ_ONCE (client[i].cycles); + +snprintf (pbuf,sizeof (pbuf)," %3d" , cycle); +strncat (buf, pbuf,PAGE_SIZE ); + + total += cycle; +if (cycle < min) + min = cycle; +if (cycle > max) + max = cycle; + +if (!min || (cycle +1 ) < cycles) + done = false; + } + + loops++; + delta_total += max - min; + +pr_info ("\t+%6lldms\t\t %3u %3u %3u :%s\n" , +ktime_to_ms (ktime_sub (ktime_get (), start)), + min,DIV_ROUND_UP (total, clients), max, buf); + +if (done) +break ; + +msleep (100 ); + } + +pr_info (" avg_max_min_delta(x100)=%u\n" , + loops ?DIV_ROUND_UP (delta_total *100 , loops) :0 ); + +for (i =0 ; i < clients; i++) { +kthread_flush_work (&client[i].work); +kthread_destroy_worker (client[i].worker); + } + +for (i =0 ; i < clients; i++) +drm_mock_sched_entity_free (client[i].entity); +} + +static const struct kunit_attributes drm_sched_scheduler_many_clients_attr = { + .speed =KUNIT_SPEED_SLOW , +}; + +static struct kunit_case drm_sched_scheduler_many_clients_tests[] = { +KUNIT_CASE_PARAM_ATTR (drm_sched_scheduler_many_clients_test, + drm_sched_scheduler_many_clients_gen_params, + drm_sched_scheduler_many_clients_attr), + {} +}; + +static struct kunit_suite drm_sched_scheduler_many_clients = { + .name ="drm_sched_scheduler_many_clients_tests" , + .init = drm_sched_scheduler_init2, + .exit = drm_sched_scheduler_exit, + .test_cases = drm_sched_scheduler_many_clients_tests, +}; +kunit_test_suites (&drm_sched_scheduler_overhead, &drm_sched_scheduler_two_clients1, - &drm_sched_scheduler_two_clients2); + &drm_sched_scheduler_two_clients2, + &drm_sched_scheduler_many_clients);
Signature · 1 line
2.48.0
PATCH v6 3/15 drm/sched: Avoid double re-lock on the job free path
In reply to Tvrtko UrsulinCurrently the job free work item will lock sched->job_list_lock first time to see if there are any jobs, free a single job, and then lock again to decide whether to re-queue itself if there are more finished jobs.
Since drm_sched_get_finished_job() already looks at the second job in the queue we can simply add the signaled check and have it return the presence of more jobs to free to the caller. That way the work item does not have to lock the list again and repeat the signaled check.
--- drivers/gpu/drm/scheduler/sched_main.c | 37 ++++++++++---------------- 1 file changed, 14 insertions(+), 23 deletions(-)
drivers/gpu/drm/scheduler/sched_main.c +14 -23
@@ -366,22 +366,6 @@ static void __drm_sched_run_free_queue(struct drm_gpu_scheduler *sched)queue_work (sched->submit_wq, &sched->work_free_job); } -/** -* drm_sched_run_free_queue - enqueue free-job work if ready -* @sched: scheduler instance -*/ -static void drm_sched_run_free_queue (struct drm_gpu_scheduler *sched) -{ -struct drm_sched_job *job; - -spin_lock (&sched->job_list_lock); - job =list_first_entry_or_null (&sched->pending_list, - struct drm_sched_job, list); -if (job &&dma_fence_is_signaled (&job->s_fence->finished)) -__drm_sched_run_free_queue (sched); -spin_unlock (&sched->job_list_lock); -} -/** * drm_sched_job_done - complete a job * @s_job: pointer to the job which is done
@@ -1102,12 +1086,13 @@ drm_sched_select_entity(struct drm_gpu_scheduler *sched)* drm_sched_get_finished_job - fetch the next finished job to be destroyed * * @sched: scheduler instance +* @have_more: are there more finished jobs on the list * * Returns the next finished job from the pending list (if there is one) * ready for it to be destroyed. */ static struct drm_sched_job * -drm_sched_get_finished_job (struct drm_gpu_scheduler *sched) +drm_sched_get_finished_job (struct drm_gpu_scheduler *sched,bool *have_more) {struct drm_sched_job *job, *next;
@@ -1115,22 +1100,25 @@ drm_sched_get_finished_job(struct drm_gpu_scheduler *sched) job =list_first_entry_or_null (&sched->pending_list, struct drm_sched_job, list); -if (job &&dma_fence_is_signaled (&job->s_fence->finished)) {/* remove job from pending_list */ list_del_init (&job->list);/* cancel this job's TO timer */ cancel_delayed_work (&sched->work_tdr); -/* make the scheduled timestamp more accurate */ + + *have_more = false; next =list_first_entry_or_null (&sched->pending_list,typeof (*next), list); -if (next) { +/* make the scheduled timestamp more accurate */ if (test_bit (DMA_FENCE_FLAG_TIMESTAMP_BIT , &next->s_fence->scheduled.flags)) next->s_fence->scheduled.timestamp =dma_fence_timestamp (&job->s_fence->finished); + + *have_more =dma_fence_is_signaled (&next->s_fence->finished); +/* start TO timer for next job */ drm_sched_start_timeout (sched); }
@@ -1189,12 +1177,15 @@ static void drm_sched_free_job_work(struct work_struct *w)struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_free_job);struct drm_sched_job *job; +bool have_more; - job =drm_sched_get_finished_job (sched); -if (job) + job =drm_sched_get_finished_job (sched, &have_more); +if (job) { sched->ops->free_job (job); +if (have_more) +__drm_sched_run_free_queue (sched); + } -drm_sched_run_free_queue (sched);drm_sched_run_job_queue (sched); }
Signature · 1 line
2.48.0
Re: [PATCH v6 03/15] drm/sched: Avoid double re-lock on the job free path
Quoted 14 lines · Tvrtko Ursulin
Currently the job free work item will lock
sched->job_list_lockfirst time
to see if there are any jobs, free a single job, and then lock again to
decide whether to re-queue itself if there are more finished jobs.Since
drm_sched_get_finished_job()already looks at the second job in the
queue we can simply add the signaled check and have it return the presence
of more jobs to free to the caller. That way the work item does not have
to lock the list again and repeat the signaled check.
Quoted 5 lines
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>
This one can be sent separately, like the one for drm_sched_init() recently, can't it?
P.
Quoted 111 lines
---
drivers/gpu/drm/scheduler/sched_main.c | 37 ++++++++++-------------- --1 file changed, 14 insertions(+), 23 deletions(-)drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -366,22 +366,6 @@ static void __drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) queue_work(sched->submit_wq, &sched->work_free_job); }drivers/gpu/drm/scheduler/sched_main.c +0
-5-/** -* drm_sched_run_free_queue - enqueue free-job work if ready -* @sched: scheduler instance -*/ -static void drm_sched_run_free_queue(struct drm_gpu_scheduler*sched)
drivers/gpu/drm/scheduler/sched_main.c +0
-11-{ -struct drm_sched_job *job; - -spin_lock (&sched->job_list_lock); - job =list_first_entry_or_null (&sched->pending_list, - struct drm_sched_job, list); -if (job &&dma_fence_is_signaled (&job->s_fence->finished)) -__drm_sched_run_free_queue (sched); -spin_unlock (&sched->job_list_lock); -} -/**
*drm_sched_job_done- complete a job
* @s_job: pointer to the job which is donedrivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -1102,12 +1086,13 @@ drm_sched_select_entity(struct drm_gpu_scheduler *sched) * drm_sched_get_finished_job - fetch the next finished job to bedestroyed
*
* @sched: scheduler instance
+ * @have_more: are there more finished jobs on the list *
* Returns the next finished job from the pending list (if there is one)
* ready for it to be destroyed.
*/
static structdrm_sched_job*drivers/gpu/drm/scheduler/sched_main.c +1
-1-drm_sched_get_finished_job(struct drm_gpu_scheduler *sched) +drm_sched_get_finished_job(struct drm_gpu_scheduler *sched, bool
*have_more)
{
structdrm_sched_job*job, *next;drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -1115,22 +1100,25 @@ drm_sched_get_finished_job(struct drm_gpu_scheduler *sched)
job =list_first_entry_or_null(&sched->pending_list, struct drm_sched_job, list); -
if (job &&dma_fence_is_signaled(&job->s_fence->finished)) { /* remove job frompending_list*/list_del_init(&job->list);
/* cancel this job's TO timer */cancel_delayed_work(&sched->work_tdr);drivers/gpu/drm/scheduler/sched_main.c +2
-1-/* make the scheduled timestamp more accurate */ + + *have_more = false;next = list_first_entry_or_null(&sched-
Quoted 1 line
pending_list,
typeof(*next), list);
-
if (next) {drivers/gpu/drm/scheduler/sched_main.c +1
-0+/* make the scheduled timestamp more accurate */
if (test_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &next->s_fence-Quoted 1 line
scheduled.flags))
next->s_fence->scheduled.timestamp= dma_fence_timestamp(&job-Quoted 1 line
s_fence->finished);drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + *have_more = dma_fence_is_signaled(&next-Quoted 1 line
s_fence->finished);+
/* start TO timer for next job */drm_sched_start_timeout(sched); }drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -1189,12 +1177,15 @@ static void drm_sched_free_job_work(struct work_struct *w)struct
drm_gpu_scheduler*sched =container_of(w, struct drm_gpu_scheduler, work_free_job);
structdrm_sched_job*job;drivers/gpu/drm/scheduler/sched_main.c +1
-0+bool have_more;drivers/gpu/drm/scheduler/sched_main.c +2
-2- job =drm_sched_get_finished_job (sched); -if (job) + job =drm_sched_get_finished_job (sched, &have_more); +if (job) {
sched->ops->free_job(job);drivers/gpu/drm/scheduler/sched_main.c +3
-0+if (have_more) +__drm_sched_run_free_queue (sched); + }drivers/gpu/drm/scheduler/sched_main.c +0
-1-drm_sched_run_free_queue (sched);
drm_sched_run_job_queue(sched);
}
Re: [PATCH v6 03/15] drm/sched: Avoid double re-lock on the job free path
Quoted 15 lines · Philipp Stanner
Quoted 14 lines · Tvrtko Ursulin
Currently the job free work item will lock
sched->job_list_lockfirst time
to see if there are any jobs, free a single job, and then lock again to
decide whether to re-queue itself if there are more finished jobs.Since
drm_sched_get_finished_job()already looks at the second job in the
queue we can simply add the signaled check and have it return the presence
of more jobs to free to the caller. That way the work item does not have
to lock the list again and repeat the signaled check.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>This one can be sent separately, like the one for
drm_sched_init()recently, can't it?
Done.
Regards,
Tvrtko
Quoted 114 lines
P.
Quoted 111 lines
--- drivers/gpu/drm/scheduler/sched_main.c | 37 ++++++++++-------------- -- 1 file changed, 14 insertions(+), 23 deletions(-)drivers/gpu/drm/scheduler/sched_main.c +0
-16@@ -366,22 +366,6 @@ static void __drm_sched_run_free_queue(struct drm_gpu_scheduler *sched) queue_work(sched->submit_wq, &sched->work_free_job); } -/** -* drm_sched_run_free_queue - enqueue free-job work if ready -* @sched: scheduler instance -*/ -static void drm_sched_run_free_queue (struct drm_gpu_scheduler *sched) -{ -struct drm_sched_job *job; - -spin_lock (&sched->job_list_lock); - job =list_first_entry_or_null (&sched->pending_list, - struct drm_sched_job, list); -if (job &&dma_fence_is_signaled (&job->s_fence->finished)) -__drm_sched_run_free_queue (sched); -spin_unlock (&sched->job_list_lock); -} - /***
drm_sched_job_done- complete a job
* @s_job: pointer to the job which is donedrivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -1102,12 +1086,13 @@ drm_sched_select_entity(struct drm_gpu_scheduler *sched) * drm_sched_get_finished_job - fetch the next finished job to bedestroyed
*
* @sched: scheduler instance
+ * @have_more: are there more finished jobs on the list
*
* Returns the next finished job from the pending list (if there is
one)
* ready for it to be destroyed.
*/
static structdrm_sched_job*drivers/gpu/drm/scheduler/sched_main.c +1
-1-drm_sched_get_finished_job(struct drm_gpu_scheduler *sched) +drm_sched_get_finished_job(struct drm_gpu_scheduler *sched, bool
*have_more)
{
structdrm_sched_job*job, *next;drivers/gpu/drm/scheduler/sched_main.c +3
-3@@ -1115,22 +1100,25 @@ drm_sched_get_finished_job(struct drm_gpu_scheduler *sched) job = list_first_entry_or_null(&sched->pending_list, struct drm_sched_job, list); - if (job && dma_fence_is_signaled(&job->s_fence->finished)) { /* remove job from pending_list */ list_del_init(&job->list); /* cancel this job's TO timer */ cancel_delayed_work(&sched->work_tdr); -/* make the scheduled timestamp more accurate */ + + *have_more = false; next = list_first_entry_or_null(&sched- > pending_list, typeof(*next), list); - if (next) { +/* make the scheduled timestamp more accurate */
if (test_bit(DMA_FENCE_FLAG_TIMESTAMP_BIT, &next->s_fence-Quoted 1 line
scheduled.flags))
next->s_fence->scheduled.timestamp= dma_fence_timestamp(&job-Quoted 1 line
s_fence->finished);drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + *have_more = dma_fence_is_signaled(&next-Quoted 1 line
s_fence->finished);drivers/gpu/drm/scheduler/sched_main.c +7
-3+ /* start TO timer for next job */ drm_sched_start_timeout(sched); }@@ -1189,12 +1177,15 @@ static void drm_sched_free_job_work(struct work_struct *w) struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_free_job); struct drm_sched_job *job; +bool have_more; - job =drm_sched_get_finished_job (sched); -if (job) + job =drm_sched_get_finished_job (sched, &have_more); +if (job) { sched->ops->free_job(job); +if (have_more) +__drm_sched_run_free_queue (sched); + } -drm_sched_run_free_queue (sched); drm_sched_run_job_queue(sched);}
PATCH v6 4/15 drm/sched: Consolidate drm_sched_job_timedout
In reply to Tvrtko UrsulinReduce to one spin_unlock for hopefully a little bit clearer flow in the function. It may appear that there is a behavioural change with the drm_sched_start_timeout_unlocked() now not being called if there were initially no jobs on the pending list, and then some appeared after unlock, however if the code would rely on the TDR handler restarting itself then it would fail to do that if the job arrived on the pending list after the check.
Also fix one stale comment while touching the function.
--- drivers/gpu/drm/scheduler/sched_main.c | 33 +++++++++++++------------- 1 file changed, 16 insertions(+), 17 deletions(-)
drivers/gpu/drm/scheduler/sched_main.c +16 -17
@@ -517,17 +517,15 @@ static void drm_sched_job_begin(struct drm_sched_job *s_job)static void drm_sched_job_timedout (struct work_struct *work) { -struct drm_gpu_scheduler *sched; +struct drm_gpu_scheduler *sched = + container_of(work, struct drm_gpu_scheduler, work_tdr.work); +enum drm_gpu_sched_stat status;struct drm_sched_job *job; -enum drm_gpu_sched_stat status =DRM_GPU_SCHED_STAT_NOMINAL ; - - sched = container_of(work, struct drm_gpu_scheduler, work_tdr.work);/* Protects against concurrent deletion in drm_sched_get_finished_job */ spin_lock (&sched->job_list_lock); job =list_first_entry_or_null (&sched->pending_list, struct drm_sched_job, list); -if (job) {/* * Remove the bad job so it cannot be freed by a concurrent
@@ -536,20 +534,21 @@ static void drm_sched_job_timedout(struct work_struct *work)* cancelled, at which point it's safe. */ list_del_init (&job->list); -spin_unlock (&sched->job_list_lock); + } +spin_unlock (&sched->job_list_lock); - status = job->sched->ops->timedout_job (job); +if (!job) +return ; -/* -* Guilty job did complete and hence needs to be manually removed -* See drm_sched_stop doc. -*/ -if (sched->free_guilty) { - job->sched->ops->free_job (job); - sched->free_guilty = false; - } - }else { -spin_unlock (&sched->job_list_lock); + status = job->sched->ops->timedout_job (job); + +/* +* Guilty job did complete and hence needs to be manually removed. See +* documentation for drm_sched_stop. +*/ +if (sched->free_guilty) { + job->sched->ops->free_job (job); + sched->free_guilty = false; }if (status !=DRM_GPU_SCHED_STAT_ENODEV )
Signature · 1 line
2.48.0
PATCH v6 5/15 drm/sched: Consolidate drm_sched_rq_select_entity_rr
In reply to Tvrtko UrsulinExtract out two copies of the identical code to function epilogue to make it smaller and more readable.
--- drivers/gpu/drm/scheduler/sched_main.c | 48 +++++++++++--------------- 1 file changed, 20 insertions(+), 28 deletions(-)
drivers/gpu/drm/scheduler/sched_main.c +20 -28
@@ -263,38 +263,14 @@ drm_sched_rq_select_entity_rr(struct drm_gpu_scheduler *sched, entity = rq->current_entity;if (entity) {list_for_each_entry_continue (entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current -* entity in terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; -reinit_completion (&entity->entity_idle); -spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found; } }list_for_each_entry (entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in -* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; -reinit_completion (&entity->entity_idle); -spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found;if (entity == rq->current_entity)break ;
@@ -303,6 +279,22 @@ drm_sched_rq_select_entity_rr(struct drm_gpu_scheduler *sched,spin_unlock (&rq->lock);return NULL ; + +found: +if (!drm_sched_can_queue (sched, entity)) { +/* +* If scheduler cannot take more jobs signal the caller to not +* consider lower priority queues. +*/ + entity =ERR_PTR (-ENOSPC ); + }else { + rq->current_entity = entity; +reinit_completion (&entity->entity_idle); + } + +spin_unlock (&rq->lock); + +return entity; }/**
Signature · 1 line
2.48.0
Re: [PATCH v6 05/15] drm/sched: Consolidate drm_sched_rq_select_entity_rr
Quoted 9 lines · Tvrtko Ursulin
Extract out two copies of the identical code to function epilogue to make
it smaller and more readable.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>
Can also be branched out.
P.
Quoted 84 lines
---
drivers/gpu/drm/scheduler/sched_main.c | 48 +++++++++++------------- --1 file changed, 20 insertions(+), 28 deletions(-)drivers/gpu/drm/scheduler/sched_main.c +0
-2@@ -263,38 +263,14 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, entity = rq->current_entity; if (entity) { list_for_each_entry_continue(entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current
drivers/gpu/drm/scheduler/sched_main.c +0
-3-* entity in terms of fairness. -*/ - if (!drm_sched_can_queue(sched,entity)) {
drivers/gpu/drm/scheduler/sched_main.c +0
-6-spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; - reinit_completion(&entity-Quoted 1 line
entity_idle);drivers/gpu/drm/scheduler/sched_main.c +2
-3-spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found;}
}
list_for_each_entry(entity, &rq->entities, list){drivers/gpu/drm/scheduler/sched_main.c +0
-2-if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in
drivers/gpu/drm/scheduler/sched_main.c +2
-12-* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; -reinit_completion (&entity->entity_idle); -spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found;
if (entity ==rq->current_entity)
break;drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -303,6 +279,22 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, spin_unlock(&rq->lock);
return NULL;drivers/gpu/drm/scheduler/sched_main.c +5
-0+ +found: +if (!drm_sched_can_queue (sched, entity)) { +/* +* If scheduler cannot take more jobs signal the caller to not
drivers/gpu/drm/scheduler/sched_main.c +11
-0+* consider lower priority queues. +*/ + entity =ERR_PTR (-ENOSPC ); + }else { + rq->current_entity = entity; +reinit_completion (&entity->entity_idle); + } + +spin_unlock (&rq->lock); + +return entity;}
/**
Danilo Krummrich
maintainerRe: [PATCH v6 05/15] drm/sched: Consolidate drm_sched_rq_select_entity_rr
Quoted 5 lines · Philipp Stanner
Quoted 4 lines · Tvrtko Ursulin
Extract out two copies of the identical code to function epilogue to make
it smaller and more readable.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>Can also be branched out.
There seems to be something going on with your mail client. I saw it a couple of times now that it somehow messes up the original code in your replies, such as below.
Quoted 84 lines
Quoted 84 lines
---
drivers/gpu/drm/scheduler/sched_main.c | 48 +++++++++++------------- --1 file changed, 20 insertions(+), 28 deletions(-)drivers/gpu/drm/scheduler/sched_main.c +0
-2@@ -263,38 +263,14 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, entity = rq->current_entity; if (entity) { list_for_each_entry_continue(entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current
drivers/gpu/drm/scheduler/sched_main.c +0
-3-* entity in terms of fairness. -*/ - if (!drm_sched_can_queue(sched,entity)) {
drivers/gpu/drm/scheduler/sched_main.c +0
-6-spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; - reinit_completion(&entity-Quoted 1 line
entity_idle);drivers/gpu/drm/scheduler/sched_main.c +2
-3-spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found;}
}
list_for_each_entry(entity, &rq->entities, list){drivers/gpu/drm/scheduler/sched_main.c +0
-2-if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in
drivers/gpu/drm/scheduler/sched_main.c +2
-12-* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; -reinit_completion (&entity->entity_idle); -spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found;
if (entity ==rq->current_entity)
break;drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -303,6 +279,22 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, spin_unlock(&rq->lock);
return NULL;drivers/gpu/drm/scheduler/sched_main.c +5
-0+ +found: +if (!drm_sched_can_queue (sched, entity)) { +/* +* If scheduler cannot take more jobs signal the caller to not
drivers/gpu/drm/scheduler/sched_main.c +11
-0+* consider lower priority queues. +*/ + entity =ERR_PTR (-ENOSPC ); + }else { + rq->current_entity = entity; +reinit_completion (&entity->entity_idle); + } + +spin_unlock (&rq->lock); + +return entity;}
/**
Re: [PATCH v6 05/15] drm/sched: Consolidate drm_sched_rq_select_entity_rr
In reply to Philipp StannerQuoted 5 lines · Philipp Stanner
Quoted 4 lines · Tvrtko Ursulin
Extract out two copies of the identical code to function epilogue to make
it smaller and more readable.
Quoted 7 lines
Quoted 5 lines
Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>Can also be branched out.
Done as well.
Regards,
Tvrtko
Quoted 87 lines
P.
Quoted 84 lines
--- drivers/gpu/drm/scheduler/sched_main.c | 48 +++++++++++------------- -- 1 file changed, 20 insertions(+), 28 deletions(-)drivers/gpu/drm/scheduler/sched_main.c +0
-2@@ -263,38 +263,14 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, entity = rq->current_entity; if (entity) { list_for_each_entry_continue(entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current
drivers/gpu/drm/scheduler/sched_main.c +0
-3-* entity in terms of fairness. -*/ - if (!drm_sched_can_queue(sched,entity)) {
drivers/gpu/drm/scheduler/sched_main.c +0
-6-spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; - reinit_completion(&entity-Quoted 1 line
entity_idle);drivers/gpu/drm/scheduler/sched_main.c +2
-5-spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found; } } list_for_each_entry(entity, &rq->entities, list) { -if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in
drivers/gpu/drm/scheduler/sched_main.c +7
-12-* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - - rq->current_entity = entity; -reinit_completion (&entity->entity_idle); -spin_unlock (&rq->lock); -return entity; - } +if (drm_sched_entity_is_ready (entity)) + goto found; if (entity == rq->current_entity) break;@@ -303,6 +279,22 @@ drm_sched_rq_select_entity_rr(structdrm_gpu_scheduler *sched, spin_unlock(&rq->lock); return NULL; + +found: +if (!drm_sched_can_queue (sched, entity)) { +/* +* If scheduler cannot take more jobs signal the caller to not
drivers/gpu/drm/scheduler/sched_main.c +11
-0+* consider lower priority queues. +*/ + entity =ERR_PTR (-ENOSPC ); + }else { + rq->current_entity = entity; +reinit_completion (&entity->entity_idle); + } + +spin_unlock (&rq->lock); + +return entity; } /**
PATCH v6 6/15 drm/sched: Implement RR via FIFO
In reply to Tvrtko UrsulinRound-robin being the non-default policy and unclear how much it is used, we can notice that it can be implemented using the FIFO data structures if we only invent a fake submit timestamp which is monotonically increasing inside drm_sched_rq instances.
So instead of remembering which was the last entity the scheduler worker picked, we can bump the picked one to the bottom of the tree, achieving the same round-robin behaviour.
Advantage is that we can consolidate to a single code path and remove a bunch of code. Downside is round-robin mode now needs to lock on the job pop path but that should not be visible.
--- drivers/gpu/drm/scheduler/sched_entity.c | 46 ++++++++------ drivers/gpu/drm/scheduler/sched_main.c | 76 ++---------------------- include/drm/gpu_scheduler.h | 6 +- 3 files changed, 37 insertions(+), 91 deletions(-)
drivers/gpu/drm/scheduler/sched_entity.c +28 -18
@@ -470,9 +470,19 @@ drm_sched_job_dependency(struct drm_sched_job *job,return NULL ; } +static ktime_t +drm_sched_rq_get_rr_deadline (struct drm_sched_rq *rq) +{ +lockdep_assert_held (&rq->lock); + + rq->rr_deadline =ktime_add_ns (rq->rr_deadline,1 ); + +return rq->rr_deadline; +} +struct drm_sched_job *drm_sched_entity_pop_job (struct drm_sched_entity *entity) { -struct drm_sched_job *sched_job; +struct drm_sched_job *sched_job, *next_job; sched_job =drm_sched_entity_queue_peek (entity);if (!sched_job)
@@ -507,21 +517,21 @@ struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity)* Update the entity's location in the min heap according to * the timestamp of the next job, if any. */ -if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) { -struct drm_sched_job *next; + next_job =drm_sched_entity_queue_peek (entity); +if (next_job) { +struct drm_sched_rq *rq; +ktime_t ts; - next =drm_sched_entity_queue_peek (entity); -if (next) { -struct drm_sched_rq *rq; - -spin_lock (&entity->lock); - rq = entity->rq; -spin_lock (&rq->lock); -drm_sched_rq_update_fifo_locked (entity, rq, - next->submit_ts); -spin_unlock (&rq->lock); -spin_unlock (&entity->lock); - } +spin_lock (&entity->lock); + rq = entity->rq; +spin_lock (&rq->lock); +if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) + ts = next_job->submit_ts; +else + ts =drm_sched_rq_get_rr_deadline (rq); +drm_sched_rq_update_fifo_locked (entity, rq, ts); +spin_unlock (&rq->lock); +spin_unlock (&entity->lock); }/* Jobs and entities might have different lifecycles. Since we're
@@ -628,9 +638,9 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job)spin_lock (&rq->lock);drm_sched_rq_add_entity (rq, entity); - -if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) -drm_sched_rq_update_fifo_locked (entity, rq, submit_ts); +if (drm_sched_policy ==DRM_SCHED_POLICY_RR ) + submit_ts =drm_sched_rq_get_rr_deadline (rq); +drm_sched_rq_update_fifo_locked (entity, rq, submit_ts);spin_unlock (&rq->lock);spin_unlock (&entity->lock);
drivers/gpu/drm/scheduler/sched_main.c +6 -70
110 lines not on this page · raw message
include/drm/gpu_scheduler.h +3 -3
@@ -239,8 +239,8 @@ struct drm_sched_entity {* struct drm_sched_rq - queue of entities to be scheduled. * * @sched: the scheduler to which this rq belongs to. -* @lock: protects @entities, @rb_tree_root and @current_entity. -* @current_entity: the entity which is to be scheduled. +* @lock: protects @entities, @rb_tree_root and @rr_deadline. +* @rr_deadline: monotonically incrementing fake timestamp for RR mode * @entities: list of the entities to be scheduled. * @rb_tree_root: root of time based priority queue of entities for FIFO scheduling *
@@ -253,7 +253,7 @@ struct drm_sched_rq {spinlock_t lock;/* Following members are protected by the @lock: */ -struct drm_sched_entity *current_entity; +ktime_t rr_deadline;struct list_head entities;struct rb_root_cached rb_tree_root; };
Signature · 1 line
2.48.0
PATCH v6 7/15 drm/sched: Consolidate entity run queue management
In reply to Tvrtko UrsulinMove the code dealing with entities entering and exiting run queues to helpers to logically separate it from jobs entering and exiting entities.
--- drivers/gpu/drm/scheduler/sched_entity.c | 59 ++------------ drivers/gpu/drm/scheduler/sched_internal.h | 8 +- drivers/gpu/drm/scheduler/sched_main.c | 90 +++++++++++++++++++--- 3 files changed, 86 insertions(+), 71 deletions(-)
drivers/gpu/drm/scheduler/sched_entity.c +5 -54
@@ -470,19 +470,9 @@ drm_sched_job_dependency(struct drm_sched_job *job,return NULL ; } -static ktime_t -drm_sched_rq_get_rr_deadline (struct drm_sched_rq *rq) -{ -lockdep_assert_held (&rq->lock); - - rq->rr_deadline =ktime_add_ns (rq->rr_deadline,1 ); - -return rq->rr_deadline; -} -struct drm_sched_job *drm_sched_entity_pop_job (struct drm_sched_entity *entity) { -struct drm_sched_job *sched_job, *next_job; +struct drm_sched_job *sched_job; sched_job =drm_sched_entity_queue_peek (entity);if (!sched_job)
@@ -513,26 +503,7 @@ struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity)spsc_queue_pop (&entity->job_queue); -/* -* Update the entity's location in the min heap according to -* the timestamp of the next job, if any. -*/ - next_job =drm_sched_entity_queue_peek (entity); -if (next_job) { -struct drm_sched_rq *rq; -ktime_t ts; - -spin_lock (&entity->lock); - rq = entity->rq; -spin_lock (&rq->lock); -if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) - ts = next_job->submit_ts; -else - ts =drm_sched_rq_get_rr_deadline (rq); -drm_sched_rq_update_fifo_locked (entity, rq, ts); -spin_unlock (&rq->lock); -spin_unlock (&entity->lock); - } +drm_sched_rq_pop_entity (entity);/* Jobs and entities might have different lifecycles. Since we're * removing the job from the entities queue, set the jobs entity pointer
@@ -622,30 +593,10 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job)/* first job wakes up scheduler */ if (first) {struct drm_gpu_scheduler *sched; -struct drm_sched_rq *rq; -/* Add the entity to the run queue */ -spin_lock (&entity->lock); -if (entity->stopped) { -spin_unlock (&entity->lock); - -DRM_ERROR ("Trying to push to a killed entity\n" ); -return ; - } - - rq = entity->rq; - sched = rq->sched; - -spin_lock (&rq->lock); -drm_sched_rq_add_entity (rq, entity); -if (drm_sched_policy ==DRM_SCHED_POLICY_RR ) - submit_ts =drm_sched_rq_get_rr_deadline (rq); -drm_sched_rq_update_fifo_locked (entity, rq, submit_ts); - -spin_unlock (&rq->lock); -spin_unlock (&entity->lock); - -drm_sched_wakeup (sched); + sched =drm_sched_rq_add_entity (entity, submit_ts); +if (sched) +drm_sched_wakeup (sched); } }EXPORT_SYMBOL (drm_sched_entity_push_job);
drivers/gpu/drm/scheduler/sched_internal.h +3 -5
@@ -12,13 +12,11 @@ extern int drm_sched_policy;void drm_sched_wakeup (struct drm_gpu_scheduler *sched); -void drm_sched_rq_add_entity (struct drm_sched_rq *rq, -struct drm_sched_entity *entity); +struct drm_gpu_scheduler * +drm_sched_rq_add_entity (struct drm_sched_entity *entity,ktime_t ts);void drm_sched_rq_remove_entity (struct drm_sched_rq *rq,struct drm_sched_entity *entity); - -void drm_sched_rq_update_fifo_locked (struct drm_sched_entity *entity, -struct drm_sched_rq *rq,ktime_t ts); +void drm_sched_rq_pop_entity (struct drm_sched_entity *entity);void drm_sched_entity_select_rq (struct drm_sched_entity *entity);struct drm_sched_job *drm_sched_entity_pop_job (struct drm_sched_entity *entity);
drivers/gpu/drm/scheduler/sched_main.c +78 -12
118 lines not on this page · raw message
Signature · 1 line
2.48.0
PATCH v6 8/15 drm/sched: Move run queue related code into a separate file
In reply to Tvrtko UrsulinLets move all the code dealing with struct drm_sched_rq into a separate compilation unit. Advantage being sched_main.c is left with a clearer set of responsibilities.
--- drivers/gpu/drm/scheduler/Makefile | 2 +- drivers/gpu/drm/scheduler/sched_internal.h | 7 + drivers/gpu/drm/scheduler/sched_main.c | 213 +------------------- drivers/gpu/drm/scheduler/sched_rq.c | 217 +++++++++++++++++++++ 4 files changed, 227 insertions(+), 212 deletions(-) create mode 100644 drivers/gpu/drm/scheduler/sched_rq.c
drivers/gpu/drm/scheduler/Makefile +1 -1
@@ -20,7 +20,7 @@ # OTHER DEALINGS IN THE SOFTWARE. # # -gpu-sched-y := sched_main.o sched_fence.o sched_entity.o +gpu-sched-y := sched_main.o sched_fence.o sched_entity.o sched_rq.o obj-$(CONFIG_DRM_SCHED) += gpu-sched.o
drivers/gpu/drm/scheduler/sched_internal.h +7 -0
@@ -10,8 +10,15 @@ extern int drm_sched_policy;#define DRM_SCHED_POLICY_RR 0#define DRM_SCHED_POLICY_FIFO 1 +bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, +struct drm_sched_entity *entity);void drm_sched_wakeup (struct drm_gpu_scheduler *sched); +void drm_sched_rq_init (struct drm_gpu_scheduler *sched, +struct drm_sched_rq *rq); +struct drm_sched_entity * +drm_sched_rq_select_entity (struct drm_gpu_scheduler *sched, +struct drm_sched_rq *rq);struct drm_gpu_scheduler *drm_sched_rq_add_entity (struct drm_sched_entity *entity,ktime_t ts); void drm_sched_rq_remove_entity(struct drm_sched_rq *rq,
drivers/gpu/drm/scheduler/sched_main.c +2 -211
225 lines not on this page · raw message
drivers/gpu/drm/scheduler/sched_rq.c new file +217 -0
217 lines not on this page · raw message
Signature · 1 line
2.48.0
PATCH v6 9/15 drm/sched: Free all finished jobs at once
In reply to Tvrtko UrsulinTo implement fair scheduling we will need as accurate as possible view into per entity GPU time utilisation. Because sched fence execution time are only adjusted for accuracy in the free worker we need to process completed jobs as soon as possible so the metric is most up to date when view from the submission side of things.
--- drivers/gpu/drm/scheduler/sched_main.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
drivers/gpu/drm/scheduler/sched_main.c +2 -11
@@ -870,13 +870,12 @@ drm_sched_select_entity(struct drm_gpu_scheduler *sched)* drm_sched_get_finished_job - fetch the next finished job to be destroyed * * @sched: scheduler instance -* @have_more: are there more finished jobs on the list * * Returns the next finished job from the pending list (if there is one) * ready for it to be destroyed. */ static struct drm_sched_job * -drm_sched_get_finished_job (struct drm_gpu_scheduler *sched,bool *have_more) +drm_sched_get_finished_job (struct drm_gpu_scheduler *sched) {struct drm_sched_job *job, *next;
@@ -891,7 +890,6 @@ drm_sched_get_finished_job(struct drm_gpu_scheduler *sched, bool *have_more)/* cancel this job's TO timer */ cancel_delayed_work (&sched->work_tdr); - *have_more = false; next =list_first_entry_or_null (&sched->pending_list,typeof (*next), list);if (next) {
@@ -901,8 +899,6 @@ drm_sched_get_finished_job(struct drm_gpu_scheduler *sched, bool *have_more) next->s_fence->scheduled.timestamp =dma_fence_timestamp (&job->s_fence->finished); - *have_more =dma_fence_is_signaled (&next->s_fence->finished); -/* start TO timer for next job */ drm_sched_start_timeout (sched); }
@@ -961,14 +957,9 @@ static void drm_sched_free_job_work(struct work_struct *w)struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_free_job);struct drm_sched_job *job; -bool have_more; - job =drm_sched_get_finished_job (sched, &have_more); -if (job) { +while ((job =drm_sched_get_finished_job (sched))) sched->ops->free_job (job); -if (have_more) -__drm_sched_run_free_queue (sched); - }drm_sched_run_job_queue (sched); }
Signature · 1 line
2.48.0
PATCH v6 10/15 drm/sched: Account entity GPU time
In reply to Tvrtko UrsulinTo implement fair scheduling we need a view into the GPU time consumed by entities. Problem we have is that jobs and entities objects have decoupled lifetimes, where at the point we have a view into accurate GPU time, we cannot link back to the entity any longer.
Solve this by adding a light weight entity stats object which is reference counted by both entity and the job and hence can safely be used from either side.
With that, the only other thing we need is to add a helper for adding the job's GPU time into the respective entity stats object, and call it once the accurate GPU time has been calculated.
--- drivers/gpu/drm/scheduler/sched_entity.c | 39 +++++++++++++ drivers/gpu/drm/scheduler/sched_internal.h | 66 ++++++++++++++++++++++ drivers/gpu/drm/scheduler/sched_main.c | 6 +- include/drm/gpu_scheduler.h | 12 ++++ 4 files changed, 122 insertions(+), 1 deletion(-)
drivers/gpu/drm/scheduler/sched_entity.c +39 -0
@@ -32,6 +32,39 @@#include "gpu_scheduler_trace.h" + +/** +* drm_sched_entity_stats_release - Entity stats kref release function +* +* @kref: Entity stats embedded kref pointer +*/ +void drm_sched_entity_stats_release (struct kref *kref) +{ +struct drm_sched_entity_stats *stats = +container_of (kref,typeof (*stats), kref); + +kfree (stats); +} + +/** +* drm_sched_entity_stats_alloc - Allocate a new struct drm_sched_entity_stats object +* +* Returns: Pointer to newly allocated struct drm_sched_entity_stats object. +*/ +static struct drm_sched_entity_stats *drm_sched_entity_stats_alloc (void ) +{ +struct drm_sched_entity_stats *stats; + + stats =kzalloc (sizeof (*stats),GFP_KERNEL ); +if (!stats) +return NULL ; + +kref_init (&stats->kref); +spin_lock_init (&stats->lock); + +return stats; +} +/** * drm_sched_entity_init - Init a context entity used by scheduler when * submit to HW ring.
@@ -65,6 +98,11 @@ int drm_sched_entity_init(struct drm_sched_entity *entity,return -EINVAL ;memset (entity,0 ,sizeof (struct drm_sched_entity )); + + entity->stats =drm_sched_entity_stats_alloc (); +if (!entity->stats) +return -ENOMEM ; +INIT_LIST_HEAD (&entity->list); entity->rq =NULL ; entity->guilty = guilty;
@@ -340,6 +378,7 @@ void drm_sched_entity_fini(struct drm_sched_entity *entity)dma_fence_put (rcu_dereference_check (entity->last_scheduled, true));RCU_INIT_POINTER (entity->last_scheduled,NULL ); +drm_sched_entity_stats_put (entity->stats); }EXPORT_SYMBOL (drm_sched_entity_fini);
drivers/gpu/drm/scheduler/sched_internal.h +66 -0
76 lines not on this page · raw message
drivers/gpu/drm/scheduler/sched_main.c +5 -1
@@ -620,6 +620,7 @@ void drm_sched_job_arm(struct drm_sched_job *job) job->sched = sched; job->s_priority = entity->priority; + job->entity_stats =drm_sched_entity_stats_get (entity->stats);drm_sched_fence_init (job->s_fence, job->entity); }
@@ -810,6 +811,7 @@ void drm_sched_job_cleanup(struct drm_sched_job *job)* been called. */ dma_fence_put (&job->s_fence->finished); +drm_sched_entity_stats_put (job->entity_stats); }else {/* The job was aborted before it has been committed to be run; * notably, drm_sched_job_arm() has not been called.
@@ -958,8 +960,10 @@ static void drm_sched_free_job_work(struct work_struct *w) container_of(w, struct drm_gpu_scheduler, work_free_job);struct drm_sched_job *job; -while ((job =drm_sched_get_finished_job (sched))) +while ((job =drm_sched_get_finished_job (sched))) { +drm_sched_entity_stats_job_add_gpu_time (job); sched->ops->free_job (job); + }drm_sched_run_job_queue (sched); }
include/drm/gpu_scheduler.h +12 -0
@@ -71,6 +71,8 @@ enum drm_sched_priority { DRM_SCHED_PRIORITY_COUNT }; +struct drm_sched_entity_stats ; +/** * struct drm_sched_entity - A wrapper around a job queue (typically * attached to the DRM file_priv).
@@ -109,6 +111,11 @@ struct drm_sched_entity {*/ struct drm_sched_rq *rq; +/** +* @stats: Stats object reference held by the entity and jobs. +*/ +struct drm_sched_entity_stats *stats; +/** * @sched_list: *
@@ -357,6 +364,11 @@ struct drm_sched_job {struct drm_sched_fence *s_fence;struct drm_sched_entity *entity; +/** +* @entity_stats: Stats object reference held by the job and entity. +*/ +struct drm_sched_entity_stats *entity_stats; +enum drm_sched_priority s_priority;u32 credits;/** @last_dependency: tracks @dependencies as they signal */
Signature · 1 line
2.48.0
PATCH v6 11/15 drm/sched: Remove idle entity from tree
In reply to Tvrtko UrsulinThere is no need to keep entities with no jobs in the tree so lets remove it once the last job is consumed. This keeps the tree smaller which is nicer and more efficient as entities are removed and re-added on every popped job.
--- drivers/gpu/drm/scheduler/sched_rq.c | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-)
drivers/gpu/drm/scheduler/sched_rq.c +17 -11
@@ -19,6 +19,9 @@ drm_sched_entity_compare_before(struct rb_node *a, const struct rb_node *b)static void drm_sched_rq_remove_fifo_locked (struct drm_sched_entity *entity,struct drm_sched_rq *rq) { +lockdep_assert_held (&entity->lock); +lockdep_assert_held (&rq->lock); +if (!RB_EMPTY_NODE (&entity->rb_tree_node)) {rb_erase_cached (&entity->rb_tree_node, &rq->rb_tree_root);RB_CLEAR_NODE (&entity->rb_tree_node);
@@ -153,24 +156,27 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity) {struct drm_sched_job *next_job;struct drm_sched_rq *rq; -ktime_t ts;/* * Update the entity's location in the min heap according to * the timestamp of the next job, if any. */ +spin_lock (&entity->lock); + rq = entity->rq; +spin_lock (&rq->lock); next_job =drm_sched_entity_queue_peek (entity); -if (!next_job) -return ; +if (next_job) { +ktime_t ts; -spin_lock (&entity->lock); - rq = entity->rq; -spin_lock (&rq->lock); -if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) - ts = next_job->submit_ts; -else - ts =drm_sched_rq_get_rr_deadline (rq); -drm_sched_rq_update_fifo_locked (entity, rq, ts); +if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) + ts = next_job->submit_ts; +else + ts =drm_sched_rq_get_rr_deadline (rq); + +drm_sched_rq_update_fifo_locked (entity, rq, ts); + }else { +drm_sched_rq_remove_fifo_locked (entity, rq); + }spin_unlock (&rq->lock);spin_unlock (&entity->lock); }
Signature · 1 line
2.48.0
PATCH v6 12/15 drm/sched: Add fair scheduling policy
In reply to Tvrtko UrsulinFair scheduling policy is built upon the same concepts as the well known CFS kernel scheduler - entity run queue is sorted by the virtual GPU time consumed by entities in a way that the entity with least vruntime runs first.
It is able to avoid total priority starvation, which is one of the problems with FIFO, and it also eliminates the need for per priority run queues. As it scales the actual GPU runtime by an exponential factor as the priority decreases, therefore the virtual runtime for low priority entities grows faster than for normal priority, pushing them further down the runqueue order for the same real GPU time spent.
Apart from this fundamental fairness, fair policy is especially strong in oversubscription workloads where it is able to give more GPU time to short and bursty workloads when they are running in parallel with GPU heavy clients submitting deep job queues.
--- drivers/gpu/drm/scheduler/sched_entity.c | 28 +++++---- drivers/gpu/drm/scheduler/sched_internal.h | 70 +++++++++++++++++++++- drivers/gpu/drm/scheduler/sched_main.c | 14 +++-- drivers/gpu/drm/scheduler/sched_rq.c | 35 ++++++++++- include/drm/gpu_scheduler.h | 3 + 5 files changed, 131 insertions(+), 19 deletions(-)
drivers/gpu/drm/scheduler/sched_entity.c +18 -10
@@ -108,6 +108,8 @@ int drm_sched_entity_init(struct drm_sched_entity *entity, entity->guilty = guilty; entity->num_sched_list = num_sched_list; entity->priority = priority; + entity->rq_priority = drm_sched_policy ==DRM_SCHED_POLICY_FAIR ? +DRM_SCHED_PRIORITY_KERNEL : priority;/* * It's perfectly valid to initialize an entity without having a valid * scheduler attached. It's just not valid to use the scheduler before it
@@ -124,17 +126,23 @@ int drm_sched_entity_init(struct drm_sched_entity *entity,*/ pr_warn ("%s: called with uninitialized scheduler\n" , __func__); }else if (num_sched_list) { -/* The "priority" of an entity cannot exceed the number of run-queues of a -* scheduler. Protect against num_rqs being 0, by converting to signed. Choose -* the lowest priority available. +enum drm_sched_priority p = entity->priority; + +/* +* The "priority" of an entity cannot exceed the number of +* run-queues of a scheduler. Protect against num_rqs being 0, +* by converting to signed. Choose the lowest priority +* available. */ -if (entity->priority >= sched_list[0 ]->num_rqs) { -dev_err (sched_list[0 ]->dev,"entity has out-of-bounds priority: %u. num_rqs: %u\n" , - entity->priority, sched_list[0 ]->num_rqs); - entity->priority =max_t (s32, (s32 ) sched_list[0 ]->num_rqs -1 , - (s32 )DRM_SCHED_PRIORITY_KERNEL ); +if (p >= sched_list[0 ]->num_user_rqs) { +dev_err (sched_list[0 ]->dev,"entity with out-of-bounds priority:%u num_user_rqs:%u\n" , + p, sched_list[0 ]->num_user_rqs); + p =max_t (s32, + (s32 )sched_list[0 ]->num_user_rqs -1 , + (s32 )DRM_SCHED_PRIORITY_KERNEL ); + entity->priority = p; } - entity->rq = sched_list[0 ]->sched_rq[entity->priority]; + entity->rq = sched_list[0 ]->sched_rq[entity->rq_priority]; }init_completion (&entity->entity_idle);
@@ -583,7 +591,7 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity)spin_lock (&entity->lock); sched =drm_sched_pick_best (entity->sched_list, entity->num_sched_list); - rq = sched ? sched->sched_rq[entity->priority] :NULL ; + rq = sched ? sched->sched_rq[entity->rq_priority] :NULL ;if (rq != entity->rq) {drm_sched_rq_remove_entity (entity->rq, entity); entity->rq = rq;
drivers/gpu/drm/scheduler/sched_internal.h +68 -2
85 lines not on this page · raw message
drivers/gpu/drm/scheduler/sched_main.c +9 -5
@@ -84,13 +84,13 @@#define CREATE_TRACE_POINTS #include "gpu_scheduler_trace.h" -int drm_sched_policy =DRM_SCHED_POLICY_FIFO ; +int drm_sched_policy =DRM_SCHED_POLICY_FAIR ;/** * DOC: sched_policy (int) * Used to override default entities scheduling policy in a run queue. */ -MODULE_PARM_DESC(sched_policy, "Specify the scheduling policy for entities on a run-queue, " __stringify(DRM_SCHED_POLICY_RR) " = Round Robin, " __stringify(DRM_SCHED_POLICY_FIFO) " = FIFO (default)."); +MODULE_PARM_DESC(sched_policy, "Specify the scheduling policy for entities on a run-queue, " __stringify(DRM_SCHED_POLICY_RR) " = Round Robin, " __stringify(DRM_SCHED_POLICY_FIFO) " = FIFO, " __stringify(DRM_SCHED_POLICY_FAIR) " = Fair (default).");module_param_named (sched_policy, drm_sched_policy, int,0444 );static u32 drm_sched_available_credits (struct drm_gpu_scheduler *sched)
@@ -1093,11 +1093,15 @@ int drm_sched_init(struct drm_gpu_scheduler *sched, const struct drm_sched_init_ sched->own_submit_wq = true; } - sched->sched_rq =kmalloc_array (args->num_rqs,sizeof (*sched->sched_rq), + sched->num_user_rqs = args->num_rqs; + sched->num_rqs = drm_sched_policy !=DRM_SCHED_POLICY_FAIR ? + args->num_rqs :1 ; + sched->sched_rq =kmalloc_array (sched->num_rqs, +sizeof (*sched->sched_rq),GFP_KERNEL | __GFP_ZERO);if (!sched->sched_rq) goto Out_check_own; - sched->num_rqs = args->num_rqs; +for (i =DRM_SCHED_PRIORITY_KERNEL ; i < sched->num_rqs; i++) { sched->sched_rq[i] =kzalloc (sizeof (*sched->sched_rq[i]),GFP_KERNEL );if (!sched->sched_rq[i])
@@ -1212,7 +1216,7 @@ void drm_sched_increase_karma(struct drm_sched_job *bad)if (bad->s_priority !=DRM_SCHED_PRIORITY_KERNEL ) {atomic_inc (&bad->karma); -for (i =DRM_SCHED_PRIORITY_HIGH ; i < sched->num_rqs; i++) { +for (i =DRM_SCHED_PRIORITY_KERNEL ; i < sched->num_rqs; i++) {struct drm_sched_rq *rq = sched->sched_rq[i];spin_lock (&rq->lock);
drivers/gpu/drm/scheduler/sched_rq.c +33 -2
@@ -75,6 +75,23 @@ drm_sched_rq_get_rr_deadline(struct drm_sched_rq *rq)return rq->rr_deadline; } +static ktime_t +drm_sched_rq_get_min_vruntime (struct drm_sched_rq *rq) +{ +struct drm_sched_entity *entity; +struct rb_node *rb; + +lockdep_assert_held (&rq->lock); + +for (rb =rb_first_cached (&rq->rb_tree_root); rb; rb =rb_next (rb)) { + entity =rb_entry (rb,typeof (*entity), rb_tree_node); + +return entity->stats->vruntime;/* Unlocked read */ + } + +return 0 ; +} +/** * drm_sched_rq_add_entity - add an entity *
@@ -109,8 +126,13 @@ drm_sched_rq_add_entity(struct drm_sched_entity *entity, ktime_t ts)list_add_tail (&entity->list, &rq->entities); } -if (drm_sched_policy ==DRM_SCHED_POLICY_RR ) +if (drm_sched_policy ==DRM_SCHED_POLICY_FAIR ) { + ts =drm_sched_rq_get_min_vruntime (rq); + ts =drm_sched_entity_restore_vruntime (entity, ts); + }else if (drm_sched_policy ==DRM_SCHED_POLICY_RR ) { ts =drm_sched_rq_get_rr_deadline (rq); + } +drm_sched_rq_update_fifo_locked (entity, rq, ts);spin_unlock (&rq->lock);
@@ -168,7 +190,9 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)if (next_job) {ktime_t ts; -if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) +if (drm_sched_policy ==DRM_SCHED_POLICY_FAIR ) + ts =drm_sched_entity_get_job_ts (entity); +else if (drm_sched_policy ==DRM_SCHED_POLICY_FIFO ) ts = next_job->submit_ts;else ts =drm_sched_rq_get_rr_deadline (rq);
@@ -176,6 +200,13 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)drm_sched_rq_update_fifo_locked (entity, rq, ts); }else {drm_sched_rq_remove_fifo_locked (entity, rq); + +if (drm_sched_policy ==DRM_SCHED_POLICY_FAIR ) { +ktime_t min_vruntime; + + min_vruntime =drm_sched_rq_get_min_vruntime (rq); +drm_sched_entity_save_vruntime (entity, min_vruntime); + } }spin_unlock (&rq->lock);spin_unlock (&entity->lock);
include/drm/gpu_scheduler.h +3 -0
@@ -154,6 +154,8 @@ struct drm_sched_entity {*/ struct spsc_queue job_queue; +enum drm_sched_priority rq_priority; +/** * @fence_seq: *
@@ -568,6 +570,7 @@ struct drm_gpu_scheduler {long timeout;const char *name;u32 num_rqs; +u32 num_user_rqs;struct drm_sched_rq **sched_rq;wait_queue_head_t job_scheduled;atomic64_t job_id_count;
Signature · 1 line
2.48.0
PATCH v6 13/15 drm/sched: Remove FIFO and RR and simplify to a single run queue
In reply to Tvrtko UrsulinIf the new fair policy is at least as good as FIFO and we can afford to remove round-robin, we can simplify the scheduler code by making the scheduler to run queue relationship always 1:1 and remove some code.
Also, now that the FIFO policy is gone the tree of entities is not a FIFO tree any more so rename it to just the tree.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 23 ++-- drivers/gpu/drm/scheduler/sched_entity.c | 29 +---- drivers/gpu/drm/scheduler/sched_internal.h | 9 +- drivers/gpu/drm/scheduler/sched_main.c | 133 +++++---------------- drivers/gpu/drm/scheduler/sched_rq.c | 53 +++----- include/drm/gpu_scheduler.h | 13 +- 6 files changed, 62 insertions(+), 198 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +10 -13
@@ -438,25 +438,22 @@ drm_sched_entity_queue_pop(struct drm_sched_entity *entity)void amdgpu_job_stop_all_jobs_on_sched (struct drm_gpu_scheduler *sched) { +struct drm_sched_rq *rq = sched->rq; +struct drm_sched_entity *s_entity;struct drm_sched_job *s_job; -struct drm_sched_entity *s_entity =NULL ; -int i;/* Signal all jobs not yet scheduled */ -for (i =DRM_SCHED_PRIORITY_KERNEL ; i < sched->num_rqs; i++) { -struct drm_sched_rq *rq = sched->sched_rq[i]; -spin_lock (&rq->lock); -list_for_each_entry (s_entity, &rq->entities, list) { -while ((s_job =drm_sched_entity_queue_pop (s_entity))) { -struct drm_sched_fence *s_fence = s_job->s_fence; +spin_lock (&rq->lock); +list_for_each_entry (s_entity, &rq->entities, list) { +while ((s_job =drm_sched_entity_queue_pop (s_entity))) { +struct drm_sched_fence *s_fence = s_job->s_fence; -dma_fence_signal (&s_fence->scheduled); -dma_fence_set_error (&s_fence->finished, -EHWPOISON ); -dma_fence_signal (&s_fence->finished); - } +dma_fence_signal (&s_fence->scheduled); +dma_fence_set_error (&s_fence->finished, -EHWPOISON ); +dma_fence_signal (&s_fence->finished); } -spin_unlock (&rq->lock); } +spin_unlock (&rq->lock);/* Signal all jobs already scheduled to HW */ list_for_each_entry (s_job, &sched->pending_list, list) {
drivers/gpu/drm/scheduler/sched_entity.c +4 -25
@@ -108,8 +108,6 @@ int drm_sched_entity_init(struct drm_sched_entity *entity, entity->guilty = guilty; entity->num_sched_list = num_sched_list; entity->priority = priority; - entity->rq_priority = drm_sched_policy ==DRM_SCHED_POLICY_FAIR ? -DRM_SCHED_PRIORITY_KERNEL : priority;/* * It's perfectly valid to initialize an entity without having a valid * scheduler attached. It's just not valid to use the scheduler before it
@@ -119,30 +117,14 @@ int drm_sched_entity_init(struct drm_sched_entity *entity,RCU_INIT_POINTER (entity->last_scheduled,NULL );RB_CLEAR_NODE (&entity->rb_tree_node); -if (num_sched_list && !sched_list[0 ]->sched_rq) { +if (num_sched_list && !sched_list[0 ]->rq) {/* Since every entry covered by num_sched_list * should be non-NULL and therefore we warn drivers * not to do this and to fix their DRM calling order. */ pr_warn ("%s: called with uninitialized scheduler\n" , __func__); }else if (num_sched_list) { -enum drm_sched_priority p = entity->priority; - -/* -* The "priority" of an entity cannot exceed the number of -* run-queues of a scheduler. Protect against num_rqs being 0, -* by converting to signed. Choose the lowest priority -* available. -*/ -if (p >= sched_list[0 ]->num_user_rqs) { -dev_err (sched_list[0 ]->dev,"entity with out-of-bounds priority:%u num_user_rqs:%u\n" , - p, sched_list[0 ]->num_user_rqs); - p =max_t (s32, - (s32 )sched_list[0 ]->num_user_rqs -1 , - (s32 )DRM_SCHED_PRIORITY_KERNEL ); - entity->priority = p; - } - entity->rq = sched_list[0 ]->sched_rq[entity->rq_priority]; + entity->rq = sched_list[0 ]->rq; }init_completion (&entity->entity_idle);
@@ -591,7 +573,7 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity)spin_lock (&entity->lock); sched =drm_sched_pick_best (entity->sched_list, entity->num_sched_list); - rq = sched ? sched->sched_rq[entity->rq_priority] :NULL ; + rq = sched ? sched->rq :NULL ;if (rq != entity->rq) {drm_sched_rq_remove_entity (entity->rq, entity); entity->rq = rq;
@@ -615,7 +597,6 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job) {struct drm_sched_entity *entity = sched_job->entity;bool first; -ktime_t submit_ts;trace_drm_sched_job_queue (sched_job, entity);
@@ -632,16 +613,14 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job)/* * After the sched_job is pushed into the entity queue, it may be * completed and freed up at any time. We can no longer access it. -* Make sure to set the submit_ts first, to avoid a race. */ - sched_job->submit_ts = submit_ts =ktime_get (); first =spsc_queue_push (&entity->job_queue, &sched_job->queue_node);/* first job wakes up scheduler */ if (first) {struct drm_gpu_scheduler *sched; - sched =drm_sched_rq_add_entity (entity, submit_ts); + sched =drm_sched_rq_add_entity (entity);if (sched)drm_sched_wakeup (sched); }
drivers/gpu/drm/scheduler/sched_internal.h +1 -8
@@ -22,13 +22,6 @@ struct drm_sched_entity_stats {u64 vruntime; }; -/* Used to choose between FIFO and RR job-scheduling */ -extern int drm_sched_policy; - -#define DRM_SCHED_POLICY_RR 0 -#define DRM_SCHED_POLICY_FIFO 1 -#define DRM_SCHED_POLICY_FAIR 2 -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched,struct drm_sched_entity *entity);void drm_sched_wakeup (struct drm_gpu_scheduler *sched);
@@ -39,7 +32,7 @@ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, struct drm_sched_rq *rq);struct drm_gpu_scheduler * -drm_sched_rq_add_entity (struct drm_sched_entity *entity,ktime_t ts); +drm_sched_rq_add_entity (struct drm_sched_entity *entity);void drm_sched_rq_remove_entity (struct drm_sched_rq *rq,struct drm_sched_entity *entity);void drm_sched_rq_pop_entity (struct drm_sched_entity *entity);
drivers/gpu/drm/scheduler/sched_main.c +31 -102
210 lines not on this page · raw message
drivers/gpu/drm/scheduler/sched_rq.c +15 -38
106 lines not on this page · raw message
include/drm/gpu_scheduler.h +1 -12
@@ -154,8 +154,6 @@ struct drm_sched_entity {*/ struct spsc_queue job_queue; -enum drm_sched_priority rq_priority; -/** * @fence_seq: *
@@ -347,13 +345,6 @@ struct drm_sched_fence *to_drm_sched_fence(struct dma_fence *f);* to schedule the job. */ struct drm_sched_job { -/** -* @submit_ts: -* -* When the job was pushed into the entity queue. -*/ -ktime_t submit_ts; -/** * @sched: *
@@ -569,9 +560,7 @@ struct drm_gpu_scheduler {atomic_t credit_count;long timeout;const char *name; -u32 num_rqs; -u32 num_user_rqs; -struct drm_sched_rq **sched_rq; +struct drm_sched_rq *rq;wait_queue_head_t job_scheduled;atomic64_t job_id_count;struct workqueue_struct *submit_wq;
Signature · 1 line
2.48.0
PATCH v6 14/15 drm/sched: Queue all free credits in one worker invocation
In reply to Tvrtko UrsulinThere is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more. We can simply feed the hardware with as much as it can take in one go and hopefully win some latency.
--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)
drivers/gpu/drm/scheduler/sched_internal.h +0 -2
@@ -22,8 +22,6 @@ struct drm_sched_entity_stats {u64 vruntime; }; -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity);void drm_sched_wakeup (struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,
drivers/gpu/drm/scheduler/sched_main.c +63 -69
152 lines not on this page · raw message
drivers/gpu/drm/scheduler/sched_rq.c +1 -11
@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,
@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node);if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in -* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } -reinit_completion (&entity->entity_idle);break ; }
Signature · 1 line
2.48.0
Re: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 91 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more
and re-queue the worker to queue more. We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>---
drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++--------- --
drivers/gpu/drm/scheduler/sched_rq.c | 12 +-3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-0@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; };drivers/gpu/drm/scheduler/sched_internal.h +0
-2-bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity);void
drm_sched_wakeup(struct drm_gpu_scheduler *sched);
void drm_sched_rq_init(structdrm_gpu_scheduler*sched,drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; }
-/**
- *drm_sched_can_queue-- Can we queue more to the hardware?
- * @sched: scheduler instance
- * @entity: the scheduler entity
- *
- * Return true if we can push at least one more job from @entity, false
- * otherwise.
- */drivers/gpu/drm/scheduler/sched_main.c +0
-10-bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity) -{ -struct drm_sched_job *s_job; - - s_job =drm_sched_entity_queue_peek (entity); -if (!s_job) -return false; - -/* If a job exceeds the credit limit, truncate it to the credit limit
drivers/gpu/drm/scheduler/sched_main.c +0
-5-* itself to guarantee forward progress. -*/ -if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit,truncate.\n");
drivers/gpu/drm/scheduler/sched_main.c +0
-6- s_job->credits = sched->credit_limit; - } - -return drm_sched_available_credits (sched) >= s_job->credits; -} -/**
*drm_sched_run_job_queue- enqueue run-job work
* @sched: scheduler instancedrivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) {struct
drm_gpu_scheduler*sched =container_of(w, struct drm_gpu_scheduler, work_run_job);drivers/gpu/drm/scheduler/sched_main.c +1
-0+u32 job_credits, submitted_credits =0 ;struct
drm_sched_entity*entity;drivers/gpu/drm/scheduler/sched_main.c +0
-1-struct dma_fence *fence;struct
drm_sched_fence*s_fence;
structdrm_sched_job*sched_job;drivers/gpu/drm/scheduler/sched_main.c +1
-1-int r; +struct dma_fence *fence;
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_job_work(struct work_struct *w) · line 920
Quoted 5 lines
drivers/gpu/drm/scheduler/sched_main.c +1
-4-/* Find entity with a ready job */ - entity =drm_sched_rq_select_entity (sched, sched->rq); -if (IS_ERR_OR_NULL (entity)) -return ;/* No more work */ +while (!READ_ONCE (sched->pause_submit)) {
I had it on my agenda whether we can remove these atomic booleans once and for all. If we can't, we probably want to document why they are there.
Quoted 53 lines
drivers/gpu/drm/scheduler/sched_main.c +2
-0+/* Find entity with a ready job */ + entity = drm_sched_rq_select_entity(sched, sched-Quoted 1 line
rq);
drivers/gpu/drm/scheduler/sched_main.c +12
-0+if (!entity) +break ;/* No more work */ + + sched_job =drm_sched_entity_queue_peek (entity); +if (!sched_job) { +complete_all (&entity->entity_idle); +continue ; + } + + job_credits = sched_job->credits; +/* +* If a job exceeds the credit limit truncate it to guarantee
drivers/gpu/drm/scheduler/sched_main.c +3
-0+* forward progress. +*/ + if (dev_WARN_ONCE(sched->dev, job_credits > sched-Quoted 1 line
credit_limit,drivers/gpu/drm/scheduler/sched_main.c +1
-0+ "Jobs may not exceed the creditlimit, truncating.\n"))
drivers/gpu/drm/scheduler/sched_main.c +1
-0+ job_credits = sched_job->credits = sched-Quoted 1 line
credit_limit;drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + if (job_credits >
drm_sched_available_credits(sched)) {drivers/gpu/drm/scheduler/sched_main.c +7
-0+complete_all (&entity->entity_idle); +break ; + } + + sched_job =drm_sched_entity_pop_job (entity); +if (!sched_job) { +/* Top entity is not yet runnable after all */
drivers/gpu/drm/scheduler/sched_main.c +17
-0+complete_all (&entity->entity_idle); +continue ; + } + + s_fence = sched_job->s_fence; +drm_sched_job_begin (sched_job); +trace_drm_sched_job_run (sched_job, entity); + submitted_credits += job_credits; +atomic_add (job_credits, &sched->credit_count); + + fence = sched->ops->run_job (sched_job); +drm_sched_fence_scheduled (s_fence, fence); + +if (!IS_ERR_OR_NULL (fence)) { +int r; + +/* Drop for original kref_init of the fence */
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_job_work(struct work_struct *w) · line 966
Quoted 1 line
drivers/gpu/drm/scheduler/sched_main.c +1
-0+dma_fence_put (fence);
Not sure if you're aware, but this is based on quite some outdated code. In mainline this function has been reworked a while ago.
P.
Quoted 101 lines
drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + r = dma_fence_add_callback(fence,
&sched_job->cb,drivers/gpu/drm/scheduler/sched_main.c +1
-0+
drm_sched_job_done_cb);drivers/gpu/drm/scheduler/sched_main.c +2
-0+if (r == -ENOENT ) + drm_sched_job_done(sched_job, fence-Quoted 1 line
error);
drivers/gpu/drm/scheduler/sched_main.c +3
-0+else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callbackfailed (%d)\n", r);
drivers/gpu/drm/scheduler/sched_main.c +2
-0+ }else { + drm_sched_job_done(sched_job, IS_ERR(fence)?
drivers/gpu/drm/scheduler/sched_main.c +1
-0+ PTR_ERR(fence): 0);
drivers/gpu/drm/scheduler/sched_main.c +1
-0+ }drivers/gpu/drm/scheduler/sched_main.c +0
-2- sched_job =drm_sched_entity_pop_job (entity); -if (!sched_job) {
complete_all(&entity->entity_idle);drivers/gpu/drm/scheduler/sched_main.c +0
-2-drm_sched_run_job_queue (sched); -return ;}
drivers/gpu/drm/scheduler/sched_main.c +0
-8- s_fence = sched_job->s_fence; - -atomic_add (sched_job->credits, &sched->credit_count); -drm_sched_job_begin (sched_job); - -trace_drm_sched_job_run (sched_job, entity); -/* -* The run_job() callback must by definition return a fence whose
drivers/gpu/drm/scheduler/sched_main.c +0
-13-* refcount has been incremented for the scheduler already. -*/ - fence = sched->ops->run_job (sched_job); -complete_all (&entity->entity_idle); -drm_sched_fence_scheduled (s_fence, fence); - -if (!IS_ERR_OR_NULL (fence)) { - r =dma_fence_add_callback (fence, &sched_job->cb, - drm_sched_job_done_cb); -if (r == -ENOENT ) -drm_sched_job_done (sched_job, fence->error); -else if (r) - DRM_DEV_ERROR(sched->dev, "fence addcallback failed (%d)\n", r);
drivers/gpu/drm/scheduler/sched_main.c +2
-9- -dma_fence_put (fence); - }else { -drm_sched_job_done (sched_job,IS_ERR (fence) ? - PTR_ERR(fence) : 0); - } - -wake_up (&sched->job_scheduled); -drm_sched_run_job_queue (sched); +if (submitted_credits) +wake_up (&sched->job_scheduled);}
static structworkqueue_struct*drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +0
-1@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity) * * Find oldest waiting ready entity. * - * Return an entity if one is found; return an error-pointer (!NULL)if an
- * entity was ready, but the scheduler had insufficient credits to accommodate
- * its job; return NULL, if no ready entity was found.
+ * Return an entity if one is found or NULL if no ready entity was found.
*/
structdrm_sched_entity* drm_sched_rq_select_entity(structdrm_gpu_scheduler*sched,drivers/gpu/drm/scheduler/sched_rq.c +0
-0@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,
entity =rb_entry(rb, struct drm_sched_entity, rb_tree_node);
if (drm_sched_entity_is_ready(entity)) {drivers/gpu/drm/scheduler/sched_rq.c +0
-1-/* If we can't queue yet, preserve the current entity in
drivers/gpu/drm/scheduler/sched_rq.c +0
-7-* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } -
reinit_completion(&entity->entity_idle); break;
}
Re: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 92 lines · Philipp Stanner
Quoted 91 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more
and re-queue the worker to queue more. We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++--------- -- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-2@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; }; -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity); void drm_sched_wakeup(struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +0
-6@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; } -/** -* drm_sched_can_queue -- Can we queue more to the hardware? -* @sched: scheduler instance -* @entity: the scheduler entity -* -* Return true if we can push at least one more job from @entity, false
- * otherwise.
- */drivers/gpu/drm/scheduler/sched_main.c +0
-10-bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity) -{ -struct drm_sched_job *s_job; - - s_job =drm_sched_entity_queue_peek (entity); -if (!s_job) -return false; - -/* If a job exceeds the credit limit, truncate it to the credit limit
drivers/gpu/drm/scheduler/sched_main.c +0
-5-* itself to guarantee forward progress. -*/ -if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit,truncate.\n");
drivers/gpu/drm/scheduler/sched_main.c +2
-8- s_job->credits = sched->credit_limit; - } - -return drm_sched_available_credits (sched) >= s_job->credits; -} - /*** drm_sched_run_job_queue - enqueue run-job work * @sched: scheduler instance @@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) { struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_run_job); +u32 job_credits, submitted_credits =0 ; struct drm_sched_entity *entity; -struct dma_fence *fence; struct drm_sched_fence *s_fence; struct drm_sched_job *sched_job; -int r; +struct dma_fence *fence;
Quoted 9 lines
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_job_work(struct work_struct *w) · line 920
Quoted 5 lines
drivers/gpu/drm/scheduler/sched_main.c +1
-4-/* Find entity with a ready job */ - entity =drm_sched_rq_select_entity (sched, sched->rq); -if (IS_ERR_OR_NULL (entity)) -return ;/* No more work */ +while (!READ_ONCE (sched->pause_submit)) {I had it on my agenda whether we can remove these atomic booleans once and for all. If we can't, we probably want to document why they are there.
It would indeed be nice to remove them. But hopefully out of scope of this series.
Quoted 49 lines
Quoted 49 lines
drivers/gpu/drm/scheduler/sched_main.c +14
-0+/* Find entity with a ready job */ + entity =drm_sched_rq_select_entity (sched, sched- > rq); +if (!entity) +break ;/* No more work */ + + sched_job =drm_sched_entity_queue_peek (entity); +if (!sched_job) { +complete_all (&entity->entity_idle); +continue ; + } + + job_credits = sched_job->credits; +/* +* If a job exceeds the credit limit truncate it to guarantee
drivers/gpu/drm/scheduler/sched_main.c +3
-0+* forward progress. +*/ + if (dev_WARN_ONCE(sched->dev, job_credits > sched-Quoted 1 line
credit_limit,drivers/gpu/drm/scheduler/sched_main.c +1
-0+ "Jobs may not exceed the creditlimit, truncating.\n"))
drivers/gpu/drm/scheduler/sched_main.c +1
-0+ job_credits = sched_job->credits = sched-Quoted 1 line
credit_limit;drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + if (job_credits >
drm_sched_available_credits(sched)) {drivers/gpu/drm/scheduler/sched_main.c +7
-0+complete_all (&entity->entity_idle); +break ; + } + + sched_job =drm_sched_entity_pop_job (entity); +if (!sched_job) { +/* Top entity is not yet runnable after all */
drivers/gpu/drm/scheduler/sched_main.c +14
-0+complete_all (&entity->entity_idle); +continue ; + } + + s_fence = sched_job->s_fence; +drm_sched_job_begin (sched_job); +trace_drm_sched_job_run (sched_job, entity); + submitted_credits += job_credits; +atomic_add (job_credits, &sched->credit_count); + + fence = sched->ops->run_job (sched_job); +drm_sched_fence_scheduled (s_fence, fence); + +if (!IS_ERR_OR_NULL (fence)) {
Quoted 8 lines
drivers/gpu/drm/scheduler/sched_main.c static void drm_sched_run_job_work(struct work_struct *w) · line 966
Quoted 5 lines
drivers/gpu/drm/scheduler/sched_main.c +3
-0+int r; + +/* Drop for original kref_init of the fence */
drivers/gpu/drm/scheduler/sched_main.c +1
-0+dma_fence_put (fence);Not sure if you're aware, but this is based on quite some outdated code. In mainline this function has been reworked a while ago.
Well spotted, I missed 72ebc18b3499 ("drm/sched: Document run_job() refcount hazard"). Will fix.
Regards,
Tvrtko
Quoted 102 lines
Quoted 101 lines
drivers/gpu/drm/scheduler/sched_main.c +2
-0+ + r = dma_fence_add_callback(fence,
&sched_job->cb,drivers/gpu/drm/scheduler/sched_main.c +1
-0+
drm_sched_job_done_cb);drivers/gpu/drm/scheduler/sched_main.c +2
-0+if (r == -ENOENT ) + drm_sched_job_done(sched_job, fence-Quoted 1 line
error);
drivers/gpu/drm/scheduler/sched_main.c +3
-0+else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callbackfailed (%d)\n", r);
drivers/gpu/drm/scheduler/sched_main.c +2
-0+ }else { + drm_sched_job_done(sched_job, IS_ERR(fence)?
drivers/gpu/drm/scheduler/sched_main.c +1
-0+ PTR_ERR(fence): 0);
drivers/gpu/drm/scheduler/sched_main.c +1
-12+ } - sched_job =drm_sched_entity_pop_job (entity); -if (!sched_job) { complete_all(&entity->entity_idle); -drm_sched_run_job_queue (sched); -return ; } - s_fence = sched_job->s_fence; - -atomic_add (sched_job->credits, &sched->credit_count); -drm_sched_job_begin (sched_job); - -trace_drm_sched_job_run (sched_job, entity); -/* -* The run_job() callback must by definition return a fence whose
drivers/gpu/drm/scheduler/sched_main.c +0
-13-* refcount has been incremented for the scheduler already. -*/ - fence = sched->ops->run_job (sched_job); -complete_all (&entity->entity_idle); -drm_sched_fence_scheduled (s_fence, fence); - -if (!IS_ERR_OR_NULL (fence)) { - r =dma_fence_add_callback (fence, &sched_job->cb, - drm_sched_job_done_cb); -if (r == -ENOENT ) -drm_sched_job_done (sched_job, fence->error); -else if (r) - DRM_DEV_ERROR(sched->dev, "fence addcallback failed (%d)\n", r);
drivers/gpu/drm/scheduler/sched_main.c +2
-9- -dma_fence_put (fence); - }else { -drm_sched_job_done (sched_job,IS_ERR (fence) ? - PTR_ERR(fence) : 0); - } - -wake_up (&sched->job_scheduled); -drm_sched_run_job_queue (sched); +if (submitted_credits) +wake_up (&sched->job_scheduled); } static struct workqueue_struct *drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +0
-1@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity) * * Find oldest waiting ready entity. * - * Return an entity if one is found; return an error-pointer (!NULL)if an
- * entity was ready, but the scheduler had insufficient credits to accommodate
- * its job; return NULL, if no ready entity was found.
+ * Return an entity if one is found or NULL if no ready entity was found.
*/
structdrm_sched_entity* drm_sched_rq_select_entity(structdrm_gpu_scheduler*sched,drivers/gpu/drm/scheduler/sched_rq.c +0
-1@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(structdrm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); if (drm_sched_entity_is_ready(entity)) { -/* If we can't queue yet, preserve the current entity in
drivers/gpu/drm/scheduler/sched_rq.c +0
-7-* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } - reinit_completion(&entity->entity_idle); break; }
Christian König
maintainerRe: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
In reply to Tvrtko UrsulinQuoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
We explicitely removed submitting more than one job in each worker run.
Regards,
Christian.
Quoted 215 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-2@@ -22,8 +22,6 @@ struct drm_sched_entity_stats {u64 vruntime; }; -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity);void drm_sched_wakeup (struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +63
-69@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched)return credits; } -/** -* drm_sched_can_queue -- Can we queue more to the hardware? -* @sched: scheduler instance -* @entity: the scheduler entity -* -* Return true if we can push at least one more job from @entity, false -* otherwise. -*/ -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity) -{ -struct drm_sched_job *s_job; - - s_job =drm_sched_entity_queue_peek (entity); -if (!s_job) -return false; - -/* If a job exceeds the credit limit, truncate it to the credit limit -* itself to guarantee forward progress. -*/ -if (s_job->credits > sched->credit_limit) { -dev_WARN (sched->dev, -"Jobs may not exceed the credit limit, truncate.\n" ); - s_job->credits = sched->credit_limit; - } - -return drm_sched_available_credits (sched) >= s_job->credits; -} -/** * drm_sched_run_job_queue - enqueue run-job work * @sched: scheduler instance @@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) {struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_run_job); +u32 job_credits, submitted_credits =0 ;struct drm_sched_entity *entity; -struct dma_fence *fence;struct drm_sched_fence *s_fence;struct drm_sched_job *sched_job; -int r; +struct dma_fence *fence; -/* Find entity with a ready job */ - entity =drm_sched_rq_select_entity (sched, sched->rq); -if (IS_ERR_OR_NULL (entity)) -return ;/* No more work */ +while (!READ_ONCE (sched->pause_submit)) { +/* Find entity with a ready job */ + entity =drm_sched_rq_select_entity (sched, sched->rq); +if (!entity) +break ;/* No more work */ + + sched_job =drm_sched_entity_queue_peek (entity); +if (!sched_job) { +complete_all (&entity->entity_idle); +continue ; + } + + job_credits = sched_job->credits; +/* +* If a job exceeds the credit limit truncate it to guarantee +* forward progress. +*/ +if (dev_WARN_ONCE (sched->dev, job_credits > sched->credit_limit, +"Jobs may not exceed the credit limit, truncating.\n" )) + job_credits = sched_job->credits = sched->credit_limit; + +if (job_credits >drm_sched_available_credits (sched)) { +complete_all (&entity->entity_idle); +break ; + } + + sched_job =drm_sched_entity_pop_job (entity); +if (!sched_job) { +/* Top entity is not yet runnable after all */ +complete_all (&entity->entity_idle); +continue ; + } + + s_fence = sched_job->s_fence; +drm_sched_job_begin (sched_job); +trace_drm_sched_job_run (sched_job, entity); + submitted_credits += job_credits; +atomic_add (job_credits, &sched->credit_count); + + fence = sched->ops->run_job (sched_job); +drm_sched_fence_scheduled (s_fence, fence); + +if (!IS_ERR_OR_NULL (fence)) { +int r; + +/* Drop for original kref_init of the fence */ +dma_fence_put (fence); + + r =dma_fence_add_callback (fence, &sched_job->cb, + drm_sched_job_done_cb); +if (r == -ENOENT ) +drm_sched_job_done (sched_job, fence->error); +else if (r) +DRM_DEV_ERROR (sched->dev, +"fence add callback failed (%d)\n" , r); + }else { +drm_sched_job_done (sched_job,IS_ERR (fence) ? +PTR_ERR (fence) :0 ); + } - sched_job =drm_sched_entity_pop_job (entity); -if (!sched_job) {complete_all (&entity->entity_idle); -drm_sched_run_job_queue (sched); -return ; } - s_fence = sched_job->s_fence; - -atomic_add (sched_job->credits, &sched->credit_count); -drm_sched_job_begin (sched_job); - -trace_drm_sched_job_run (sched_job, entity); -/* -* The run_job() callback must by definition return a fence whose -* refcount has been incremented for the scheduler already. -*/ - fence = sched->ops->run_job (sched_job); -complete_all (&entity->entity_idle); -drm_sched_fence_scheduled (s_fence, fence); - -if (!IS_ERR_OR_NULL (fence)) { - r =dma_fence_add_callback (fence, &sched_job->cb, - drm_sched_job_done_cb); -if (r == -ENOENT ) -drm_sched_job_done (sched_job, fence->error); -else if (r) -DRM_DEV_ERROR (sched->dev,"fence add callback failed (%d)\n" , r); - -dma_fence_put (fence); - }else { -drm_sched_job_done (sched_job,IS_ERR (fence) ? -PTR_ERR (fence) :0 ); - } - -wake_up (&sched->job_scheduled); -drm_sched_run_job_queue (sched); +if (submitted_credits) +wake_up (&sched->job_scheduled); }static struct workqueue_struct *drm_sched_alloc_wq (const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-11@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node);if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in -* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } -reinit_completion (&entity->entity_idle);break ; }
Re: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 9 lines · Christian König
Quoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
We explicitely removed submitting more than one job in each worker run.
I wanted to ask why, but then I had a look to see if anyone actually does this. And I did not find any driver sharing a single threaded workqueue between submit and timeout.
The only driver which even passes in the same workqueue for both is PVR, but it is not a single threaded one.
Or perhaps I misunderstood what you said. Could you please clarify either way?
Regards,
Tvrtko
Quoted 216 lines
Quoted 215 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-2@@ -22,8 +22,6 @@ struct drm_sched_entity_stats {u64 vruntime; }; -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity);void drm_sched_wakeup (struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +63
-69@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched)return credits; } -/** -* drm_sched_can_queue -- Can we queue more to the hardware? -* @sched: scheduler instance -* @entity: the scheduler entity -* -* Return true if we can push at least one more job from @entity, false -* otherwise. -*/ -bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, -struct drm_sched_entity *entity) -{ -struct drm_sched_job *s_job; - - s_job =drm_sched_entity_queue_peek (entity); -if (!s_job) -return false; - -/* If a job exceeds the credit limit, truncate it to the credit limit -* itself to guarantee forward progress. -*/ -if (s_job->credits > sched->credit_limit) { -dev_WARN (sched->dev, -"Jobs may not exceed the credit limit, truncate.\n" ); - s_job->credits = sched->credit_limit; - } - -return drm_sched_available_credits (sched) >= s_job->credits; -} -/** * drm_sched_run_job_queue - enqueue run-job work * @sched: scheduler instance @@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) {struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_run_job); +u32 job_credits, submitted_credits =0 ;struct drm_sched_entity *entity; -struct dma_fence *fence;struct drm_sched_fence *s_fence;struct drm_sched_job *sched_job; -int r; +struct dma_fence *fence; -/* Find entity with a ready job */ - entity =drm_sched_rq_select_entity (sched, sched->rq); -if (IS_ERR_OR_NULL (entity)) -return ;/* No more work */ +while (!READ_ONCE (sched->pause_submit)) { +/* Find entity with a ready job */ + entity =drm_sched_rq_select_entity (sched, sched->rq); +if (!entity) +break ;/* No more work */ + + sched_job =drm_sched_entity_queue_peek (entity); +if (!sched_job) { +complete_all (&entity->entity_idle); +continue ; + } + + job_credits = sched_job->credits; +/* +* If a job exceeds the credit limit truncate it to guarantee +* forward progress. +*/ +if (dev_WARN_ONCE (sched->dev, job_credits > sched->credit_limit, +"Jobs may not exceed the credit limit, truncating.\n" )) + job_credits = sched_job->credits = sched->credit_limit; + +if (job_credits >drm_sched_available_credits (sched)) { +complete_all (&entity->entity_idle); +break ; + } + + sched_job =drm_sched_entity_pop_job (entity); +if (!sched_job) { +/* Top entity is not yet runnable after all */ +complete_all (&entity->entity_idle); +continue ; + } + + s_fence = sched_job->s_fence; +drm_sched_job_begin (sched_job); +trace_drm_sched_job_run (sched_job, entity); + submitted_credits += job_credits; +atomic_add (job_credits, &sched->credit_count); + + fence = sched->ops->run_job (sched_job); +drm_sched_fence_scheduled (s_fence, fence); + +if (!IS_ERR_OR_NULL (fence)) { +int r; + +/* Drop for original kref_init of the fence */ +dma_fence_put (fence); + + r =dma_fence_add_callback (fence, &sched_job->cb, + drm_sched_job_done_cb); +if (r == -ENOENT ) +drm_sched_job_done (sched_job, fence->error); +else if (r) +DRM_DEV_ERROR (sched->dev, +"fence add callback failed (%d)\n" , r); + }else { +drm_sched_job_done (sched_job,IS_ERR (fence) ? +PTR_ERR (fence) :0 ); + } - sched_job =drm_sched_entity_pop_job (entity); -if (!sched_job) {complete_all (&entity->entity_idle); -drm_sched_run_job_queue (sched); -return ; } - s_fence = sched_job->s_fence; - -atomic_add (sched_job->credits, &sched->credit_count); -drm_sched_job_begin (sched_job); - -trace_drm_sched_job_run (sched_job, entity); -/* -* The run_job() callback must by definition return a fence whose -* refcount has been incremented for the scheduler already. -*/ - fence = sched->ops->run_job (sched_job); -complete_all (&entity->entity_idle); -drm_sched_fence_scheduled (s_fence, fence); - -if (!IS_ERR_OR_NULL (fence)) { - r =dma_fence_add_callback (fence, &sched_job->cb, - drm_sched_job_done_cb); -if (r == -ENOENT ) -drm_sched_job_done (sched_job, fence->error); -else if (r) -DRM_DEV_ERROR (sched->dev,"fence add callback failed (%d)\n" , r); - -dma_fence_put (fence); - }else { -drm_sched_job_done (sched_job,IS_ERR (fence) ? -PTR_ERR (fence) :0 ); - } - -wake_up (&sched->job_scheduled); -drm_sched_run_job_queue (sched); +if (submitted_credits) +wake_up (&sched->job_scheduled); }static struct workqueue_struct *drm_sched_alloc_wq (const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-11@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node);if (drm_sched_entity_is_ready (entity)) { -/* If we can't queue yet, preserve the current entity in -* terms of fairness. -*/ -if (!drm_sched_can_queue (sched, entity)) { -spin_unlock (&rq->lock); -return ERR_PTR (-ENOSPC ); - } -reinit_completion (&entity->entity_idle);break ; }
Christian König
maintainerRe: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Christian König
Quoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
Quoted 7 lines
Quoted 1 line
We explicitely removed submitting more than one job in each worker run.
I wanted to ask why, but then I had a look to see if anyone actually does this. And I did not find any driver sharing a single threaded workqueue between submit and timeout.
The only driver which even passes in the same workqueue for both is PVR, but it is not a single threaded one.
Or perhaps I misunderstood what you said. Could you please clarify either way?
You correctly understood that.
The argument was that submitting more than one job in a worker is simply not beneficial and other work items can jump in and execute.
I have no idea if that is actually used or not. You would need to dig up the discussion when we switched from a kernel thread to work items for the full background.
But in general to do as less work as possible in each worker and then re-submit it is usually a good idea.
Regards,
Christian.
Quoted 214 lines
Regards,
Tvrtko
Quoted 208 lines
Quoted 207 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>---
drivers/gpu/drm/scheduler/sched_internal.h| 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +-3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-1@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; }; -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity); void drm_sched_wakeup(struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; }-/**
- *drm_sched_can_queue-- Can we queue more to the hardware?
- * @sched: scheduler instance
- * @entity: the scheduler entity
- *
- * Return true if we can push at least one more job from @entity, false
- * otherwise.
- */drivers/gpu/drm/scheduler/sched_main.c +0
-21-bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity) -{ - struct drm_sched_job *s_job; - - s_job = drm_sched_entity_queue_peek(entity); - if (!s_job) - return false; - - /* If a job exceeds the credit limit, truncate it to the credit limit - * itself to guarantee forward progress. - */ - if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit, truncate.\n"); - s_job->credits = sched->credit_limit; - } - - return drm_sched_available_credits(sched) >= s_job->credits; -} -/**
*drm_sched_run_job_queue- enqueue run-job work
* @sched: scheduler instancedrivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) {struct
drm_gpu_scheduler*sched =
container_of(w, struct drm_gpu_scheduler, work_run_job); + u32job_credits,submitted_credits= 0;
structdrm_sched_entity*entity;
- structdma_fence*fence;
structdrm_sched_fence*s_fence;
structdrm_sched_job*sched_job;
- int r;
+ structdma_fence*fence;
- /* Find entity with a ready job */
- entity =drm_sched_rq_select_entity(sched, sched->rq); - if (IS_ERR_OR_NULL(entity))
- return; /* No more work */
+ while (!READ_ONCE(sched->pause_submit)) {
+ /* Find entity with a ready job */
+ entity =drm_sched_rq_select_entity(sched, sched->rq); + if (!entity)
+ break; /* No more work */drivers/gpu/drm/scheduler/sched_main.c +54
-0+ + sched_job = drm_sched_entity_queue_peek(entity); + if (!sched_job) { + complete_all(&entity->entity_idle); + continue; + } + + job_credits = sched_job->credits; + /* + * If a job exceeds the credit limit truncate it to guarantee + * forward progress. + */ + if (dev_WARN_ONCE(sched->dev, job_credits > sched->credit_limit, + "Jobs may not exceed the credit limit, truncating.\n")) + job_credits = sched_job->credits = sched->credit_limit; + + if (job_credits > drm_sched_available_credits(sched)) { + complete_all(&entity->entity_idle); + break; + } + + sched_job = drm_sched_entity_pop_job(entity); + if (!sched_job) { + /* Top entity is not yet runnable after all */ + complete_all(&entity->entity_idle); + continue; + } + + s_fence = sched_job->s_fence; + drm_sched_job_begin(sched_job); + trace_drm_sched_job_run(sched_job, entity); + submitted_credits += job_credits; + atomic_add(job_credits, &sched->credit_count); + + fence = sched->ops->run_job(sched_job); + drm_sched_fence_scheduled(s_fence, fence); + + if (!IS_ERR_OR_NULL(fence)) { + int r; + + /* Drop for original kref_init of the fence */ + dma_fence_put(fence); + + r = dma_fence_add_callback(fence, &sched_job->cb, + drm_sched_job_done_cb); + if (r == -ENOENT) + drm_sched_job_done(sched_job, fence->error); + else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callback failed (%d)\n", r); + } else { + drm_sched_job_done(sched_job, IS_ERR(fence) ? + PTR_ERR(fence) : 0); + }-
sched_job=drm_sched_entity_pop_job(entity); - if (!sched_job) {complete_all(&entity->entity_idle); -drm_sched_run_job_queue(sched);
- return;
}
-s_fence=sched_job->s_fence;drivers/gpu/drm/scheduler/sched_main.c +2
-29- - atomic_add(sched_job->credits, &sched->credit_count); - drm_sched_job_begin(sched_job); - - trace_drm_sched_job_run(sched_job, entity); - /* - * The run_job() callback must by definition return a fence whose - * refcount has been incremented for the scheduler already. - */ - fence = sched->ops->run_job(sched_job); - complete_all(&entity->entity_idle); - drm_sched_fence_scheduled(s_fence, fence); - - if (!IS_ERR_OR_NULL(fence)) { - r = dma_fence_add_callback(fence, &sched_job->cb, - drm_sched_job_done_cb); - if (r == -ENOENT) - drm_sched_job_done(sched_job, fence->error); - else if (r) - DRM_DEV_ERROR(sched->dev, "fence add callback failed (%d)\n", r); - - dma_fence_put(fence); - } else { - drm_sched_job_done(sched_job, IS_ERR(fence) ? - PTR_ERR(fence) : 0); - } - - wake_up(&sched->job_scheduled); - drm_sched_run_job_queue(sched); + if (submitted_credits) + wake_up(&sched->job_scheduled);}
static structworkqueue_struct*drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-3@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct
drm_sched_entity* drm_sched_rq_select_entity(structdrm_gpu_scheduler*sched,drivers/gpu/drm/scheduler/sched_rq.c +0
-8@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); if (drm_sched_entity_is_ready(entity)) { - /* If we can't queue yet, preserve the current entity in - * terms of fairness. - */ - if (!drm_sched_can_queue(sched, entity)) { - spin_unlock(&rq->lock); - return ERR_PTR(-ENOSPC); - } - reinit_completion(&entity->entity_idle); break; }
Re: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 19 lines · Christian König
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Christian König
Quoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
Quoted 7 lines
Quoted 1 line
We explicitely removed submitting more than one job in each worker run.
I wanted to ask why, but then I had a look to see if anyone actually does this. And I did not find any driver sharing a single threaded workqueue between submit and timeout.
The only driver which even passes in the same workqueue for both is PVR, but it is not a single threaded one.
Or perhaps I misunderstood what you said. Could you please clarify either way?
Quoted 7 lines
You correctly understood that.
The argument was that submitting more than one job in a worker is simply not beneficial and other work items can jump in and execute.
I have no idea if that is actually used or not. You would need to dig up the discussion when we switched from a kernel thread to work items for the full background.
But in general to do as less work as possible in each worker and then re-submit it is usually a good idea.
From the point of view that the single work item invocation shouldn't hog the worker, if the worker is shared, I agree. But what we also want is to feed the GPU as fast as possible, ie. put the CPU to sleep as quickly as possible.
If we consider drivers with dedicated workqueues per hardware engine, or even per userspace context, then especially in those cases I don't see what is the benefit of playing the wq re-queue games.
Anyway, I can park this patch for now, I *think* it will be easy to drop and will just need to rebase 15/15 to cope.
In the meantime I have collected some stats when running Cyberpunk 2077 benchmark on amdgpu, just to remind myself that it does happen more than one job can be ready to be passed on to the GPU. Stats of number of submitted jobs per worker invocation (with this patch):
1 2 3 4 5
gfx_0.0.0 21315 541 9849 171 0
comp_1.3.0 3093 9 2 0 0
comp_1.1.0 3501 46 2 1 0
comp_1.0.1 3451 46 2 0 0
sdma0 4400 746 279 481 7
This is for userspace contexts only. Quite a good number of three jobs submitted per worker invocation.
Kernel sdma appears to favour deeper queues even more but I forgot to log above 2 jobs per worker invocation:
1 2
sdma0 8009 1913
I can try to measure the latencies of worker re-queue approach. Another interesting thing would be C-state residencies and CPU power. But given how when the scheduler went from kthread to wq and lost the ability the queue more than one job, I don't think back then anyone measured this? In which case I suspect we even don't know if some latency or efficiency was lost.
Regards,
Tvrtko
Quoted 210 lines
Quoted 209 lines
Quoted 208 lines
Quoted 207 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-1@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; }; -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity); void drm_sched_wakeup(struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +63
-65@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; } -/** -* drm_sched_can_queue -- Can we queue more to the hardware? -* @sched: scheduler instance -* @entity: the scheduler entity -* -* Return true if we can push at least one more job from @entity, false -* otherwise. -*/ -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity) -{ - struct drm_sched_job *s_job; - - s_job = drm_sched_entity_queue_peek(entity); - if (!s_job) - return false; - - /* If a job exceeds the credit limit, truncate it to the credit limit - * itself to guarantee forward progress. - */ - if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit, truncate.\n"); - s_job->credits = sched->credit_limit; - } - - return drm_sched_available_credits(sched) >= s_job->credits; -} -/** * drm_sched_run_job_queue - enqueue run-job work * @sched: scheduler instance @@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) { struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_run_job); + u32 job_credits, submitted_credits = 0; struct drm_sched_entity *entity; - struct dma_fence *fence; struct drm_sched_fence *s_fence; struct drm_sched_job *sched_job; - int r; + struct dma_fence *fence; - /* Find entity with a ready job */ - entity = drm_sched_rq_select_entity(sched, sched->rq); - if (IS_ERR_OR_NULL(entity)) - return; /* No more work */ + while (!READ_ONCE(sched->pause_submit)) { + /* Find entity with a ready job */ + entity = drm_sched_rq_select_entity(sched, sched->rq); + if (!entity) + break; /* No more work */ + + sched_job = drm_sched_entity_queue_peek(entity); + if (!sched_job) { + complete_all(&entity->entity_idle); + continue; + } + + job_credits = sched_job->credits; + /* + * If a job exceeds the credit limit truncate it to guarantee + * forward progress. + */ + if (dev_WARN_ONCE(sched->dev, job_credits > sched->credit_limit, + "Jobs may not exceed the credit limit, truncating.\n")) + job_credits = sched_job->credits = sched->credit_limit; + + if (job_credits > drm_sched_available_credits(sched)) { + complete_all(&entity->entity_idle); + break; + } + + sched_job = drm_sched_entity_pop_job(entity); + if (!sched_job) { + /* Top entity is not yet runnable after all */ + complete_all(&entity->entity_idle); + continue; + } + + s_fence = sched_job->s_fence; + drm_sched_job_begin(sched_job); + trace_drm_sched_job_run(sched_job, entity); + submitted_credits += job_credits; + atomic_add(job_credits, &sched->credit_count); + + fence = sched->ops->run_job(sched_job); + drm_sched_fence_scheduled(s_fence, fence); + + if (!IS_ERR_OR_NULL(fence)) { + int r; + + /* Drop for original kref_init of the fence */ + dma_fence_put(fence); + + r = dma_fence_add_callback(fence, &sched_job->cb, + drm_sched_job_done_cb); + if (r == -ENOENT) + drm_sched_job_done(sched_job, fence->error); + else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callback failed (%d)\n", r); + } else { + drm_sched_job_done(sched_job, IS_ERR(fence) ? + PTR_ERR(fence) : 0); + } - sched_job = drm_sched_entity_pop_job(entity); - if (!sched_job) { complete_all(&entity->entity_idle); - drm_sched_run_job_queue(sched); - return; } - s_fence = sched_job->s_fence; - - atomic_add(sched_job->credits, &sched->credit_count); - drm_sched_job_begin(sched_job); - - trace_drm_sched_job_run(sched_job, entity); - /* - * The run_job() callback must by definition return a fence whose - * refcount has been incremented for the scheduler already. - */ - fence = sched->ops->run_job(sched_job); - complete_all(&entity->entity_idle); - drm_sched_fence_scheduled(s_fence, fence); - - if (!IS_ERR_OR_NULL(fence)) { - r = dma_fence_add_callback(fence, &sched_job->cb, - drm_sched_job_done_cb); - if (r == -ENOENT) - drm_sched_job_done(sched_job, fence->error); - else if (r) - DRM_DEV_ERROR(sched->dev, "fence add callback failed (%d)\n", r); - - dma_fence_put(fence); - } else { - drm_sched_job_done(sched_job, IS_ERR(fence) ? - PTR_ERR(fence) : 0); - } - - wake_up(&sched->job_scheduled); - drm_sched_run_job_queue(sched); + if (submitted_credits) + wake_up(&sched->job_scheduled); } static struct workqueue_struct *drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-11@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); if (drm_sched_entity_is_ready(entity)) { - /* If we can't queue yet, preserve the current entity in - * terms of fairness. - */ - if (!drm_sched_can_queue(sched, entity)) { - spin_unlock(&rq->lock); - return ERR_PTR(-ENOSPC); - } - reinit_completion(&entity->entity_idle); break; }
Matthew Brost
maintainerRe: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
Quoted 19 lines · Tvrtko Ursulin
Quoted 17 lines · Christian König
Quoted 16 lines · Tvrtko Ursulin
Quoted 9 lines · Christian König
Quoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
We explicitely removed submitting more than one job in each worker run.
I wanted to ask why, but then I had a look to see if anyone actually does this. And I did not find any driver sharing a single threaded workqueue between submit and timeout.
The only driver which even passes in the same workqueue for both is PVR, but it is not a single threaded one.
Quoted 8 lines
Quoted 8 lines
Quoted 1 line
Or perhaps I misunderstood what you said. Could you please clarify either way?
You correctly understood that.
The argument was that submitting more than one job in a worker is simply not beneficial and other work items can jump in and execute.
I have no idea if that is actually used or not. You would need to dig up the discussion when we switched from a kernel thread to work items for the full background.
I think Christian is capturing the gist of the discussion. I originally had it coded the way Tvrtko did, but got pushback and switched to the requeue approach. If I recall correctly, at the time the default workqueue was a system WQ, which we definitely didn’t want to hog.
Now that the default is a dedicated worker, this is less of an issue. However, technically, a system worker could still be passed in—though it shouldn't be, since the WQ should be marked with WQ_RECLAIM.
I don’t have a strong opinion either way, so I’m going to stay out of this one.
Matt
Quoted 256 lines
Quoted 1 line
But in general to do as less work as possible in each worker and then re-submit it is usually a good idea.
From the point of view that the single work item invocation shouldn't hog the worker, if the worker is shared, I agree. But what we also want is to feed the GPU as fast as possible, ie. put the CPU to sleep as quickly as possible.
If we consider drivers with dedicated workqueues per hardware engine, or even per userspace context, then especially in those cases I don't see what is the benefit of playing the wq re-queue games.
Anyway, I can park this patch for now, I *think* it will be easy to drop and will just need to rebase 15/15 to cope.
In the meantime I have collected some stats when running Cyberpunk 2077 benchmark on amdgpu, just to remind myself that it does happen more than one job can be ready to be passed on to the GPU. Stats of number of submitted jobs per worker invocation (with this patch):
1 2 3 4 5gfx_0.0.0 21315 541 9849 171 0
comp_1.3.0 3093 9 2 0 0
comp_1.1.0 3501 46 2 1 0
comp_1.0.1 3451 46 2 0 0
sdma0 4400 746 279 481 7This is for userspace contexts only. Quite a good number of three jobs submitted per worker invocation.
Kernel sdma appears to favour deeper queues even more but I forgot to log above 2 jobs per worker invocation:
1 2sdma0 8009 1913
I can try to measure the latencies of worker re-queue approach. Another interesting thing would be C-state residencies and CPU power. But given how when the scheduler went from kthread to wq and lost the ability the queue more than one job, I don't think back then anyone measured this? In which case I suspect we even don't know if some latency or efficiency was lost.
Regards,
Tvrtko
Quoted 210 lines
Quoted 209 lines
Quoted 208 lines
Quoted 207 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>--- drivers/gpu/drm/scheduler/sched_internal.h | 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +- 3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-1@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; }; -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity); void drm_sched_wakeup(struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +63
-65@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; } -/** -* drm_sched_can_queue -- Can we queue more to the hardware? -* @sched: scheduler instance -* @entity: the scheduler entity -* -* Return true if we can push at least one more job from @entity, false -* otherwise. -*/ -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity) -{ - struct drm_sched_job *s_job; - - s_job = drm_sched_entity_queue_peek(entity); - if (!s_job) - return false; - - /* If a job exceeds the credit limit, truncate it to the credit limit - * itself to guarantee forward progress. - */ - if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit, truncate.\n"); - s_job->credits = sched->credit_limit; - } - - return drm_sched_available_credits(sched) >= s_job->credits; -} -/** * drm_sched_run_job_queue - enqueue run-job work * @sched: scheduler instance @@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) { struct drm_gpu_scheduler *sched = container_of(w, struct drm_gpu_scheduler, work_run_job); + u32 job_credits, submitted_credits = 0; struct drm_sched_entity *entity; - struct dma_fence *fence; struct drm_sched_fence *s_fence; struct drm_sched_job *sched_job; - int r; + struct dma_fence *fence; - /* Find entity with a ready job */ - entity = drm_sched_rq_select_entity(sched, sched->rq); - if (IS_ERR_OR_NULL(entity)) - return; /* No more work */ + while (!READ_ONCE(sched->pause_submit)) { + /* Find entity with a ready job */ + entity = drm_sched_rq_select_entity(sched, sched->rq); + if (!entity) + break; /* No more work */ + + sched_job = drm_sched_entity_queue_peek(entity); + if (!sched_job) { + complete_all(&entity->entity_idle); + continue; + } + + job_credits = sched_job->credits; + /* + * If a job exceeds the credit limit truncate it to guarantee + * forward progress. + */ + if (dev_WARN_ONCE(sched->dev, job_credits > sched->credit_limit, + "Jobs may not exceed the credit limit, truncating.\n")) + job_credits = sched_job->credits = sched->credit_limit; + + if (job_credits > drm_sched_available_credits(sched)) { + complete_all(&entity->entity_idle); + break; + } + + sched_job = drm_sched_entity_pop_job(entity); + if (!sched_job) { + /* Top entity is not yet runnable after all */ + complete_all(&entity->entity_idle); + continue; + } + + s_fence = sched_job->s_fence; + drm_sched_job_begin(sched_job); + trace_drm_sched_job_run(sched_job, entity); + submitted_credits += job_credits; + atomic_add(job_credits, &sched->credit_count); + + fence = sched->ops->run_job(sched_job); + drm_sched_fence_scheduled(s_fence, fence); + + if (!IS_ERR_OR_NULL(fence)) { + int r; + + /* Drop for original kref_init of the fence */ + dma_fence_put(fence); + + r = dma_fence_add_callback(fence, &sched_job->cb, + drm_sched_job_done_cb); + if (r == -ENOENT) + drm_sched_job_done(sched_job, fence->error); + else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callback failed (%d)\n", r); + } else { + drm_sched_job_done(sched_job, IS_ERR(fence) ? + PTR_ERR(fence) : 0); + } - sched_job = drm_sched_entity_pop_job(entity); - if (!sched_job) { complete_all(&entity->entity_idle); - drm_sched_run_job_queue(sched); - return; } - s_fence = sched_job->s_fence; - - atomic_add(sched_job->credits, &sched->credit_count); - drm_sched_job_begin(sched_job); - - trace_drm_sched_job_run(sched_job, entity); - /* - * The run_job() callback must by definition return a fence whose - * refcount has been incremented for the scheduler already. - */ - fence = sched->ops->run_job(sched_job); - complete_all(&entity->entity_idle); - drm_sched_fence_scheduled(s_fence, fence); - - if (!IS_ERR_OR_NULL(fence)) { - r = dma_fence_add_callback(fence, &sched_job->cb, - drm_sched_job_done_cb); - if (r == -ENOENT) - drm_sched_job_done(sched_job, fence->error); - else if (r) - DRM_DEV_ERROR(sched->dev, "fence add callback failed (%d)\n", r); - - dma_fence_put(fence); - } else { - drm_sched_job_done(sched_job, IS_ERR(fence) ? - PTR_ERR(fence) : 0); - } - - wake_up(&sched->job_scheduled); - drm_sched_run_job_queue(sched); + if (submitted_credits) + wake_up(&sched->job_scheduled); } static struct workqueue_struct *drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-11@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched,@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); if (drm_sched_entity_is_ready(entity)) { - /* If we can't queue yet, preserve the current entity in - * terms of fairness. - */ - if (!drm_sched_can_queue(sched, entity)) { - spin_unlock(&rq->lock); - return ERR_PTR(-ENOSPC); - } - reinit_completion(&entity->entity_idle); break; }
Christian König
maintainerRe: [PATCH v6 14/15] drm/sched: Queue all free credits in one worker invocation
In reply to Tvrtko UrsulinQuoted 25 lines · Tvrtko Ursulin
Quoted 23 lines · Christian König
Quoted 10 lines · Tvrtko Ursulin
Quoted 8 lines · Christian König
Quoted 2 lines · Tvrtko Ursulin
There is no reason to queue just a single job if scheduler can take more and re-queue the worker to queue more.
That's not correct. This was intentionally avoided.
If more than just the scheduler is using the single threaded workqeueu other workers, especially the timeout worker, can jump in and execute first.
Quoted 7 lines
Quoted 1 line
We explicitely removed submitting more than one job in each worker run.
I wanted to ask why, but then I had a look to see if anyone actually does this. And I did not find any driver sharing a single threaded workqueue between submit and timeout.
The only driver which even passes in the same workqueue for both is PVR, but it is not a single threaded one.
Or perhaps I misunderstood what you said. Could you please clarify either way?
You correctly understood that.
The argument was that submitting more than one job in a worker is simply not beneficial and other work items can jump in and execute.
Quoted 8 lines
Quoted 3 lines
I have no idea if that is actually used or not. You would need to dig up the discussion when we switched from a kernel thread to work items for the full background.
But in general to do as less work as possible in each worker and then re-submit it is usually a good idea.
From the point of view that the single work item invocation shouldn't hog the worker, if the worker is shared, I agree.
But what we also want is to feed the GPU as fast as possible, ie. put the CPU to sleep as quickly as possible.
Yeah, that I clearly agree with.
Quoted 13 lines
If we consider drivers with dedicated workqueues per hardware engine, or even per userspace context, then especially in those cases I don't see what is the benefit of playing the wq re-queue games.
Anyway, I can park this patch for now, I *think* it will be easy to drop and will just need to rebase 15/15 to cope.
In the meantime I have collected some stats when running Cyberpunk 2077 benchmark on amdgpu, just to remind myself that it does happen more than one job can be ready to be passed on to the GPU. Stats of number of submitted jobs per worker invocation (with this patch):
1 2 3 4 5 gfx_0.0.0 21315 541 9849 171 0 comp_1.3.0 3093 9 2 0 0 comp_1.1.0 3501 46 2 1 0 comp_1.0.1 3451 46 2 0 0 sdma0 4400 746 279 481 7
Quoted 8 lines
This is for userspace contexts only. Quite a good number of three jobs submitted per worker invocation.
Kernel sdma appears to favour deeper queues even more but I forgot to log above 2 jobs per worker invocation:
1 2
sdma0 8009 1913I can try to measure the latencies of worker re-queue approach. Another interesting thing would be C-state residencies and CPU power. But given how when the scheduler went from kthread to wq and lost the ability the queue more than one job, I don't think back then anyone measured this? In which case I suspect we even don't know if some latency or efficiency was lost.
It's been a while, but I do remember that we have gone back and forth over this when we switched from kthread to work item. I'm honestly not sure how much overhead a work item actually has, but I guess it isn't that much.
But I'm pretty sure that we burn quite a number of CPU cycles in other places, e.g. the VMID management for example. It would certainly be nice if we could profile that and see where most CPU cycles are spend.
Regards,
Christian.
Quoted 216 lines
Regards,
Tvrtko
Quoted 210 lines
Quoted 209 lines
Quoted 208 lines
Quoted 207 lines
We can simply feed the hardware
with as much as it can take in one go and hopefully win some latency.Signed-off-by Tvrtko Ursulin <[email protected]>Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>---
drivers/gpu/drm/scheduler/sched_internal.h| 2 - drivers/gpu/drm/scheduler/sched_main.c | 132 ++++++++++----------- drivers/gpu/drm/scheduler/sched_rq.c | 12 +-3 files changed, 64 insertions(+), 82 deletions(-)drivers/gpu/drm/scheduler/sched_internal.h +0
-1@@ -22,8 +22,6 @@ struct drm_sched_entity_stats { u64 vruntime; }; -bool drm_sched_can_queue(struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity); void drm_sched_wakeup(struct drm_gpu_scheduler *sched); void drm_sched_rq_init(struct drm_gpu_scheduler *sched,drivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -95,35 +95,6 @@ static u32 drm_sched_available_credits(struct drm_gpu_scheduler *sched) return credits; }-/**
- *drm_sched_can_queue-- Can we queue more to the hardware?
- * @sched: scheduler instance
- * @entity: the scheduler entity
- *
- * Return true if we can push at least one more job from @entity, false
- * otherwise.
- */drivers/gpu/drm/scheduler/sched_main.c +0
-21-bool drm_sched_can_queue (struct drm_gpu_scheduler *sched, - struct drm_sched_entity *entity) -{ - struct drm_sched_job *s_job; - - s_job = drm_sched_entity_queue_peek(entity); - if (!s_job) - return false; - - /* If a job exceeds the credit limit, truncate it to the credit limit - * itself to guarantee forward progress. - */ - if (s_job->credits > sched->credit_limit) { - dev_WARN(sched->dev, - "Jobs may not exceed the credit limit, truncate.\n"); - s_job->credits = sched->credit_limit; - } - - return drm_sched_available_credits(sched) >= s_job->credits; -} -/**
*drm_sched_run_job_queue- enqueue run-job work
* @sched: scheduler instancedrivers/gpu/drm/scheduler/sched_main.c +0
-0@@ -940,54 +911,77 @@ static void drm_sched_run_job_work(struct work_struct *w) {struct
drm_gpu_scheduler*sched =
container_of(w, struct drm_gpu_scheduler, work_run_job); + u32job_credits,submitted_credits= 0;
structdrm_sched_entity*entity;
- structdma_fence*fence;
structdrm_sched_fence*s_fence;
structdrm_sched_job*sched_job;
- int r;
+ structdma_fence*fence;
- /* Find entity with a ready job */
- entity =drm_sched_rq_select_entity(sched, sched->rq); - if (IS_ERR_OR_NULL(entity))
- return; /* No more work */
+ while (!READ_ONCE(sched->pause_submit)) {
+ /* Find entity with a ready job */
+ entity =drm_sched_rq_select_entity(sched, sched->rq); + if (!entity)
+ break; /* No more work */drivers/gpu/drm/scheduler/sched_main.c +54
-0+ + sched_job = drm_sched_entity_queue_peek(entity); + if (!sched_job) { + complete_all(&entity->entity_idle); + continue; + } + + job_credits = sched_job->credits; + /* + * If a job exceeds the credit limit truncate it to guarantee + * forward progress. + */ + if (dev_WARN_ONCE(sched->dev, job_credits > sched->credit_limit, + "Jobs may not exceed the credit limit, truncating.\n")) + job_credits = sched_job->credits = sched->credit_limit; + + if (job_credits > drm_sched_available_credits(sched)) { + complete_all(&entity->entity_idle); + break; + } + + sched_job = drm_sched_entity_pop_job(entity); + if (!sched_job) { + /* Top entity is not yet runnable after all */ + complete_all(&entity->entity_idle); + continue; + } + + s_fence = sched_job->s_fence; + drm_sched_job_begin(sched_job); + trace_drm_sched_job_run(sched_job, entity); + submitted_credits += job_credits; + atomic_add(job_credits, &sched->credit_count); + + fence = sched->ops->run_job(sched_job); + drm_sched_fence_scheduled(s_fence, fence); + + if (!IS_ERR_OR_NULL(fence)) { + int r; + + /* Drop for original kref_init of the fence */ + dma_fence_put(fence); + + r = dma_fence_add_callback(fence, &sched_job->cb, + drm_sched_job_done_cb); + if (r == -ENOENT) + drm_sched_job_done(sched_job, fence->error); + else if (r) + DRM_DEV_ERROR(sched->dev, + "fence add callback failed (%d)\n", r); + } else { + drm_sched_job_done(sched_job, IS_ERR(fence) ? + PTR_ERR(fence) : 0); + }-
sched_job=drm_sched_entity_pop_job(entity); - if (!sched_job) {complete_all(&entity->entity_idle); -drm_sched_run_job_queue(sched);
- return;
}
-s_fence=sched_job->s_fence;drivers/gpu/drm/scheduler/sched_main.c +2
-29- - atomic_add(sched_job->credits, &sched->credit_count); - drm_sched_job_begin(sched_job); - - trace_drm_sched_job_run(sched_job, entity); - /* - * The run_job() callback must by definition return a fence whose - * refcount has been incremented for the scheduler already. - */ - fence = sched->ops->run_job(sched_job); - complete_all(&entity->entity_idle); - drm_sched_fence_scheduled(s_fence, fence); - - if (!IS_ERR_OR_NULL(fence)) { - r = dma_fence_add_callback(fence, &sched_job->cb, - drm_sched_job_done_cb); - if (r == -ENOENT) - drm_sched_job_done(sched_job, fence->error); - else if (r) - DRM_DEV_ERROR(sched->dev, "fence add callback failed (%d)\n", r); - - dma_fence_put(fence); - } else { - drm_sched_job_done(sched_job, IS_ERR(fence) ? - PTR_ERR(fence) : 0); - } - - wake_up(&sched->job_scheduled); - drm_sched_run_job_queue(sched); + if (submitted_credits) + wake_up(&sched->job_scheduled);}
static structworkqueue_struct*drm_sched_alloc_wq(const char *name)drivers/gpu/drm/scheduler/sched_rq.c +1
-3@@ -197,9 +197,7 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* * Find oldest waiting ready entity. * -* Return an entity if one is found; return an error-pointer (!NULL) if an -* entity was ready, but the scheduler had insufficient credits to accommodate -* its job; return NULL, if no ready entity was found. +* Return an entity if one is found or NULL if no ready entity was found. */ struct
drm_sched_entity* drm_sched_rq_select_entity(structdrm_gpu_scheduler*sched,drivers/gpu/drm/scheduler/sched_rq.c +0
-8@@ -213,14 +211,6 @@ drm_sched_rq_select_entity(struct drm_gpu_scheduler *sched, entity = rb_entry(rb, struct drm_sched_entity, rb_tree_node); if (drm_sched_entity_is_ready(entity)) { - /* If we can't queue yet, preserve the current entity in - * terms of fairness. - */ - if (!drm_sched_can_queue(sched, entity)) { - spin_unlock(&rq->lock); - return ERR_PTR(-ENOSPC); - } - reinit_completion(&entity->entity_idle); break; }
PATCH v6 15/15 drm/sched: Embed run queue singleton into the scheduler
In reply to Tvrtko UrsulinNow that the run queue to scheduler relationship is always 1:1 we can embed it (the run queue) directly in the scheduler struct and save on some allocation error handling code and such.
--- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 6 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 5 +++- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 8 ++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 8 +++--- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 8 +++--- drivers/gpu/drm/scheduler/sched_entity.c | 32 +++++++++------------ drivers/gpu/drm/scheduler/sched_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_internal.h | 6 ++-- drivers/gpu/drm/scheduler/sched_main.c | 31 ++++---------------- drivers/gpu/drm/scheduler/sched_rq.c | 18 ++++++------ include/drm/gpu_scheduler.h | 5 +--- 12 files changed, 58 insertions(+), 77 deletions(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c +4 -2
@@ -1131,7 +1131,8 @@ static int amdgpu_cs_vm_handling(struct amdgpu_cs_parser *p)if (p->gang_size >1 && !adev->vm_manager.concurrent_flush) {for (i =0 ; i < p->gang_size; ++i) {struct drm_sched_entity *entity = p->entities[i]; -struct drm_gpu_scheduler *sched = entity->rq->sched; +struct drm_gpu_scheduler *sched = +container_of (entity->rq,typeof (*sched), rq);struct amdgpu_ring *ring =to_amdgpu_ring (sched);if (amdgpu_vmid_uses_reserved (vm, ring->vm_hub))
@@ -1259,7 +1260,8 @@ static int amdgpu_cs_sync_rings(struct amdgpu_cs_parser *p)return r; } - sched = p->gang_leader->base.entity->rq->sched; + sched =container_of (p->gang_leader->base.entity->rq,typeof (*sched), + rq);while ((fence =amdgpu_sync_get_fence (&p->sync))) {struct drm_sched_fence *s_fence =to_drm_sched_fence (fence);
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +4 -2
@@ -338,7 +338,9 @@ static struct dma_fence * amdgpu_job_prepare_job(struct drm_sched_job *sched_job, struct drm_sched_entity *s_entity) { - struct amdgpu_ring *ring = to_amdgpu_ring(s_entity->rq->sched); + struct drm_gpu_scheduler *sched = +container_of (s_entity->rq,typeof (*sched), rq); +struct amdgpu_ring *ring =to_amdgpu_ring (sched);struct amdgpu_job *job =to_amdgpu_job (sched_job);struct dma_fence *fence;int r;
@@ -438,7 +440,7 @@ drm_sched_entity_queue_pop(struct drm_sched_entity *entity)void amdgpu_job_stop_all_jobs_on_sched (struct drm_gpu_scheduler *sched) { -struct drm_sched_rq *rq = sched->rq; +struct drm_sched_rq *rq = &sched->rq;struct drm_sched_entity *s_entity;struct drm_sched_job *s_job;
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h +4 -1
@@ -86,7 +86,10 @@ struct amdgpu_job {static inline struct amdgpu_ring *amdgpu_job_ring (struct amdgpu_job *job) { -return to_amdgpu_ring (job->base.entity->rq->sched); +struct drm_gpu_scheduler *sched = +container_of (job->base.entity->rq,typeof (*sched), rq); + +return to_amdgpu_ring (sched); } int amdgpu_job_alloc(struct amdgpu_device *adev, struct amdgpu_vm *vm,
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +6 -2
@@ -145,6 +145,7 @@ TRACE_EVENT(amdgpu_cs, struct amdgpu_ib *ib),TP_ARGS (p ,job ,ib ),TP_STRUCT__entry ( + __field(struct drm_gpu_scheduler *, sched)__field (struct amdgpu_bo_list *,bo_list )__field (u32, ring) __field(u32, dw)
@@ -152,11 +153,14 @@ TRACE_EVENT(amdgpu_cs, ),TP_fast_assign ( + __entry->sched =container_of (job->base.entity->rq, +typeof (*__entry->sched), + rq); __entry->bo_list = p->bo_list; - __entry->ring =to_amdgpu_ring (job->base.entity->rq->sched)->idx; + __entry->ring =to_amdgpu_ring (__entry->sched)->idx; __entry->dw = ib->length_dw; __entry->fences =amdgpu_fence_count_emitted ( -to_amdgpu_ring (job->base.entity->rq->sched)); +to_amdgpu_ring (__entry->sched)); ), TP_printk("bo_list=%p, ring=%u, dw=%u, fences=%u", __entry->bo_list, __entry->ring, __entry->dw,
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c +4 -4
@@ -105,13 +105,13 @@ static int amdgpu_vm_sdma_prepare(struct amdgpu_vm_update_params *p,static int amdgpu_vm_sdma_commit (struct amdgpu_vm_update_params *p,struct dma_fence **fence) { +struct drm_gpu_scheduler *sched = +container_of (p->vm->delayed.rq,typeof (*sched), rq); +struct amdgpu_ring *ring = + container_of(sched, struct amdgpu_ring, sched);struct amdgpu_ib *ib = p->job->ibs; -struct amdgpu_ring *ring;struct dma_fence *f; - ring = container_of(p->vm->delayed.rq->sched, struct amdgpu_ring, - sched); -WARN_ON (ib->length_dw ==0 );amdgpu_ring_pad_ib (ring, ib);
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c +4 -4
@@ -432,15 +432,15 @@ int amdgpu_xcp_open_device(struct amdgpu_device *adev,void amdgpu_xcp_release_sched (struct amdgpu_device *adev,struct amdgpu_ctx_entity *entity) { -struct drm_gpu_scheduler *sched; -struct amdgpu_ring *ring; +struct drm_gpu_scheduler *sched = +container_of (entity->entity.rq,typeof (*sched), rq);if (!adev->xcp_mgr)return ; - sched = entity->entity.rq->sched;if (drm_sched_wqueue_ready (sched)) { - ring =to_amdgpu_ring (entity->entity.rq->sched); +struct amdgpu_ring *ring =to_amdgpu_ring (sched); +atomic_dec (&adev->xcp_mgr->xcp[ring->xcp_id].ref_cnt); } }
drivers/gpu/drm/scheduler/sched_entity.c +14 -18
@@ -114,19 +114,12 @@ int drm_sched_entity_init(struct drm_sched_entity *entity,* is initialized itself. */ entity->sched_list = num_sched_list >1 ? sched_list :NULL ; +if (num_sched_list) { + entity->sched_list = num_sched_list >1 ? sched_list :NULL ; + entity->rq = &sched_list[0 ]->rq; + }RCU_INIT_POINTER (entity->last_scheduled,NULL );RB_CLEAR_NODE (&entity->rb_tree_node); - -if (num_sched_list && !sched_list[0 ]->rq) { -/* Since every entry covered by num_sched_list -* should be non-NULL and therefore we warn drivers -* not to do this and to fix their DRM calling order. -*/ -pr_warn ("%s: called with uninitialized scheduler\n" , __func__); - }else if (num_sched_list) { - entity->rq = sched_list[0 ]->rq; - } -init_completion (&entity->entity_idle);/* We start in an idle state. */
@@ -314,7 +307,7 @@ long drm_sched_entity_flush(struct drm_sched_entity *entity, long timeout)if (!entity->rq)return 0 ; - sched = entity->rq->sched; + sched =container_of (entity->rq,typeof (*sched), rq);/** * The client will not queue more IBs during this fini, consume existing * queued IBs or discard them on SIGKILL
@@ -406,9 +399,11 @@ static void drm_sched_entity_wakeup(struct dma_fence *f, {struct drm_sched_entity *entity = container_of(cb, struct drm_sched_entity, cb); +struct drm_gpu_scheduler *sched = +container_of (entity->rq,typeof (*sched), rq);drm_sched_entity_clear_dep (f, cb); -drm_sched_wakeup (entity->rq->sched); +drm_sched_wakeup (sched); }/**
@@ -434,7 +429,8 @@ EXPORT_SYMBOL(drm_sched_entity_set_priority);*/ static bool drm_sched_entity_add_dependency_cb (struct drm_sched_entity *entity) { -struct drm_gpu_scheduler *sched = entity->rq->sched; +struct drm_gpu_scheduler *sched = +container_of (entity->rq,typeof (*sched), rq);struct dma_fence *fence = entity->dependency;struct drm_sched_fence *s_fence;
@@ -573,7 +569,7 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity)spin_lock (&entity->lock); sched =drm_sched_pick_best (entity->sched_list, entity->num_sched_list); - rq = sched ? sched->rq :NULL ; + rq = sched ? &sched->rq :NULL ;if (rq != entity->rq) {drm_sched_rq_remove_entity (entity->rq, entity); entity->rq = rq;
@@ -596,6 +592,8 @@ void drm_sched_entity_select_rq(struct drm_sched_entity *entity)void drm_sched_entity_push_job (struct drm_sched_job *sched_job) {struct drm_sched_entity *entity = sched_job->entity; +struct drm_gpu_scheduler *sched = +container_of (entity->rq,typeof (*sched), rq);bool first;trace_drm_sched_job_queue (sched_job, entity);
@@ -607,7 +605,7 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job)xa_for_each (&sched_job->dependencies, index, entry)trace_drm_sched_job_add_dep (sched_job, entry); } -atomic_inc (entity->rq->sched->score); +atomic_inc (sched->score);WRITE_ONCE (entity->last_user, current->group_leader);/*
@@ -618,8 +616,6 @@ void drm_sched_entity_push_job(struct drm_sched_job *sched_job)/* first job wakes up scheduler */ if (first) { -struct drm_gpu_scheduler *sched; - sched =drm_sched_rq_add_entity (entity);if (sched)drm_sched_wakeup (sched);
drivers/gpu/drm/scheduler/sched_fence.c +1 -1
@@ -227,7 +227,7 @@ void drm_sched_fence_init(struct drm_sched_fence *fence, {unsigned seq; - fence->sched = entity->rq->sched; + fence->sched =container_of (entity->rq,typeof (*fence->sched), rq); seq =atomic_inc_return (&entity->fence_seq);dma_fence_init (&fence->scheduled, &drm_sched_fence_ops_scheduled, &fence->lock, entity->fence_context, seq);
drivers/gpu/drm/scheduler/sched_internal.h +2 -4
@@ -24,11 +24,9 @@ struct drm_sched_entity_stats {void drm_sched_wakeup (struct drm_gpu_scheduler *sched); -void drm_sched_rq_init (struct drm_gpu_scheduler *sched, -struct drm_sched_rq *rq); +void drm_sched_rq_init (struct drm_gpu_scheduler *sched);struct drm_sched_entity * -drm_sched_rq_select_entity (struct drm_gpu_scheduler *sched, -struct drm_sched_rq *rq); +drm_sched_rq_select_entity (struct drm_gpu_scheduler *sched);struct drm_gpu_scheduler *drm_sched_rq_add_entity (struct drm_sched_entity *entity); void drm_sched_rq_remove_entity(struct drm_sched_rq *rq,
drivers/gpu/drm/scheduler/sched_main.c +5 -26
@@ -578,7 +578,7 @@ void drm_sched_job_arm(struct drm_sched_job *job)BUG_ON (!entity);drm_sched_entity_select_rq (entity); - sched = entity->rq->sched; + sched =container_of (entity->rq,typeof (*sched), rq); job->sched = sched; job->s_priority = entity->priority;
@@ -919,7 +919,7 @@ static void drm_sched_run_job_work(struct work_struct *w)while (!READ_ONCE (sched->pause_submit)) {/* Find entity with a ready job */ - entity =drm_sched_rq_select_entity (sched, sched->rq); + entity =drm_sched_rq_select_entity (sched);if (!entity)break ;/* No more work */
@@ -1022,15 +1022,6 @@ int drm_sched_init(struct drm_gpu_scheduler *sched, const struct drm_sched_init_ sched->score = args->score ? args->score : &sched->_score; sched->dev = args->dev; -if (sched->rq) { -/* Not an error, but warn anyway so drivers can -* fine-tune their DRM calling order, and return all -* is good. -*/ -dev_warn (sched->dev,"%s: scheduler already initialized!\n" , __func__); -return 0 ; - } -if (args->submit_wq) { sched->submit_wq = args->submit_wq; sched->own_submit_wq = false;
@@ -1042,11 +1033,7 @@ int drm_sched_init(struct drm_gpu_scheduler *sched, const struct drm_sched_init_ sched->own_submit_wq = true; } - sched->rq =kmalloc (sizeof (*sched->rq),GFP_KERNEL | __GFP_ZERO); -if (!sched->rq) - goto Out_check_own; - -drm_sched_rq_init (sched, sched->rq); +drm_sched_rq_init (sched);init_waitqueue_head (&sched->job_scheduled);INIT_LIST_HEAD (&sched->pending_list);
@@ -1061,12 +1048,6 @@ int drm_sched_init(struct drm_gpu_scheduler *sched, const struct drm_sched_init_ sched->ready = true;return 0 ; - -Out_check_own: -if (sched->own_submit_wq) -destroy_workqueue (sched->submit_wq); -dev_err (sched->dev,"%s: Failed to setup GPU scheduler--out of memory\n" , __func__); -return -ENOMEM ; }EXPORT_SYMBOL (drm_sched_init);
@@ -1094,7 +1075,7 @@ EXPORT_SYMBOL(drm_sched_init);void drm_sched_fini (struct drm_gpu_scheduler *sched) { -struct drm_sched_rq *rq = sched->rq; +struct drm_sched_rq *rq = &sched->rq;struct drm_sched_entity *s_entity;drm_sched_wqueue_stop (sched);
@@ -1118,8 +1099,6 @@ void drm_sched_fini(struct drm_gpu_scheduler *sched)if (sched->own_submit_wq)destroy_workqueue (sched->submit_wq); sched->ready = false; -kfree (sched->rq); - sched->rq =NULL ; }EXPORT_SYMBOL (drm_sched_fini);
@@ -1136,7 +1115,7 @@ void drm_sched_increase_karma(struct drm_sched_job *bad) {struct drm_gpu_scheduler *sched = bad->sched;struct drm_sched_entity *entity, *tmp; -struct drm_sched_rq *rq = sched->rq; +struct drm_sched_rq *rq = &sched->rq;/* don't change @bad's karma if it's from KERNEL RQ, * because sometimes GPU hang would cause kernel jobs (like VM updating jobs)
drivers/gpu/drm/scheduler/sched_rq.c +9 -9
@@ -52,17 +52,16 @@ static void drm_sched_rq_update_tree_locked(struct drm_sched_entity *entity,* drm_sched_rq_init - initialize a given run queue struct * * @sched: scheduler instance to associate with this run queue -* @rq: scheduler run queue * * Initializes a scheduler runqueue. */ -void drm_sched_rq_init (struct drm_gpu_scheduler *sched, -struct drm_sched_rq *rq) +void drm_sched_rq_init (struct drm_gpu_scheduler *sched) { +struct drm_sched_rq *rq = &sched->rq; +spin_lock_init (&rq->lock);INIT_LIST_HEAD (&rq->entities); rq->rb_tree_root =RB_ROOT_CACHED ; - rq->sched = sched; } static ktime_t
@@ -109,8 +108,8 @@ drm_sched_rq_add_entity(struct drm_sched_entity *entity) } rq = entity->rq; + sched =container_of (rq,typeof (*sched), rq);spin_lock (&rq->lock); - sched = rq->sched;if (list_empty (&entity->list)) {atomic_inc (sched->score);
@@ -138,6 +137,8 @@ drm_sched_rq_add_entity(struct drm_sched_entity *entity)void drm_sched_rq_remove_entity (struct drm_sched_rq *rq,struct drm_sched_entity *entity) { +struct drm_gpu_scheduler *sched =container_of (rq,typeof (*sched), rq); +lockdep_assert_held (&entity->lock);if (list_empty (&entity->list))
@@ -145,7 +146,7 @@ void drm_sched_rq_remove_entity(struct drm_sched_rq *rq,spin_lock (&rq->lock); -atomic_dec (rq->sched->score); +atomic_dec (sched->score);list_del_init (&entity->list);drm_sched_rq_remove_tree_locked (entity, rq);
@@ -193,16 +194,15 @@ void drm_sched_rq_pop_entity(struct drm_sched_entity *entity)* drm_sched_rq_select_entity - Select an entity which provides a job to run * * @sched: the gpu scheduler -* @rq: scheduler run queue to check. * * Find oldest waiting ready entity. * * Return an entity if one is found or NULL if no ready entity was found. */ struct drm_sched_entity * -drm_sched_rq_select_entity (struct drm_gpu_scheduler *sched, -struct drm_sched_rq *rq) +drm_sched_rq_select_entity (struct drm_gpu_scheduler *sched) { +struct drm_sched_rq *rq = &sched->rq;struct rb_node *rb;spin_lock (&rq->lock);
include/drm/gpu_scheduler.h +1 -4
@@ -245,7 +245,6 @@ struct drm_sched_entity {/** * struct drm_sched_rq - queue of entities to be scheduled. * -* @sched: the scheduler to which this rq belongs to. * @lock: protects @entities, @rb_tree_root and @rr_deadline. * @rr_deadline: monotonically incrementing fake timestamp for RR mode * @entities: list of the entities to be scheduled.
@@ -256,8 +255,6 @@ struct drm_sched_entity {* the next entity to emit commands from. */ struct drm_sched_rq { -struct drm_gpu_scheduler *sched; -spinlock_t lock;/* Following members are protected by the @lock: */ ktime_t rr_deadline;
@@ -560,7 +557,7 @@ struct drm_gpu_scheduler {atomic_t credit_count;long timeout;const char *name; -struct drm_sched_rq *rq; +struct drm_sched_rq rq;wait_queue_head_t job_scheduled;atomic64_t job_id_count;struct workqueue_struct *submit_wq;
Signature · 1 line
2.48.0
Patchwork
CI✗ CI.checkpatch: warning for Fair DRM scheduler
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Fair DRM scheduler
URL : https://patchwork.freedesktop.org/series/151321/
State : warning
== Summary ==
+ KERNEL=/kernel
+ git clone https://gitlab.freedesktop.org/drm/maintainer-tools mt Cloning into 'mt'...
warning: redirecting to https://gitlab.freedesktop.org/drm/maintainer-tools.git/
+ git -C mt rev-list -n1 origin/master 43254c2aa575037fc031c7ac21b0d031c700b2bf
+ cd /kernel
+ git config --global --add safe.directory /kernel
+ git log -n1
commit aa5cbdbcaaaf9ebf6456bc103d092fd9b0bfa566
Author: Tvrtko Ursulin <[email protected]> Date: Tue Jul 8 10:51:47 2025 +0100
drm/sched: Embed run queue singleton into the scheduler
Now that the run queue to scheduler relationship is always 1:1 we can embed it (the run queue) directly in the scheduler struct and save on some allocation error handling code and such.
+ /mt/dim checkpatch 8b32b5509128873da8ecfc06beefcb58927eb50b drm-intelbba96ecf8efc drm/sched: Add some scheduling quality unit tests
-:41: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?) #41:
0: prio=normal sync=0 elapsed_ms=1015ms (ideal_ms=1000ms) cycle_time(min,avg,max)=134,222,978 us latency_time(min,avg,max)=134,222,978
-:124: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #124:
new file mode 100644
-:139: WARNING:REPEATED_WORD: Possible repeated word: 'scheduler' #139: FILE: drivers/gpu/drm/scheduler/tests/tests_scheduler.c:11:
+ * DRM scheduler scheduler tests exercise load balancing decisions ie. entity
-:621: WARNING:REPEATED_WORD: Possible repeated word: 'from' #621: FILE: drivers/gpu/drm/scheduler/tests/tests_scheduler.c:493:
+ * Same job stream from from two clients.
total: 0 errors, 4 warnings, 0 checks, 639 lines checked c03733fb803d drm/sched: Add some more scheduling quality unit tests -:25: WARNING:REPEATED_WORD: Possible repeated word: 'test' #25:
Every 100ms for the duration of the test test logs how many jobs each
-:54: CHECK:LINE_SPACING: Please don't use multiple blank lines #54: FILE: drivers/gpu/drm/scheduler/tests/tests_scheduler.c:630:
+
total: 0 errors, 1 warnings, 1 checks, 197 lines checked5725a9e029ba drm/sched: Avoid double re-lock on the job free pathc2b5e0d988af drm/sched: Consolidate drm_sched_job_timedout3677c55a613f drm/sched: Consolidate drm_sched_rq_select_entity_rr675c8ba6e121 drm/sched: Implement RR via FIFObfe64945d5c2 drm/sched: Consolidate entity run queue management886d457e7ffc drm/sched: Move run queue related code into a separate file
-:284: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating? #284:
new file mode 100644
-:289: WARNING:SPDX_LICENSE_TAG: Missing or malformed SPDX-License-Identifier tag in line 1 #289: FILE: drivers/gpu/drm/scheduler/sched_rq.c:1:
+#include <linux/rbtree.h>
total: 0 errors, 2 warnings, 0 checks, 465 lines checked ec98d2629035 drm/sched: Free all finished jobs at once 666ac0bb46f8 drm/sched: Account entity GPU time
-:36: CHECK:LINE_SPACING: Please don't use multiple blank lines #36: FILE: drivers/gpu/drm/scheduler/sched_entity.c:35:
+
-:113: CHECK:UNCOMMENTED_DEFINITION: spinlock_t definition without comment #113: FILE: drivers/gpu/drm/scheduler/sched_internal.h:19:
+ spinlock_t lock;
total: 0 errors, 0 warnings, 2 checks, 188 lines checked 29cd49c9dab2 drm/sched: Remove idle entity from tree 37818919bf50 drm/sched: Add fair scheduling policy
-:70: CHECK:PARENTHESIS_ALIGNMENT: Alignment should match open parenthesis #70: FILE: drivers/gpu/drm/scheduler/sched_entity.c:141:
+ p = max_t(s32,
+ (s32)sched_list[0]->num_user_rqs - 1,
-:195: WARNING:LONG_LINE: line length of 249 exceeds 100 columns
#195: FILE: drivers/gpu/drm/scheduler/sched_main.c:93:
+MODULE_PARM_DESC(sched_policy, "Specify the scheduling policy for entities on a run-queue, " __stringify(DRM_SCHED_POLICY_RR) " = Round Robin, " __stringify(DRM_SCHED_POLICY_FIFO) " = FIFO, " __stringify(DRM_SCHED_POLICY_FAIR) " = Fair (default).");
total: 0 errors, 1 warnings, 1 checks, 248 lines checked c338098b526e drm/sched: Remove FIFO and RR and simplify to a single run queue -:304: CHECK:BRACES: Blank lines aren't necessary after an open brace '{' #304: FILE: drivers/gpu/drm/scheduler/sched_main.c:1100:
{
+
total: 0 errors, 0 warnings, 1 checks, 478 lines checked 34ad051ebf79 drm/sched: Queue all free credits in one worker invocation -:114: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided #114: FILE: drivers/gpu/drm/scheduler/sched_main.c:937:
+ job_credits = sched_job->credits = sched->credit_limit;
total: 0 errors, 0 warnings, 1 checks, 181 lines checked aa5cbdbcaaaf drm/sched: Embed run queue singleton into the scheduler
Patchwork
CI✓ CI.KUnit: success for Fair DRM scheduler
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Fair DRM scheduler
URL : https://patchwork.freedesktop.org/series/151321/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [10:02:01] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:02:05] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:02:32] Starting KUnit Kernel (1/1)... [10:02:32] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:02:32] ================== guc_buf (11 subtests) =================== [10:02:32] [PASSED] test_smallest [10:02:32] [PASSED] test_largest [10:02:32] [PASSED] test_granular [10:02:32] [PASSED] test_unique [10:02:32] [PASSED] test_overlap [10:02:32] [PASSED] test_reusable [10:02:32] [PASSED] test_too_big [10:02:32] [PASSED] test_flush [10:02:32] [PASSED] test_lookup [10:02:32] [PASSED] test_data [10:02:32] [PASSED] test_class [10:02:32] ===================== [PASSED] guc_buf ===================== [10:02:32] =================== guc_dbm (7 subtests) =================== [10:02:32] [PASSED] test_empty [10:02:32] [PASSED] test_default [10:02:32] ======================== test_size ======================== [10:02:32] [PASSED] 4 [10:02:32] [PASSED] 8 [10:02:32] [PASSED] 32 [10:02:32] [PASSED] 256 [10:02:32] ==================== [PASSED] test_size ==================== [10:02:32] ======================= test_reuse ======================== [10:02:32] [PASSED] 4 [10:02:32] [PASSED] 8 [10:02:32] [PASSED] 32 [10:02:32] [PASSED] 256 [10:02:32] =================== [PASSED] test_reuse ==================== [10:02:32] =================== test_range_overlap ==================== [10:02:32] [PASSED] 4 [10:02:32] [PASSED] 8 [10:02:32] [PASSED] 32 [10:02:32] [PASSED] 256 [10:02:32] =============== [PASSED] test_range_overlap ================ [10:02:32] =================== test_range_compact ==================== [10:02:32] [PASSED] 4 [10:02:32] [PASSED] 8 [10:02:32] [PASSED] 32 [10:02:32] [PASSED] 256 [10:02:32] =============== [PASSED] test_range_compact ================ [10:02:32] ==================== test_range_spare ===================== [10:02:32] [PASSED] 4 [10:02:32] [PASSED] 8 [10:02:32] [PASSED] 32 [10:02:32] [PASSED] 256 [10:02:32] ================ [PASSED] test_range_spare ================= [10:02:32] ===================== [PASSED] guc_dbm ===================== [10:02:32] =================== guc_idm (6 subtests) =================== [10:02:32] [PASSED] bad_init [10:02:32] [PASSED] no_init [10:02:32] [PASSED] init_fini [10:02:32] [PASSED] check_used [10:02:32] [PASSED] check_quota [10:02:32] [PASSED] check_all [10:02:32] ===================== [PASSED] guc_idm ===================== [10:02:32] ================== no_relay (3 subtests) =================== [10:02:32] [PASSED] xe_drops_guc2pf_if_not_ready [10:02:32] [PASSED] xe_drops_guc2vf_if_not_ready [10:02:32] [PASSED] xe_rejects_send_if_not_ready [10:02:32] ==================== [PASSED] no_relay ===================== [10:02:32] ================== pf_relay (14 subtests) ================== [10:02:32] [PASSED] pf_rejects_guc2pf_too_short [10:02:32] [PASSED] pf_rejects_guc2pf_too_long [10:02:32] [PASSED] pf_rejects_guc2pf_no_payload [10:02:32] [PASSED] pf_fails_no_payload [10:02:32] [PASSED] pf_fails_bad_origin [10:02:32] [PASSED] pf_fails_bad_type [10:02:32] [PASSED] pf_txn_reports_error [10:02:32] [PASSED] pf_txn_sends_pf2guc [10:02:32] [PASSED] pf_sends_pf2guc [10:02:32] [SKIPPED] pf_loopback_nop [10:02:32] [SKIPPED] pf_loopback_echo [10:02:32] [SKIPPED] pf_loopback_fail [10:02:32] [SKIPPED] pf_loopback_busy [10:02:32] [SKIPPED] pf_loopback_retry [10:02:32] ==================== [PASSED] pf_relay ===================== [10:02:32] ================== vf_relay (3 subtests) =================== [10:02:32] [PASSED] vf_rejects_guc2vf_too_short [10:02:32] [PASSED] vf_rejects_guc2vf_too_long [10:02:32] [PASSED] vf_rejects_guc2vf_no_payload [10:02:32] ==================== [PASSED] vf_relay ===================== [10:02:32] ================= pf_service (11 subtests) ================= [10:02:32] [PASSED] pf_negotiate_any [10:02:32] [PASSED] pf_negotiate_base_match [10:02:32] [PASSED] pf_negotiate_base_newer [10:02:32] [PASSED] pf_negotiate_base_next [10:02:32] [SKIPPED] pf_negotiate_base_older [10:02:32] [PASSED] pf_negotiate_base_prev [10:02:32] [PASSED] pf_negotiate_latest_match [10:02:32] [PASSED] pf_negotiate_latest_newer [10:02:32] [PASSED] pf_negotiate_latest_next [10:02:32] [SKIPPED] pf_negotiate_latest_older [10:02:32] [SKIPPED] pf_negotiate_latest_prev [10:02:32] =================== [PASSED] pf_service ==================== [10:02:32] ===================== lmtt (1 subtest) ===================== [10:02:32] ======================== test_ops ========================= [10:02:32] [PASSED] 2-level [10:02:32] [PASSED] multi-level [10:02:32] ==================== [PASSED] test_ops ===================== [10:02:32] ====================== [PASSED] lmtt ======================= [10:02:32] =================== xe_mocs (2 subtests) =================== [10:02:32] ================ xe_live_mocs_kernel_kunit ================ [10:02:32] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [10:02:32] ================ xe_live_mocs_reset_kunit ================= [10:02:32] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [10:02:32] ==================== [SKIPPED] xe_mocs ===================== [10:02:32] ================= xe_migrate (2 subtests) ================== [10:02:32] ================= xe_migrate_sanity_kunit ================= [10:02:32] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [10:02:32] ================== xe_validate_ccs_kunit ================== [10:02:32] ============= [SKIPPED] xe_validate_ccs_kunit ============== [10:02:32] =================== [SKIPPED] xe_migrate =================== [10:02:32] ================== xe_dma_buf (1 subtest) ================== [10:02:32] ==================== xe_dma_buf_kunit ===================== [10:02:32] ================ [SKIPPED] xe_dma_buf_kunit ================ [10:02:32] =================== [SKIPPED] xe_dma_buf =================== [10:02:32] ================= xe_bo_shrink (1 subtest) ================= [10:02:32] =================== xe_bo_shrink_kunit ==================== [10:02:32] =============== [SKIPPED] xe_bo_shrink_kunit =============== [10:02:32] ================== [SKIPPED] xe_bo_shrink ================== [10:02:32] ==================== xe_bo (2 subtests) ==================== [10:02:32] ================== xe_ccs_migrate_kunit =================== [10:02:32] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [10:02:32] ==================== xe_bo_evict_kunit ==================== [10:02:32] =============== [SKIPPED] xe_bo_evict_kunit ================ [10:02:32] ===================== [SKIPPED] xe_bo ====================== [10:02:32] ==================== args (11 subtests) ==================== [10:02:32] [PASSED] count_args_test [10:02:32] [PASSED] call_args_example [10:02:32] [PASSED] call_args_test [10:02:32] [PASSED] drop_first_arg_example [10:02:32] [PASSED] drop_first_arg_test [10:02:32] [PASSED] first_arg_example [10:02:32] [PASSED] first_arg_test [10:02:32] [PASSED] last_arg_example [10:02:32] [PASSED] last_arg_test [10:02:32] [PASSED] pick_arg_example [10:02:32] [PASSED] sep_comma_example [10:02:32] ====================== [PASSED] args ======================= [10:02:32] =================== xe_pci (3 subtests) ==================== [10:02:32] ==================== check_graphics_ip ==================== [10:02:32] [PASSED] 12.70 Xe_LPG [10:02:32] [PASSED] 12.71 Xe_LPG [10:02:32] [PASSED] 12.74 Xe_LPG+ [10:02:32] [PASSED] 20.01 Xe2_HPG [10:02:32] [PASSED] 20.02 Xe2_HPG [10:02:32] [PASSED] 20.04 Xe2_LPG [10:02:32] [PASSED] 30.00 Xe3_LPG [10:02:32] [PASSED] 30.01 Xe3_LPG [10:02:32] [PASSED] 30.03 Xe3_LPG [10:02:32] ================ [PASSED] check_graphics_ip ================ [10:02:32] ===================== check_media_ip ====================== [10:02:32] [PASSED] 13.00 Xe_LPM+ [10:02:32] [PASSED] 13.01 Xe2_HPM [10:02:32] [PASSED] 20.00 Xe2_LPM [10:02:32] [PASSED] 30.00 Xe3_LPM [10:02:32] [PASSED] 30.02 Xe3_LPM [10:02:32] ================= [PASSED] check_media_ip ================== [10:02:32] ================= check_platform_gt_count ================= [10:02:32] [PASSED] 0x9A60 (TIGERLAKE) [10:02:32] [PASSED] 0x9A68 (TIGERLAKE) [10:02:32] [PASSED] 0x9A70 (TIGERLAKE) [10:02:32] [PASSED] 0x9A40 (TIGERLAKE) [10:02:32] [PASSED] 0x9A49 (TIGERLAKE) [10:02:32] [PASSED] 0x9A59 (TIGERLAKE) [10:02:32] [PASSED] 0x9A78 (TIGERLAKE) [10:02:32] [PASSED] 0x9AC0 (TIGERLAKE) [10:02:32] [PASSED] 0x9AC9 (TIGERLAKE) [10:02:32] [PASSED] 0x9AD9 (TIGERLAKE) [10:02:32] [PASSED] 0x9AF8 (TIGERLAKE) [10:02:32] [PASSED] 0x4C80 (ROCKETLAKE) [10:02:32] [PASSED] 0x4C8A (ROCKETLAKE) [10:02:32] [PASSED] 0x4C8B (ROCKETLAKE) [10:02:32] [PASSED] 0x4C8C (ROCKETLAKE) [10:02:32] [PASSED] 0x4C90 (ROCKETLAKE) [10:02:32] [PASSED] 0x4C9A (ROCKETLAKE) [10:02:32] [PASSED] 0x4680 (ALDERLAKE_S) [10:02:32] [PASSED] 0x4682 (ALDERLAKE_S) [10:02:32] [PASSED] 0x4688 (ALDERLAKE_S) [10:02:32] [PASSED] 0x468A (ALDERLAKE_S) [10:02:32] [PASSED] 0x468B (ALDERLAKE_S) [10:02:32] [PASSED] 0x4690 (ALDERLAKE_S) [10:02:32] [PASSED] 0x4692 (ALDERLAKE_S) [10:02:32] [PASSED] 0x4693 (ALDERLAKE_S) [10:02:32] [PASSED] 0x46A0 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46A1 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46A2 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46A3 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46A6 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46A8 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46AA (ALDERLAKE_P) [10:02:32] [PASSED] 0x462A (ALDERLAKE_P) [10:02:32] [PASSED] 0x4626 (ALDERLAKE_P) [10:02:32] [PASSED] 0x4628 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46B0 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46B1 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46B2 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46B3 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46C0 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46C1 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46C2 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46C3 (ALDERLAKE_P) [10:02:32] [PASSED] 0x46D0 (ALDERLAKE_N) [10:02:32] [PASSED] 0x46D1 (ALDERLAKE_N) [10:02:32] [PASSED] 0x46D2 (ALDERLAKE_N) [10:02:32] [PASSED] 0x46D3 (ALDERLAKE_N) [10:02:32] [PASSED] 0x46D4 (ALDERLAKE_N) [10:02:32] [PASSED] 0xA721 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7A1 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7A9 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7AC (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7AD (ALDERLAKE_P) [10:02:32] [PASSED] 0xA720 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7A0 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7A8 (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7AA (ALDERLAKE_P) [10:02:32] [PASSED] 0xA7AB (ALDERLAKE_P) [10:02:32] [PASSED] 0xA780 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA781 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA782 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA783 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA788 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA789 (ALDERLAKE_S) [10:02:32] [PASSED] 0xA78A (ALDERLAKE_S) [10:02:32] [PASSED] 0xA78B (ALDERLAKE_S) [10:02:32] [PASSED] 0x4905 (DG1) [10:02:32] [PASSED] 0x4906 (DG1) [10:02:32] [PASSED] 0x4907 (DG1) [10:02:32] [PASSED] 0x4908 (DG1) [10:02:32] [PASSED] 0x4909 (DG1) [10:02:32] [PASSED] 0x56C0 (DG2) [10:02:32] [PASSED] 0x56C2 (DG2) [10:02:32] [PASSED] 0x56C1 (DG2) [10:02:32] [PASSED] 0x7D51 (METEORLAKE) [10:02:32] [PASSED] 0x7DD1 (METEORLAKE) [10:02:32] [PASSED] 0x7D41 (METEORLAKE) [10:02:32] [PASSED] 0x7D67 (METEORLAKE) [10:02:32] [PASSED] 0xB640 (METEORLAKE) [10:02:32] [PASSED] 0x56A0 (DG2) [10:02:32] [PASSED] 0x56A1 (DG2) [10:02:32] [PASSED] 0x56A2 (DG2) [10:02:32] [PASSED] 0x56BE (DG2) [10:02:32] [PASSED] 0x56BF (DG2) [10:02:32] [PASSED] 0x5690 (DG2) [10:02:32] [PASSED] 0x5691 (DG2) [10:02:32] [PASSED] 0x5692 (DG2) [10:02:32] [PASSED] 0x56A5 (DG2) [10:02:32] [PASSED] 0x56A6 (DG2) [10:02:32] [PASSED] 0x56B0 (DG2) [10:02:32] [PASSED] 0x56B1 (DG2) [10:02:32] [PASSED] 0x56BA (DG2) [10:02:32] [PASSED] 0x56BB (DG2) [10:02:32] [PASSED] 0x56BC (DG2) [10:02:32] [PASSED] 0x56BD (DG2) [10:02:32] [PASSED] 0x5693 (DG2) [10:02:32] [PASSED] 0x5694 (DG2) [10:02:32] [PASSED] 0x5695 (DG2) [10:02:32] [PASSED] 0x56A3 (DG2) [10:02:32] [PASSED] 0x56A4 (DG2) [10:02:32] [PASSED] 0x56B2 (DG2) [10:02:32] [PASSED] 0x56B3 (DG2) [10:02:32] [PASSED] 0x5696 (DG2) [10:02:32] [PASSED] 0x5697 (DG2) [10:02:32] [PASSED] 0xB69 (PVC) [10:02:32] [PASSED] 0xB6E (PVC) [10:02:32] [PASSED] 0xBD4 (PVC) [10:02:32] [PASSED] 0xBD5 (PVC) [10:02:32] [PASSED] 0xBD6 (PVC) [10:02:32] [PASSED] 0xBD7 (PVC) [10:02:32] [PASSED] 0xBD8 (PVC) [10:02:32] [PASSED] 0xBD9 (PVC) [10:02:32] [PASSED] 0xBDA (PVC) [10:02:32] [PASSED] 0xBDB (PVC) [10:02:32] [PASSED] 0xBE0 (PVC) [10:02:32] [PASSED] 0xBE1 (PVC) [10:02:32] [PASSED] 0xBE5 (PVC) [10:02:32] [PASSED] 0x7D40 (METEORLAKE) [10:02:32] [PASSED] 0x7D45 (METEORLAKE) [10:02:32] [PASSED] 0x7D55 (METEORLAKE) [10:02:32] [PASSED] 0x7D60 (METEORLAKE) [10:02:32] [PASSED] 0x7DD5 (METEORLAKE) [10:02:32] [PASSED] 0x6420 (LUNARLAKE) [10:02:32] [PASSED] 0x64A0 (LUNARLAKE) [10:02:32] [PASSED] 0x64B0 (LUNARLAKE) [10:02:32] [PASSED] 0xE202 (BATTLEMAGE) [10:02:32] [PASSED] 0xE209 (BATTLEMAGE) [10:02:32] [PASSED] 0xE20B (BATTLEMAGE) [10:02:32] [PASSED] 0xE20C (BATTLEMAGE) [10:02:32] [PASSED] 0xE20D (BATTLEMAGE) [10:02:32] [PASSED] 0xE210 (BATTLEMAGE) [10:02:32] [PASSED] 0xE211 (BATTLEMAGE) [10:02:32] [PASSED] 0xE212 (BATTLEMAGE) [10:02:32] [PASSED] 0xE216 (BATTLEMAGE) [10:02:32] [PASSED] 0xE220 (BATTLEMAGE) [10:02:32] [PASSED] 0xE221 (BATTLEMAGE) [10:02:32] [PASSED] 0xE222 (BATTLEMAGE) [10:02:32] [PASSED] 0xE223 (BATTLEMAGE) [10:02:32] [PASSED] 0xB080 (PANTHERLAKE) [10:02:32] [PASSED] 0xB081 (PANTHERLAKE) [10:02:32] [PASSED] 0xB082 (PANTHERLAKE) [10:02:32] [PASSED] 0xB083 (PANTHERLAKE) [10:02:32] [PASSED] 0xB084 (PANTHERLAKE) [10:02:32] [PASSED] 0xB085 (PANTHERLAKE) [10:02:32] [PASSED] 0xB086 (PANTHERLAKE) [10:02:32] [PASSED] 0xB087 (PANTHERLAKE) [10:02:32] [PASSED] 0xB08F (PANTHERLAKE) [10:02:32] [PASSED] 0xB090 (PANTHERLAKE) [10:02:32] [PASSED] 0xB0A0 (PANTHERLAKE) [10:02:32] [PASSED] 0xB0B0 (PANTHERLAKE) [10:02:32] [PASSED] 0xFD80 (PANTHERLAKE) [10:02:32] [PASSED] 0xFD81 (PANTHERLAKE) [10:02:32] ============= [PASSED] check_platform_gt_count ============= [10:02:32] ===================== [PASSED] xe_pci ====================== [10:02:32] =================== xe_rtp (2 subtests) ==================== [10:02:32] =============== xe_rtp_process_to_sr_tests ================ [10:02:32] [PASSED] coalesce-same-reg [10:02:32] [PASSED] no-match-no-add [10:02:32] [PASSED] match-or [10:02:33] [PASSED] match-or-xfail [10:02:33] [PASSED] no-match-no-add-multiple-rules [10:02:33] [PASSED] two-regs-two-entries [10:02:33] [PASSED] clr-one-set-other [10:02:33] [PASSED] set-field [10:02:33] [PASSED] conflict-duplicate [10:02:33] [PASSED] conflict-not-disjoint [10:02:33] [PASSED] conflict-reg-type [10:02:33] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [10:02:33] ================== xe_rtp_process_tests =================== [10:02:33] [PASSED] active1 [10:02:33] [PASSED] active2 [10:02:33] [PASSED] active-inactive [10:02:33] [PASSED] inactive-active [10:02:33] [PASSED] inactive-1st_or_active-inactive [10:02:33] [PASSED] inactive-2nd_or_active-inactive [10:02:33] [PASSED] inactive-last_or_active-inactive [10:02:33] [PASSED] inactive-no_or_active-inactive [10:02:33] ============== [PASSED] xe_rtp_process_tests =============== [10:02:33] ===================== [PASSED] xe_rtp ====================== [10:02:33] ==================== xe_wa (1 subtest) ===================== [10:02:33] ======================== xe_wa_gt ========================= [10:02:33] [PASSED] TIGERLAKE (B0) [10:02:33] [PASSED] DG1 (A0) [10:02:33] [PASSED] DG1 (B0) [10:02:33] [PASSED] ALDERLAKE_S (A0) [10:02:33] [PASSED] ALDERLAKE_S (B0) [10:02:33] [PASSED] ALDERLAKE_S (C0) [10:02:33] [PASSED] ALDERLAKE_S (D0) [10:02:33] [PASSED] ALDERLAKE_P (A0) [10:02:33] [PASSED] ALDERLAKE_P (B0) [10:02:33] [PASSED] ALDERLAKE_P (C0) [10:02:33] [PASSED] ALDERLAKE_S_RPLS (D0) [10:02:33] [PASSED] ALDERLAKE_P_RPLU (E0) [10:02:33] [PASSED] DG2_G10 (C0) [10:02:33] [PASSED] DG2_G11 (B1) [10:02:33] [PASSED] DG2_G12 (A1) [10:02:33] [PASSED] METEORLAKE (g:A0, m:A0) [10:02:33] [PASSED] METEORLAKE (g:A0, m:A0) [10:02:33] [PASSED] METEORLAKE (g:A0, m:A0) [10:02:33] [PASSED] LUNARLAKE (g:A0, m:A0) [10:02:33] [PASSED] LUNARLAKE (g:B0, m:A0) stty: 'standard input': Inappropriate ioctl for device [10:02:33] [PASSED] BATTLEMAGE (g:A0, m:A1) [10:02:33] ==================== [PASSED] xe_wa_gt ===================== [10:02:33] ====================== [PASSED] xe_wa ====================== [10:02:33] ============================================================ [10:02:33] Testing complete. Ran 297 tests: passed: 281, skipped: 16 [10:02:33] Elapsed time: 31.335s total, 4.204s configuring, 26.814s building, 0.303s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [10:02:33] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:02:34] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:02:56] Starting KUnit Kernel (1/1)... [10:02:56] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:02:56] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [10:02:56] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [10:02:56] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [10:02:56] =========== drm_validate_clone_mode (2 subtests) =========== [10:02:56] ============== drm_test_check_in_clone_mode =============== [10:02:56] [PASSED] in_clone_mode [10:02:56] [PASSED] not_in_clone_mode [10:02:56] ========== [PASSED] drm_test_check_in_clone_mode =========== [10:02:56] =============== drm_test_check_valid_clones =============== [10:02:56] [PASSED] not_in_clone_mode [10:02:56] [PASSED] valid_clone [10:02:56] [PASSED] invalid_clone [10:02:56] =========== [PASSED] drm_test_check_valid_clones =========== [10:02:56] ============= [PASSED] drm_validate_clone_mode ============= [10:02:56] ============= drm_validate_modeset (1 subtest) ============= [10:02:56] [PASSED] drm_test_check_connector_changed_modeset [10:02:56] ============== [PASSED] drm_validate_modeset =============== [10:02:56] ====== drm_test_bridge_get_current_state (2 subtests) ====== [10:02:56] [PASSED] drm_test_drm_bridge_get_current_state_atomic [10:02:56] [PASSED] drm_test_drm_bridge_get_current_state_legacy [10:02:56] ======== [PASSED] drm_test_bridge_get_current_state ======== [10:02:56] ====== drm_test_bridge_helper_reset_crtc (3 subtests) ====== [10:02:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [10:02:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [10:02:56] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [10:02:56] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [10:02:56] ============== drm_bridge_alloc (2 subtests) =============== [10:02:56] [PASSED] drm_test_drm_bridge_alloc_basic [10:02:56] [PASSED] drm_test_drm_bridge_alloc_get_put [10:02:56] ================ [PASSED] drm_bridge_alloc ================= [10:02:56] ================== drm_buddy (7 subtests) ================== [10:02:56] [PASSED] drm_test_buddy_alloc_limit [10:02:56] [PASSED] drm_test_buddy_alloc_optimistic [10:02:56] [PASSED] drm_test_buddy_alloc_pessimistic [10:02:56] [PASSED] drm_test_buddy_alloc_pathological [10:02:56] [PASSED] drm_test_buddy_alloc_contiguous [10:02:56] [PASSED] drm_test_buddy_alloc_clear [10:02:56] [PASSED] drm_test_buddy_alloc_range_bias [10:02:56] ==================== [PASSED] drm_buddy ==================== [10:02:56] ============= drm_cmdline_parser (40 subtests) ============= [10:02:56] [PASSED] drm_test_cmdline_force_d_only [10:02:56] [PASSED] drm_test_cmdline_force_D_only_dvi [10:02:56] [PASSED] drm_test_cmdline_force_D_only_hdmi [10:02:56] [PASSED] drm_test_cmdline_force_D_only_not_digital [10:02:56] [PASSED] drm_test_cmdline_force_e_only [10:02:56] [PASSED] drm_test_cmdline_res [10:02:56] [PASSED] drm_test_cmdline_res_vesa [10:02:56] [PASSED] drm_test_cmdline_res_vesa_rblank [10:02:56] [PASSED] drm_test_cmdline_res_rblank [10:02:56] [PASSED] drm_test_cmdline_res_bpp [10:02:56] [PASSED] drm_test_cmdline_res_refresh [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [10:02:56] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [10:02:56] [PASSED] drm_test_cmdline_res_margins_force_on [10:02:56] [PASSED] drm_test_cmdline_res_vesa_margins [10:02:56] [PASSED] drm_test_cmdline_name [10:02:56] [PASSED] drm_test_cmdline_name_bpp [10:02:56] [PASSED] drm_test_cmdline_name_option [10:02:56] [PASSED] drm_test_cmdline_name_bpp_option [10:02:56] [PASSED] drm_test_cmdline_rotate_0 [10:02:56] [PASSED] drm_test_cmdline_rotate_90 [10:02:56] [PASSED] drm_test_cmdline_rotate_180 [10:02:56] [PASSED] drm_test_cmdline_rotate_270 [10:02:56] [PASSED] drm_test_cmdline_hmirror [10:02:56] [PASSED] drm_test_cmdline_vmirror [10:02:56] [PASSED] drm_test_cmdline_margin_options [10:02:56] [PASSED] drm_test_cmdline_multiple_options [10:02:56] [PASSED] drm_test_cmdline_bpp_extra_and_option [10:02:56] [PASSED] drm_test_cmdline_extra_and_option [10:02:56] [PASSED] drm_test_cmdline_freestanding_options [10:02:56] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [10:02:56] [PASSED] drm_test_cmdline_panel_orientation [10:02:56] ================ drm_test_cmdline_invalid ================= [10:02:56] [PASSED] margin_only [10:02:56] [PASSED] interlace_only [10:02:56] [PASSED] res_missing_x [10:02:56] [PASSED] res_missing_y [10:02:56] [PASSED] res_bad_y [10:02:56] [PASSED] res_missing_y_bpp [10:02:56] [PASSED] res_bad_bpp [10:02:56] [PASSED] res_bad_refresh [10:02:56] [PASSED] res_bpp_refresh_force_on_off [10:02:56] [PASSED] res_invalid_mode [10:02:56] [PASSED] res_bpp_wrong_place_mode [10:02:56] [PASSED] name_bpp_refresh [10:02:56] [PASSED] name_refresh [10:02:56] [PASSED] name_refresh_wrong_mode [10:02:56] [PASSED] name_refresh_invalid_mode [10:02:56] [PASSED] rotate_multiple [10:02:56] [PASSED] rotate_invalid_val [10:02:56] [PASSED] rotate_truncated [10:02:56] [PASSED] invalid_option [10:02:56] [PASSED] invalid_tv_option [10:02:56] [PASSED] truncated_tv_option [10:02:56] ============ [PASSED] drm_test_cmdline_invalid ============= [10:02:56] =============== drm_test_cmdline_tv_options =============== [10:02:56] [PASSED] NTSC [10:02:56] [PASSED] NTSC_443 [10:02:56] [PASSED] NTSC_J [10:02:56] [PASSED] PAL [10:02:56] [PASSED] PAL_M [10:02:56] [PASSED] PAL_N [10:02:56] [PASSED] SECAM [10:02:56] [PASSED] MONO_525 [10:02:56] [PASSED] MONO_625 [10:02:56] =========== [PASSED] drm_test_cmdline_tv_options =========== [10:02:56] =============== [PASSED] drm_cmdline_parser ================ [10:02:56] ========== drmm_connector_hdmi_init (20 subtests) ========== [10:02:56] [PASSED] drm_test_connector_hdmi_init_valid [10:02:56] [PASSED] drm_test_connector_hdmi_init_bpc_8 [10:02:56] [PASSED] drm_test_connector_hdmi_init_bpc_10 [10:02:56] [PASSED] drm_test_connector_hdmi_init_bpc_12 [10:02:56] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [10:02:56] [PASSED] drm_test_connector_hdmi_init_bpc_null [10:02:56] [PASSED] drm_test_connector_hdmi_init_formats_empty [10:02:56] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [10:02:56] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:02:56] [PASSED] supported_formats=0x9 yuv420_allowed=1 [10:02:56] [PASSED] supported_formats=0x9 yuv420_allowed=0 [10:02:56] [PASSED] supported_formats=0x3 yuv420_allowed=1 [10:02:56] [PASSED] supported_formats=0x3 yuv420_allowed=0 [10:02:56] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [10:02:56] [PASSED] drm_test_connector_hdmi_init_null_ddc [10:02:56] [PASSED] drm_test_connector_hdmi_init_null_product [10:02:56] [PASSED] drm_test_connector_hdmi_init_null_vendor [10:02:56] [PASSED] drm_test_connector_hdmi_init_product_length_exact [10:02:56] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [10:02:56] [PASSED] drm_test_connector_hdmi_init_product_valid [10:02:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [10:02:56] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [10:02:56] [PASSED] drm_test_connector_hdmi_init_vendor_valid [10:02:56] ========= drm_test_connector_hdmi_init_type_valid ========= [10:02:56] [PASSED] HDMI-A [10:02:56] [PASSED] HDMI-B [10:02:56] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [10:02:56] ======== drm_test_connector_hdmi_init_type_invalid ======== [10:02:56] [PASSED] Unknown [10:02:56] [PASSED] VGA [10:02:56] [PASSED] DVI-I [10:02:56] [PASSED] DVI-D [10:02:56] [PASSED] DVI-A [10:02:56] [PASSED] Composite [10:02:56] [PASSED] SVIDEO [10:02:56] [PASSED] LVDS [10:02:56] [PASSED] Component [10:02:56] [PASSED] DIN [10:02:56] [PASSED] DP [10:02:56] [PASSED] TV [10:02:56] [PASSED] eDP [10:02:56] [PASSED] Virtual [10:02:56] [PASSED] DSI [10:02:56] [PASSED] DPI [10:02:56] [PASSED] Writeback [10:02:56] [PASSED] SPI [10:02:56] [PASSED] USB [10:02:56] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [10:02:56] ============ [PASSED] drmm_connector_hdmi_init ============= [10:02:56] ============= drmm_connector_init (3 subtests) ============= [10:02:56] [PASSED] drm_test_drmm_connector_init [10:02:56] [PASSED] drm_test_drmm_connector_init_null_ddc [10:02:56] ========= drm_test_drmm_connector_init_type_valid ========= [10:02:56] [PASSED] Unknown [10:02:56] [PASSED] VGA [10:02:56] [PASSED] DVI-I [10:02:56] [PASSED] DVI-D [10:02:56] [PASSED] DVI-A [10:02:56] [PASSED] Composite [10:02:56] [PASSED] SVIDEO [10:02:56] [PASSED] LVDS [10:02:56] [PASSED] Component [10:02:56] [PASSED] DIN [10:02:56] [PASSED] DP [10:02:56] [PASSED] HDMI-A [10:02:56] [PASSED] HDMI-B [10:02:56] [PASSED] TV [10:02:56] [PASSED] eDP [10:02:56] [PASSED] Virtual [10:02:56] [PASSED] DSI [10:02:56] [PASSED] DPI [10:02:56] [PASSED] Writeback [10:02:56] [PASSED] SPI [10:02:56] [PASSED] USB [10:02:56] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [10:02:56] =============== [PASSED] drmm_connector_init =============== [10:02:56] ========= drm_connector_dynamic_init (6 subtests) ========== [10:02:56] [PASSED] drm_test_drm_connector_dynamic_init [10:02:56] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [10:02:56] [PASSED] drm_test_drm_connector_dynamic_init_not_added [10:02:56] [PASSED] drm_test_drm_connector_dynamic_init_properties [10:02:56] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [10:02:56] [PASSED] Unknown [10:02:56] [PASSED] VGA [10:02:56] [PASSED] DVI-I [10:02:56] [PASSED] DVI-D [10:02:56] [PASSED] DVI-A [10:02:56] [PASSED] Composite [10:02:56] [PASSED] SVIDEO [10:02:56] [PASSED] LVDS [10:02:56] [PASSED] Component [10:02:56] [PASSED] DIN [10:02:56] [PASSED] DP [10:02:56] [PASSED] HDMI-A [10:02:56] [PASSED] HDMI-B [10:02:56] [PASSED] TV [10:02:56] [PASSED] eDP [10:02:56] [PASSED] Virtual [10:02:56] [PASSED] DSI [10:02:56] [PASSED] DPI [10:02:56] [PASSED] Writeback [10:02:56] [PASSED] SPI [10:02:56] [PASSED] USB [10:02:56] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [10:02:56] ======== drm_test_drm_connector_dynamic_init_name ========= [10:02:56] [PASSED] Unknown [10:02:56] [PASSED] VGA [10:02:56] [PASSED] DVI-I [10:02:56] [PASSED] DVI-D [10:02:56] [PASSED] DVI-A [10:02:56] [PASSED] Composite [10:02:56] [PASSED] SVIDEO [10:02:56] [PASSED] LVDS [10:02:56] [PASSED] Component [10:02:56] [PASSED] DIN [10:02:56] [PASSED] DP [10:02:56] [PASSED] HDMI-A [10:02:56] [PASSED] HDMI-B [10:02:56] [PASSED] TV [10:02:56] [PASSED] eDP [10:02:56] [PASSED] Virtual [10:02:56] [PASSED] DSI [10:02:56] [PASSED] DPI [10:02:56] [PASSED] Writeback [10:02:56] [PASSED] SPI [10:02:56] [PASSED] USB [10:02:56] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [10:02:56] =========== [PASSED] drm_connector_dynamic_init ============ [10:02:56] ==== drm_connector_dynamic_register_early (4 subtests) ===== [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [10:02:56] ====== [PASSED] drm_connector_dynamic_register_early ======= [10:02:56] ======= drm_connector_dynamic_register (7 subtests) ======== [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_on_list [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_no_init [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [10:02:56] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [10:02:56] ========= [PASSED] drm_connector_dynamic_register ========== [10:02:56] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [10:02:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [10:02:56] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [10:02:56] === [PASSED] drm_connector_attach_broadcast_rgb_property === [10:02:56] ========== drm_get_tv_mode_from_name (2 subtests) ========== [10:02:56] ========== drm_test_get_tv_mode_from_name_valid =========== [10:02:56] [PASSED] NTSC [10:02:56] [PASSED] NTSC-443 [10:02:56] [PASSED] NTSC-J [10:02:56] [PASSED] PAL [10:02:56] [PASSED] PAL-M [10:02:56] [PASSED] PAL-N [10:02:56] [PASSED] SECAM [10:02:56] [PASSED] Mono [10:02:56] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [10:02:56] [PASSED] drm_test_get_tv_mode_from_name_truncated [10:02:56] ============ [PASSED] drm_get_tv_mode_from_name ============ [10:02:56] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [10:02:56] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [10:02:56] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [10:02:56] [PASSED] VIC 96 [10:02:56] [PASSED] VIC 97 [10:02:56] [PASSED] VIC 101 [10:02:56] [PASSED] VIC 102 [10:02:56] [PASSED] VIC 106 [10:02:56] [PASSED] VIC 107 [10:02:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [10:02:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [10:02:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [10:02:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [10:02:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [10:02:56] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [10:02:56] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [10:02:56] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [10:02:56] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [10:02:56] [PASSED] Automatic [10:02:56] [PASSED] Full [10:02:56] [PASSED] Limited 16:235 [10:02:56] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [10:02:56] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [10:02:56] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [10:02:56] == drm_hdmi_connector_get_output_format_name (2 subtests) == [10:02:56] === drm_test_drm_hdmi_connector_get_output_format_name ==== [10:02:56] [PASSED] RGB [10:02:56] [PASSED] YUV 4:2:0 [10:02:56] [PASSED] YUV 4:2:2 [10:02:56] [PASSED] YUV 4:4:4 [10:02:56] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [10:02:56] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [10:02:56] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [10:02:56] ============= drm_damage_helper (21 subtests) ============== [10:02:56] [PASSED] drm_test_damage_iter_no_damage [10:02:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src [10:02:56] [PASSED] drm_test_damage_iter_no_damage_src_moved [10:02:56] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [10:02:56] [PASSED] drm_test_damage_iter_no_damage_not_visible [10:02:56] [PASSED] drm_test_damage_iter_no_damage_no_crtc [10:02:56] [PASSED] drm_test_damage_iter_no_damage_no_fb [10:02:56] [PASSED] drm_test_damage_iter_simple_damage [10:02:56] [PASSED] drm_test_damage_iter_single_damage [10:02:56] [PASSED] drm_test_damage_iter_single_damage_intersect_src [10:02:56] [PASSED] drm_test_damage_iter_single_damage_outside_src [10:02:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src [10:02:56] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [10:02:56] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [10:02:56] [PASSED] drm_test_damage_iter_single_damage_src_moved [10:02:56] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [10:02:56] [PASSED] drm_test_damage_iter_damage [10:02:56] [PASSED] drm_test_damage_iter_damage_one_intersect [10:02:56] [PASSED] drm_test_damage_iter_damage_one_outside [10:02:56] [PASSED] drm_test_damage_iter_damage_src_moved [10:02:56] [PASSED] drm_test_damage_iter_damage_not_visible [10:02:56] ================ [PASSED] drm_damage_helper ================ [10:02:56] ============== drm_dp_mst_helper (3 subtests) ============== [10:02:56] ============== drm_test_dp_mst_calc_pbn_mode ============== [10:02:56] [PASSED] Clock 154000 BPP 30 DSC disabled [10:02:56] [PASSED] Clock 234000 BPP 30 DSC disabled [10:02:56] [PASSED] Clock 297000 BPP 24 DSC disabled [10:02:56] [PASSED] Clock 332880 BPP 24 DSC enabled [10:02:56] [PASSED] Clock 324540 BPP 24 DSC enabled [10:02:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [10:02:56] ============== drm_test_dp_mst_calc_pbn_div =============== [10:02:56] [PASSED] Link rate 2000000 lane count 4 [10:02:56] [PASSED] Link rate 2000000 lane count 2 [10:02:56] [PASSED] Link rate 2000000 lane count 1 [10:02:56] [PASSED] Link rate 1350000 lane count 4 [10:02:56] [PASSED] Link rate 1350000 lane count 2 [10:02:56] [PASSED] Link rate 1350000 lane count 1 [10:02:56] [PASSED] Link rate 1000000 lane count 4 [10:02:56] [PASSED] Link rate 1000000 lane count 2 [10:02:56] [PASSED] Link rate 1000000 lane count 1 [10:02:56] [PASSED] Link rate 810000 lane count 4 [10:02:56] [PASSED] Link rate 810000 lane count 2 [10:02:56] [PASSED] Link rate 810000 lane count 1 [10:02:56] [PASSED] Link rate 540000 lane count 4 [10:02:56] [PASSED] Link rate 540000 lane count 2 [10:02:56] [PASSED] Link rate 540000 lane count 1 [10:02:56] [PASSED] Link rate 270000 lane count 4 [10:02:56] [PASSED] Link rate 270000 lane count 2 [10:02:56] [PASSED] Link rate 270000 lane count 1 [10:02:56] [PASSED] Link rate 162000 lane count 4 [10:02:56] [PASSED] Link rate 162000 lane count 2 [10:02:56] [PASSED] Link rate 162000 lane count 1 [10:02:56] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [10:02:56] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [10:02:56] [PASSED] DP_ENUM_PATH_RESOURCES with port number [10:02:56] [PASSED] DP_POWER_UP_PHY with port number [10:02:56] [PASSED] DP_POWER_DOWN_PHY with port number [10:02:56] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [10:02:56] [PASSED] DP_ALLOCATE_PAYLOAD with port number [10:02:56] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [10:02:56] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [10:02:56] [PASSED] DP_QUERY_PAYLOAD with port number [10:02:56] [PASSED] DP_QUERY_PAYLOAD with VCPI [10:02:56] [PASSED] DP_REMOTE_DPCD_READ with port number [10:02:56] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [10:02:56] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [10:02:56] [PASSED] DP_REMOTE_DPCD_WRITE with port number [10:02:56] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [10:02:56] [PASSED] DP_REMOTE_DPCD_WRITE with data array [10:02:56] [PASSED] DP_REMOTE_I2C_READ with port number [10:02:56] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [10:02:56] [PASSED] DP_REMOTE_I2C_READ with transactions array [10:02:56] [PASSED] DP_REMOTE_I2C_WRITE with port number [10:02:56] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [10:02:56] [PASSED] DP_REMOTE_I2C_WRITE with data array [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [10:02:56] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [10:02:56] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [10:02:56] ================ [PASSED] drm_dp_mst_helper ================ [10:02:56] ================== drm_exec (7 subtests) =================== [10:02:56] [PASSED] sanitycheck [10:02:56] [PASSED] test_lock [10:02:56] [PASSED] test_lock_unlock [10:02:56] [PASSED] test_duplicates [10:02:56] [PASSED] test_prepare [10:02:56] [PASSED] test_prepare_array [10:02:56] [PASSED] test_multiple_loops [10:02:56] ==================== [PASSED] drm_exec ===================== [10:02:56] =========== drm_format_helper_test (17 subtests) =========== [10:02:56] ============== drm_test_fb_xrgb8888_to_gray8 ============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [10:02:56] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [10:02:56] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [10:02:56] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [10:02:56] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [10:02:56] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [10:02:56] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [10:02:56] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [10:02:56] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [10:02:56] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [10:02:56] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [10:02:56] ============== drm_test_fb_xrgb8888_to_mono =============== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [10:02:56] ==================== drm_test_fb_swab ===================== [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ================ [PASSED] drm_test_fb_swab ================= [10:02:56] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [10:02:56] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [10:02:56] [PASSED] single_pixel_source_buffer [10:02:56] [PASSED] single_pixel_clip_rectangle [10:02:56] [PASSED] well_known_colors [10:02:56] [PASSED] destination_pitch [10:02:56] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [10:02:56] ================= drm_test_fb_clip_offset ================= [10:02:56] [PASSED] pass through [10:02:56] [PASSED] horizontal offset [10:02:56] [PASSED] vertical offset [10:02:56] [PASSED] horizontal and vertical offset [10:02:56] [PASSED] horizontal offset (custom pitch) [10:02:56] [PASSED] vertical offset (custom pitch) [10:02:56] [PASSED] horizontal and vertical offset (custom pitch) [10:02:56] ============= [PASSED] drm_test_fb_clip_offset ============= [10:02:56] =================== drm_test_fb_memcpy ==================== [10:02:56] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [10:02:56] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [10:02:56] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [10:02:56] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [10:02:56] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [10:02:56] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [10:02:56] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [10:02:56] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [10:02:56] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [10:02:56] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [10:02:56] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [10:02:56] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [10:02:56] =============== [PASSED] drm_test_fb_memcpy ================ [10:02:56] ============= [PASSED] drm_format_helper_test ============== [10:02:56] ================= drm_format (18 subtests) ================= [10:02:56] [PASSED] drm_test_format_block_width_invalid [10:02:56] [PASSED] drm_test_format_block_width_one_plane [10:02:56] [PASSED] drm_test_format_block_width_two_plane [10:02:56] [PASSED] drm_test_format_block_width_three_plane [10:02:56] [PASSED] drm_test_format_block_width_tiled [10:02:56] [PASSED] drm_test_format_block_height_invalid [10:02:56] [PASSED] drm_test_format_block_height_one_plane [10:02:56] [PASSED] drm_test_format_block_height_two_plane [10:02:56] [PASSED] drm_test_format_block_height_three_plane [10:02:56] [PASSED] drm_test_format_block_height_tiled [10:02:56] [PASSED] drm_test_format_min_pitch_invalid [10:02:56] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [10:02:56] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [10:02:56] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [10:02:56] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [10:02:56] [PASSED] drm_test_format_min_pitch_two_plane [10:02:56] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [10:02:56] [PASSED] drm_test_format_min_pitch_tiled [10:02:56] =================== [PASSED] drm_format ==================== [10:02:56] ============== drm_framebuffer (10 subtests) =============== [10:02:56] ========== drm_test_framebuffer_check_src_coords ========== [10:02:56] [PASSED] Success: source fits into fb [10:02:56] [PASSED] Fail: overflowing fb with x-axis coordinate [10:02:56] [PASSED] Fail: overflowing fb with y-axis coordinate [10:02:56] [PASSED] Fail: overflowing fb with source width [10:02:56] [PASSED] Fail: overflowing fb with source height [10:02:56] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [10:02:56] [PASSED] drm_test_framebuffer_cleanup [10:02:56] =============== drm_test_framebuffer_create =============== [10:02:56] [PASSED] ABGR8888 normal sizes [10:02:56] [PASSED] ABGR8888 max sizes [10:02:56] [PASSED] ABGR8888 pitch greater than min required [10:02:56] [PASSED] ABGR8888 pitch less than min required [10:02:56] [PASSED] ABGR8888 Invalid width [10:02:56] [PASSED] ABGR8888 Invalid buffer handle [10:02:56] [PASSED] No pixel format [10:02:56] [PASSED] ABGR8888 Width 0 [10:02:56] [PASSED] ABGR8888 Height 0 [10:02:56] [PASSED] ABGR8888 Out of bound height * pitch combination [10:02:56] [PASSED] ABGR8888 Large buffer offset [10:02:56] [PASSED] ABGR8888 Buffer offset for inexistent plane [10:02:56] [PASSED] ABGR8888 Invalid flag [10:02:56] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [10:02:56] [PASSED] ABGR8888 Valid buffer modifier [10:02:56] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [10:02:56] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] NV12 Normal sizes [10:02:56] [PASSED] NV12 Max sizes [10:02:56] [PASSED] NV12 Invalid pitch [10:02:56] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [10:02:56] [PASSED] NV12 different modifier per-plane [10:02:56] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [10:02:56] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] NV12 Modifier for inexistent plane [10:02:56] [PASSED] NV12 Handle for inexistent plane [10:02:56] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [10:02:56] [PASSED] YVU420 Normal sizes [10:02:56] [PASSED] YVU420 Max sizes [10:02:56] [PASSED] YVU420 Invalid pitch [10:02:56] [PASSED] YVU420 Different pitches [10:02:56] [PASSED] YVU420 Different buffer offsets/pitches [10:02:56] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [10:02:56] [PASSED] YVU420 Valid modifier [10:02:56] [PASSED] YVU420 Different modifiers per plane [10:02:56] [PASSED] YVU420 Modifier for inexistent plane [10:02:56] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [10:02:56] [PASSED] X0L2 Normal sizes [10:02:56] [PASSED] X0L2 Max sizes [10:02:56] [PASSED] X0L2 Invalid pitch [10:02:56] [PASSED] X0L2 Pitch greater than minimum required [10:02:56] [PASSED] X0L2 Handle for inexistent plane [10:02:56] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [10:02:56] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [10:02:56] [PASSED] X0L2 Valid modifier [10:02:56] [PASSED] X0L2 Modifier for inexistent plane [10:02:56] =========== [PASSED] drm_test_framebuffer_create =========== [10:02:56] [PASSED] drm_test_framebuffer_free [10:02:56] [PASSED] drm_test_framebuffer_init [10:02:56] [PASSED] drm_test_framebuffer_init_bad_format [10:02:56] [PASSED] drm_test_framebuffer_init_dev_mismatch [10:02:56] [PASSED] drm_test_framebuffer_lookup [10:02:56] [PASSED] drm_test_framebuffer_lookup_inexistent [10:02:56] [PASSED] drm_test_framebuffer_modifiers_not_supported [10:02:56] ================= [PASSED] drm_framebuffer ================= [10:02:56] ================ drm_gem_shmem (8 subtests) ================ [10:02:56] [PASSED] drm_gem_shmem_test_obj_create [10:02:56] [PASSED] drm_gem_shmem_test_obj_create_private [10:02:56] [PASSED] drm_gem_shmem_test_pin_pages [10:02:56] [PASSED] drm_gem_shmem_test_vmap [10:02:56] [PASSED] drm_gem_shmem_test_get_pages_sgt [10:02:56] [PASSED] drm_gem_shmem_test_get_sg_table [10:02:56] [PASSED] drm_gem_shmem_test_madvise [10:02:56] [PASSED] drm_gem_shmem_test_purge [10:02:56] ================== [PASSED] drm_gem_shmem ================== [10:02:56] === drm_atomic_helper_connector_hdmi_check (27 subtests) === [10:02:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [10:02:56] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [10:02:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [10:02:56] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [10:02:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [10:02:56] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [10:02:56] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [10:02:56] [PASSED] Automatic [10:02:56] [PASSED] Full [10:02:56] [PASSED] Limited 16:235 [10:02:56] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [10:02:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [10:02:56] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [10:02:56] [PASSED] drm_test_check_disable_connector [10:02:56] [PASSED] drm_test_check_hdmi_funcs_reject_rate [10:02:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [10:02:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [10:02:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [10:02:56] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [10:02:56] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [10:02:56] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [10:02:56] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [10:02:56] [PASSED] drm_test_check_output_bpc_dvi [10:02:56] [PASSED] drm_test_check_output_bpc_format_vic_1 [10:02:56] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [10:02:56] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [10:02:56] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [10:02:56] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [10:02:56] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [10:02:56] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [10:02:56] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [10:02:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [10:02:56] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [10:02:56] [PASSED] drm_test_check_broadcast_rgb_value [10:02:56] [PASSED] drm_test_check_bpc_8_value [10:02:56] [PASSED] drm_test_check_bpc_10_value [10:02:56] [PASSED] drm_test_check_bpc_12_value [10:02:56] [PASSED] drm_test_check_format_value [10:02:56] [PASSED] drm_test_check_tmds_char_value [10:02:56] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [10:02:56] = drm_atomic_helper_connector_hdmi_mode_valid (4 subtests) = [10:02:56] [PASSED] drm_test_check_mode_valid [10:02:56] [PASSED] drm_test_check_mode_valid_reject [10:02:56] [PASSED] drm_test_check_mode_valid_reject_rate [10:02:56] [PASSED] drm_test_check_mode_valid_reject_max_clock [10:02:56] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [10:02:56] ================= drm_managed (2 subtests) ================= [10:02:56] [PASSED] drm_test_managed_release_action [10:02:56] [PASSED] drm_test_managed_run_action [10:02:56] =================== [PASSED] drm_managed =================== [10:02:56] =================== drm_mm (6 subtests) ==================== [10:02:56] [PASSED] drm_test_mm_init [10:02:56] [PASSED] drm_test_mm_debug [10:02:56] [PASSED] drm_test_mm_align32 [10:02:56] [PASSED] drm_test_mm_align64 [10:02:56] [PASSED] drm_test_mm_lowest [10:02:56] [PASSED] drm_test_mm_highest [10:02:56] ===================== [PASSED] drm_mm ====================== [10:02:56] ============= drm_modes_analog_tv (5 subtests) ============= [10:02:56] [PASSED] drm_test_modes_analog_tv_mono_576i [10:02:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i [10:02:56] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [10:02:56] [PASSED] drm_test_modes_analog_tv_pal_576i [10:02:56] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [10:02:56] =============== [PASSED] drm_modes_analog_tv =============== [10:02:56] ============== drm_plane_helper (2 subtests) =============== [10:02:56] =============== drm_test_check_plane_state ================ [10:02:56] [PASSED] clipping_simple [10:02:56] [PASSED] clipping_rotate_reflect [10:02:56] [PASSED] positioning_simple [10:02:56] [PASSED] upscaling [10:02:56] [PASSED] downscaling [10:02:56] [PASSED] rounding1 [10:02:56] [PASSED] rounding2 [10:02:56] [PASSED] rounding3 [10:02:56] [PASSED] rounding4 [10:02:56] =========== [PASSED] drm_test_check_plane_state ============ [10:02:56] =========== drm_test_check_invalid_plane_state ============ [10:02:56] [PASSED] positioning_invalid [10:02:56] [PASSED] upscaling_invalid [10:02:56] [PASSED] downscaling_invalid [10:02:56] ======= [PASSED] drm_test_check_invalid_plane_state ======== [10:02:56] ================ [PASSED] drm_plane_helper ================= [10:02:56] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [10:02:56] ====== drm_test_connector_helper_tv_get_modes_check ======= [10:02:56] [PASSED] None [10:02:56] [PASSED] PAL [10:02:56] [PASSED] NTSC [10:02:56] [PASSED] Both, NTSC Default [10:02:56] [PASSED] Both, PAL Default [10:02:56] [PASSED] Both, NTSC Default, with PAL on command-line [10:02:56] [PASSED] Both, PAL Default, with NTSC on command-line [10:02:56] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [10:02:56] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [10:02:56] ================== drm_rect (9 subtests) =================== [10:02:56] [PASSED] drm_test_rect_clip_scaled_div_by_zero [10:02:56] [PASSED] drm_test_rect_clip_scaled_not_clipped [10:02:56] [PASSED] drm_test_rect_clip_scaled_clipped [10:02:56] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [10:02:56] ================= drm_test_rect_intersect ================= [10:02:56] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [10:02:56] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [10:02:56] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [10:02:56] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [10:02:56] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [10:02:56] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [10:02:56] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [10:02:56] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [10:02:56] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [10:02:56] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [10:02:56] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [10:02:56] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [10:02:56] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [10:02:56] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [10:02:56] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [10:02:56] ============= [PASSED] drm_test_rect_intersect ============= [10:02:56] ================ drm_test_rect_calc_hscale ================ [10:02:56] [PASSED] normal use [10:02:56] [PASSED] out of max range [10:02:56] [PASSED] out of min range [10:02:56] [PASSED] zero dst [10:02:56] [PASSED] negative src [10:02:56] [PASSED] negative dst [10:02:56] ============ [PASSED] drm_test_rect_calc_hscale ============ [10:02:56] ================ drm_test_rect_calc_vscale ================ [10:02:56] [PASSED] normal use [10:02:56] [PASSED] out of max range [10:02:56] [PASSED] out of min range [10:02:56] [PASSED] zero dst [10:02:56] [PASSED] negative src [10:02:56] [PASSED] negative dst [10:02:56] ============ [PASSED] drm_test_rect_calc_vscale ============ [10:02:56] ================== drm_test_rect_rotate =================== [10:02:56] [PASSED] reflect-x [10:02:56] [PASSED] reflect-y [10:02:56] [PASSED] rotate-0 [10:02:56] [PASSED] rotate-90 [10:02:56] [PASSED] rotate-180 [10:02:56] [PASSED] rotate-270 stty: 'standard input': Inappropriate ioctl for device [10:02:56] ============== [PASSED] drm_test_rect_rotate =============== [10:02:56] ================ drm_test_rect_rotate_inv ================= [10:02:56] [PASSED] reflect-x [10:02:56] [PASSED] reflect-y [10:02:56] [PASSED] rotate-0 [10:02:56] [PASSED] rotate-90 [10:02:56] [PASSED] rotate-180 [10:02:56] [PASSED] rotate-270 [10:02:56] ============ [PASSED] drm_test_rect_rotate_inv ============= [10:02:56] ==================== [PASSED] drm_rect ===================== [10:02:56] ============ drm_sysfb_modeset_test (1 subtest) ============ [10:02:56] ============ drm_test_sysfb_build_fourcc_list ============= [10:02:56] [PASSED] no native formats [10:02:56] [PASSED] XRGB8888 as native format [10:02:56] [PASSED] remove duplicates [10:02:56] [PASSED] convert alpha formats [10:02:56] [PASSED] random formats [10:02:56] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [10:02:56] ============= [PASSED] drm_sysfb_modeset_test ============== [10:02:56] ============================================================ [10:02:56] Testing complete. Ran 616 tests: passed: 616 [10:02:56] Elapsed time: 23.166s total, 1.726s configuring, 21.270s building, 0.148s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [10:02:56] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [10:02:58] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [10:03:05] Starting KUnit Kernel (1/1)... [10:03:05] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [10:03:05] ================= ttm_device (5 subtests) ================== [10:03:05] [PASSED] ttm_device_init_basic [10:03:05] [PASSED] ttm_device_init_multiple [10:03:05] [PASSED] ttm_device_fini_basic [10:03:05] [PASSED] ttm_device_init_no_vma_man [10:03:05] ================== ttm_device_init_pools ================== [10:03:05] [PASSED] No DMA allocations, no DMA32 required [10:03:05] [PASSED] DMA allocations, DMA32 required [10:03:05] [PASSED] No DMA allocations, DMA32 required [10:03:05] [PASSED] DMA allocations, no DMA32 required [10:03:05] ============== [PASSED] ttm_device_init_pools ============== [10:03:05] =================== [PASSED] ttm_device ==================== [10:03:05] ================== ttm_pool (8 subtests) =================== [10:03:05] ================== ttm_pool_alloc_basic =================== [10:03:05] [PASSED] One page [10:03:05] [PASSED] More than one page [10:03:05] [PASSED] Above the allocation limit [10:03:05] [PASSED] One page, with coherent DMA mappings enabled [10:03:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:03:05] ============== [PASSED] ttm_pool_alloc_basic =============== [10:03:05] ============== ttm_pool_alloc_basic_dma_addr ============== [10:03:05] [PASSED] One page [10:03:05] [PASSED] More than one page [10:03:05] [PASSED] Above the allocation limit [10:03:05] [PASSED] One page, with coherent DMA mappings enabled [10:03:05] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [10:03:05] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [10:03:05] [PASSED] ttm_pool_alloc_order_caching_match [10:03:05] [PASSED] ttm_pool_alloc_caching_mismatch [10:03:05] [PASSED] ttm_pool_alloc_order_mismatch [10:03:05] [PASSED] ttm_pool_free_dma_alloc [10:03:05] [PASSED] ttm_pool_free_no_dma_alloc [10:03:05] [PASSED] ttm_pool_fini_basic [10:03:05] ==================== [PASSED] ttm_pool ===================== [10:03:05] ================ ttm_resource (8 subtests) ================= [10:03:05] ================= ttm_resource_init_basic ================= [10:03:05] [PASSED] Init resource in TTM_PL_SYSTEM [10:03:05] [PASSED] Init resource in TTM_PL_VRAM [10:03:05] [PASSED] Init resource in a private placement [10:03:05] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [10:03:05] ============= [PASSED] ttm_resource_init_basic ============= [10:03:05] [PASSED] ttm_resource_init_pinned [10:03:05] [PASSED] ttm_resource_fini_basic [10:03:05] [PASSED] ttm_resource_manager_init_basic [10:03:05] [PASSED] ttm_resource_manager_usage_basic [10:03:05] [PASSED] ttm_resource_manager_set_used_basic [10:03:05] [PASSED] ttm_sys_man_alloc_basic [10:03:05] [PASSED] ttm_sys_man_free_basic [10:03:05] ================== [PASSED] ttm_resource =================== [10:03:05] =================== ttm_tt (15 subtests) =================== [10:03:05] ==================== ttm_tt_init_basic ==================== [10:03:05] [PASSED] Page-aligned size [10:03:05] [PASSED] Extra pages requested [10:03:05] ================ [PASSED] ttm_tt_init_basic ================ [10:03:05] [PASSED] ttm_tt_init_misaligned [10:03:05] [PASSED] ttm_tt_fini_basic [10:03:05] [PASSED] ttm_tt_fini_sg [10:03:05] [PASSED] ttm_tt_fini_shmem [10:03:05] [PASSED] ttm_tt_create_basic [10:03:05] [PASSED] ttm_tt_create_invalid_bo_type [10:03:05] [PASSED] ttm_tt_create_ttm_exists [10:03:05] [PASSED] ttm_tt_create_failed [10:03:05] [PASSED] ttm_tt_destroy_basic [10:03:05] [PASSED] ttm_tt_populate_null_ttm [10:03:05] [PASSED] ttm_tt_populate_populated_ttm [10:03:05] [PASSED] ttm_tt_unpopulate_basic [10:03:05] [PASSED] ttm_tt_unpopulate_empty_ttm [10:03:05] [PASSED] ttm_tt_swapin_basic [10:03:05] ===================== [PASSED] ttm_tt ====================== [10:03:05] =================== ttm_bo (14 subtests) =================== [10:03:05] =========== ttm_bo_reserve_optimistic_no_ticket =========== [10:03:05] [PASSED] Cannot be interrupted and sleeps [10:03:05] [PASSED] Cannot be interrupted, locks straight away [10:03:05] [PASSED] Can be interrupted, sleeps [10:03:05] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [10:03:05] [PASSED] ttm_bo_reserve_locked_no_sleep [10:03:05] [PASSED] ttm_bo_reserve_no_wait_ticket [10:03:05] [PASSED] ttm_bo_reserve_double_resv [10:03:05] [PASSED] ttm_bo_reserve_interrupted [10:03:05] [PASSED] ttm_bo_reserve_deadlock [10:03:05] [PASSED] ttm_bo_unreserve_basic [10:03:05] [PASSED] ttm_bo_unreserve_pinned [10:03:05] [PASSED] ttm_bo_unreserve_bulk [10:03:05] [PASSED] ttm_bo_put_basic [10:03:05] [PASSED] ttm_bo_put_shared_resv [10:03:05] [PASSED] ttm_bo_pin_basic [10:03:05] [PASSED] ttm_bo_pin_unpin_resource [10:03:05] [PASSED] ttm_bo_multiple_pin_one_unpin [10:03:05] ===================== [PASSED] ttm_bo ====================== [10:03:05] ============== ttm_bo_validate (22 subtests) =============== [10:03:05] ============== ttm_bo_init_reserved_sys_man =============== [10:03:05] [PASSED] Buffer object for userspace [10:03:05] [PASSED] Kernel buffer object [10:03:05] [PASSED] Shared buffer object [10:03:05] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [10:03:05] ============== ttm_bo_init_reserved_mock_man ============== [10:03:05] [PASSED] Buffer object for userspace [10:03:05] [PASSED] Kernel buffer object [10:03:05] [PASSED] Shared buffer object [10:03:05] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [10:03:05] [PASSED] ttm_bo_init_reserved_resv [10:03:05] ================== ttm_bo_validate_basic ================== [10:03:05] [PASSED] Buffer object for userspace [10:03:05] [PASSED] Kernel buffer object [10:03:05] [PASSED] Shared buffer object [10:03:05] ============== [PASSED] ttm_bo_validate_basic ============== [10:03:05] [PASSED] ttm_bo_validate_invalid_placement [10:03:05] ============= ttm_bo_validate_same_placement ============== [10:03:05] [PASSED] System manager [10:03:05] [PASSED] VRAM manager [10:03:05] ========= [PASSED] ttm_bo_validate_same_placement ========== [10:03:05] [PASSED] ttm_bo_validate_failed_alloc [10:03:05] [PASSED] ttm_bo_validate_pinned [10:03:05] [PASSED] ttm_bo_validate_busy_placement [10:03:05] ================ ttm_bo_validate_multihop ================= [10:03:05] [PASSED] Buffer object for userspace [10:03:05] [PASSED] Kernel buffer object [10:03:05] [PASSED] Shared buffer object [10:03:05] ============ [PASSED] ttm_bo_validate_multihop ============= [10:03:05] ========== ttm_bo_validate_no_placement_signaled ========== [10:03:05] [PASSED] Buffer object in system domain, no page vector [10:03:05] [PASSED] Buffer object in system domain with an existing page vector [10:03:05] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [10:03:05] ======== ttm_bo_validate_no_placement_not_signaled ======== [10:03:05] [PASSED] Buffer object for userspace [10:03:05] [PASSED] Kernel buffer object [10:03:05] [PASSED] Shared buffer object [10:03:05] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [10:03:05] [PASSED] ttm_bo_validate_move_fence_signaled [10:03:06] ========= ttm_bo_validate_move_fence_not_signaled ========= [10:03:06] [PASSED] Waits for GPU [10:03:06] [PASSED] Tries to lock straight away [10:03:06] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [10:03:06] [PASSED] ttm_bo_validate_swapout [10:03:06] [PASSED] ttm_bo_validate_happy_evict [10:03:06] [PASSED] ttm_bo_validate_all_pinned_evict [10:03:06] [PASSED] ttm_bo_validate_allowed_only_evict [10:03:06] [PASSED] ttm_bo_validate_deleted_evict [10:03:06] [PASSED] ttm_bo_validate_busy_domain_evict [10:03:06] [PASSED] ttm_bo_validate_evict_gutting [10:03:06] [PASSED] ttm_bo_validate_recrusive_evict stty: 'standard input': Inappropriate ioctl for device [10:03:06] ================= [PASSED] ttm_bo_validate ================= [10:03:06] ============================================================ [10:03:06] Testing complete. Ran 102 tests: passed: 102 [10:03:06] Elapsed time: 10.061s total, 1.665s configuring, 7.728s building, 0.556s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
You keep forgetting the "RFC" in your recent series's. Please add it next time.
P.
Quoted 262 lines · Tvrtko Ursulin
As a summary, the new scheduling algorithm is insipired by the original Linux
CFS and so far no scheduling regressions have been found. There are improvements
in fairness and scheduling of interactive clients when running in parallel with
a heavy GPU load (for example Pierre-Eric has one viewperf medical test which
shows a nice improvement with amdgpu).On the high level main advantages of the series are:
1. Scheduling quality - schedules better than FIFO, solves priority starvation.
2. Code simplification - no more multiple run queues and multiple algorithms.
3. Virtual GPU time based scheduling enables relatively simple addition
of a scheduling cgroup controller in the future.There is a little bit more detailed write up on the motivation and results in
the form of a blog post which may be easier to read:
https://blogs.igalia.com/tursulin/fair-er-drm-gpu-scheduler/First patches add some unit tests which allow for easy evaluation of scheduling
behaviour against different client submission patterns. From there onwards it is
hopefully a natural progression of cleanups, enablers, adding the fair policy,
and finally removing FIFO and RR and simplifying the code base due no more need
for multiple run queues.As a headline result I have tested three simultaneous clients on the Steam Deck:
One instance of a deferredmultisampling Vulkan demo running with low priority,
one normal priority instance of the same demo, and the Unigine Heaven benchmark.With the FIFO scheduler we can see that the low priority client is completely
starved and the GPU time distribution between the other two clients is uneven:https://people.igalia.com/tursulin/drm-sched-fair/fifo-starvation.png
Switching to the fair scheduler, GPU time distribution is almost equal and the
low priority client does get a small share of the GPU:https://people.igalia.com/tursulin/drm-sched-fair/fair-no-starvation.png
Moving onto the synthetic submission patterns, they are about two simultaneous
clients which broadly cover the following categories:* Deep queue clients
* Hogs versus interactive
* Priority handlingLets look at the results:
1. Two normal priority deep queue clients.
These ones submit one second worth of 8ms jobs. As fast as they can, no
dependencies etc. There is no difference in runtime between FIFO and fair but
the latter allows both clients to progress with work more evenly:https://people.igalia.com/tursulin/drm-sched-fair/normal-normal.png
(X axis is time, Y is submitted queue-depth, hence lowering of qd corresponds
with work progress for both clients, tested with both schedulers separately.)2. Same two clients but one is now low priority.
https://people.igalia.com/tursulin/drm-sched-fair/normal-low.png
Normal priority client is a solid line, low priority dotted. We can see how FIFO
completely starves the low priority client until the normal priority is fully
done. Only then the low priority client gets any GPU time.In constrast, fair scheduler allows some GPU time to the low priority client.
3. Same clients but now high versus normal priority.
Similar behaviour as in the previous one with normal a bit less de- prioritised
relative to high, than low was against normal.https://people.igalia.com/tursulin/drm-sched-fair/high-normal.png
4. Heavy load vs interactive client.
Heavy client emits a 75% GPU load in the format of 3x 2.5ms jobs followed by a
2.5ms wait. Interactive client emits a 10% GPU load in the format of 1x 1ms job
followed by a 9ms wait.This simulates an interactive graphical client used on top of a relatively heavy
background load but no GPU oversubscription.Graphs show the interactive client only and from now on, instead of looking at
the client's queue depth, we look at its "fps".https://people.igalia.com/tursulin/drm-sched-fair/heavy-interactive.png
We can see that fair scheduler allows a higher fps for the interactive client
which is good.5. An even heavier load vs interactive client.
This one is oversubscribing the GPU by submitting 4x 50ms jobs and waiting for
only one microsecond before repeating the cycle. Interactive client is thje same
10% as above.https://people.igalia.com/tursulin/drm-sched-fair/veryheavy-interactive.png
Here the difference is even more dramatic with fair scheduler enabling ~3x the
framerate for the interactive client.6. Low priority GPU hog versus heavy-interactive.
Low priority client: 3x 2.5ms jobs client followed by a 0.5ms wait. Interactive client: 1x 0.5ms job followed by a 10ms wait.
https://people.igalia.com/tursulin/drm-sched-fair/lowhog-interactive.png
Slight win for the fair scheduler but could be just noise.
7. Last set of test scenarios will have three subgroups.
In all cases we have two interactive (synchronous, single job at a time) clients
with a 50% "duty cycle" GPU time usage.Client 1: 1.5ms job + 1.5ms wait (aka short bursty) Client 2: 2.5ms job + 2.5ms wait (aka long bursty)
a) Both normal priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-short.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-long.pngBoth schedulers favour the higher frequency duty cycle with fair giving it a
little bit more which should be good for interactivity.b) Normal vs low priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-normal-low-normal.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-normal-low-low.pngFair scheduler gives a bit more GPU time to the normal priority client which is
again good.c) High vs normal priority.
https://people.igalia.com/tursulin/drm-sched-fair/5050-high-normal-high.png
https://people.igalia.com/tursulin/drm-sched-fair/5050-high-normal-normal.pngAgain, fair scheduler gives a bit more share to the higher priority client.
As before, I am looking for feedback, ideas for what other kinds of submission
scenarios to test, testing on different GPUs and of course reviews.v2:
* Fixed many rebase errors.
* Added some new patches.
* Dropped single shot dependecy handling.v3:
* Added scheduling quality unit tests.
* Refined a tiny bit by adding some fairness.
* Dropped a few patches for now.v4:
* Replaced deadline with fair!
* Refined scheduling quality unit tests.
* Pulled one cleanup patch earlier.
* Fixed "drm/sched: Avoid double re-lock on the job free path".v5:
* Rebase on top of latest upstream DRM scheduler changes.
* Kerneldoc fixup.
* Improve commit message justification for one patch. (Philipp)
* Add comment indrm_sched_alloc_wq. (Christian)v6:
* Rebase for "drm/sched: De-clutterdrm_sched_init" getting merged.
* Avoid NULL rq dereference from a bad rebase. (Maira)
* Added some kerneldoc throughout. (Maira)
* Removed some lockdep annotations not belonging to one patch. (Maira)
* Usedma_fence_is_signaledin "drm/sched: Avoid double re-lock on the job free path". (Maira, Philipp)Cc Christian König <[email protected]>Cc Danilo Krummrich <[email protected]>CC Leo Liu <[email protected]>Cc Matthew Brost <[email protected]>Cc Philipp Stanner <[email protected]>Cc Pierre-Eric Pelloux-Prayer <[email protected]>Cc Michel Dänzer <[email protected]>Tvrtko Ursulin (15):
drm/sched: Add some scheduling quality unit tests drm/sched: Add some more scheduling quality unit tests drm/sched: Avoid double re-lock on the job free path drm/sched: Consolidatedrm_sched_job_timedoutdrm/sched: Consolidatedrm_sched_rq_select_entity_rrdrm/sched: Implement RR via FIFO
drm/sched: Consolidate entity run queue management drm/sched: Move run queue related code into a separate file drm/sched: Free all finished jobs at once
drm/sched: Account entity GPU time
drm/sched: Remove idle entity from tree
drm/sched: Add fair scheduling policy
drm/sched: Remove FIFO and RR and simplify to a single run queue drm/sched: Queue all free credits in one worker invocation drm/sched: Embed run queue singleton into the schedulerdrivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 27 +- drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | 5 +- drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c | 8 +- drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c | 8 +- drivers/gpu/drm/scheduler/Makefile | 2 +- drivers/gpu/drm/scheduler/sched_entity.c | 131 ++- drivers/gpu/drm/scheduler/sched_fence.c | 2 +- drivers/gpu/drm/scheduler/sched_internal.h | 146 +++- drivers/gpu/drm/scheduler/sched_main.c | 548 +++--------- drivers/gpu/drm/scheduler/sched_rq.c | 221 +++++ drivers/gpu/drm/scheduler/tests/Makefile | 3 +-
.../gpu/drm/scheduler/tests/tests_scheduler.c| 815
++++++++++++++++++
include/drm/gpu_scheduler.h | 31 +-15 files changed, 1396 insertions(+), 565 deletions(-)create mode 100644
drivers/gpu/drm/scheduler/sched_rq.ccreate mode 100644drivers/gpu/drm/scheduler/tests/tests_scheduler.c
Patchwork
CI✓ Xe.CI.BAT: success for Fair DRM scheduler
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Fair DRM scheduler
URL : https://patchwork.freedesktop.org/series/151321/
State : success
== Summary ==
CI Bug Log - changes from xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b_BAT -> xe-pw-151321v1_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (9 -> 8)
------------------------------
Missing (1): bat-adlp-vm
Changes
-------
No changes found
Build changes
-------------
* Linux: xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b -> xe-pw-151321v1
IGT_8445: 8445
xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b: 8b32b5509128873da8ecfc06beefcb58927eb50b
xe-pw-151321v1: 151321v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/index.html
Patchwork
CI✗ Xe.CI.Full: failure for Fair DRM scheduler
In reply to Tvrtko Ursulin== Series Details ==
== Series Details ==
Series: Fair DRM scheduler
URL : https://patchwork.freedesktop.org/series/151321/
State : failure
== Summary ==
CI Bug Log - changes from xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b_FULL -> xe-pw-151321v1_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with xe-pw-151321v1_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in xe-pw-151321v1_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in xe-pw-151321v1_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@kms_sequence@queue-idle@pipe-c-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][1]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@kms_sequence@[email protected]
#### Warnings ####
* igt@kms_sequence@queue-idle:
- shard-dg2-set2: [SKIP][2] ([Intel XE#4208] / [i915#2575]) -> [INCOMPLETE][3]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@[email protected]
* igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv:
- shard-dg2-set2: [SKIP][4] ([Intel XE#4208]) -> [INCOMPLETE][5]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@xe_fault_injection@probe-fail-guc-xe_guc_ct_send_recv.html
New tests
---------
New tests have been introduced between xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b_FULL and xe-pw-151321v1_FULL:
### New IGT tests (3) ###
* igt@kms_flip@flip-vs-dpms-off-vs-modeset-interruptible@d-hdmi-a2:
- Statuses : 1 pass(s)
- Exec time: [0.65] s
* igt@kms_flip@flip-vs-suspend@d-hdmi-a2:
- Statuses : 1 pass(s)
- Exec time: [2.17] s
* igt@kms_flip@wf_vblank-ts-check@d-hdmi-a2:
- Statuses : 1 pass(s)
- Exec time: [4.32] s
Known issues
------------
Here are the changes found in xe-pw-151321v1_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@fbdev@eof:
- shard-adlp: [PASS][6] -> [SKIP][7] ([Intel XE#2134])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@intel_sysfs_debugfs@xe-debugfs-read-all-entries-display-on:
- shard-dg2-set2: [PASS][8] -> [SKIP][9] ([Intel XE#4208] / [Intel XE#4618]) +1 other test skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_atomic_transition@modeset-transition-nonblocking-fencing:
- shard-dg2-set2: [PASS][10] -> [SKIP][11] ([Intel XE#4208] / [i915#2575]) +39 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_atomic_transition@modeset-transition-nonblocking-fencing.html
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#1124]) +1 other test skip
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-180-hflip-async-flip.html
* igt@kms_bw@connected-linear-tiling-2-displays-1920x1080p:
- shard-bmg: [PASS][13] -> [SKIP][14] ([Intel XE#2314] / [Intel XE#2894])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-8/igt@[email protected]
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_bw@linear-tiling-4-displays-1920x1080p:
- shard-dg2-set2: NOTRUN -> [SKIP][15] ([Intel XE#367])
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#2887])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_ccs@crc-primary-basic-4-tiled-mtl-rc-ccs@pipe-b-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [SKIP][17] ([Intel XE#787]) +181 other tests skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-rotation-180-4-tiled-lnl-ccs@pipe-b-dp-2:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2652] / [Intel XE#787]) +3 other tests skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [PASS][19] -> [INCOMPLETE][20] ([Intel XE#3862]) +1 other test incomplete
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-4/igt@[email protected]
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-7/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs:
- shard-dg2-set2: NOTRUN -> [SKIP][21] ([Intel XE#3442])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@kms_ccs@missing-ccs-buffer-4-tiled-mtl-mc-ccs@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][22] ([Intel XE#455] / [Intel XE#787]) +26 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs:
- shard-dg2-set2: [PASS][23] -> [INCOMPLETE][24] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4345] / [Intel XE#4522])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-mc-ccs@pipe-a-dp-4:
- shard-dg2-set2: [PASS][25] -> [INCOMPLETE][26] ([Intel XE#1727] / [Intel XE#2705] / [Intel XE#3113] / [Intel XE#4212] / [Intel XE#4522])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@kms_ccs@[email protected]
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc:
- shard-dg2-set2: [PASS][27] -> [INCOMPLETE][28] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-432/igt@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-dp-4:
- shard-dg2-set2: NOTRUN -> [INCOMPLETE][29] ([Intel XE#3124])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@kms_ccs@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs-cc@pipe-b-hdmi-a-6:
- shard-dg2-set2: NOTRUN -> [DMESG-WARN][30] ([Intel XE#1727] / [Intel XE#3113])
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@kms_ccs@[email protected]
* igt@kms_cdclk@mode-transition-all-outputs:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#2724])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_cdclk@mode-transition@pipe-d-dp-4:
- shard-dg2-set2: NOTRUN -> [SKIP][32] ([Intel XE#4417]) +3 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@kms_cdclk@[email protected]
* igt@kms_chamelium_color@gamma:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2325])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_chamelium_edid@hdmi-edid-stress-resolution-non-4k:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#2252]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@atomic-dpms@pipe-a-dp-2:
- shard-dg2-set2: NOTRUN -> [FAIL][35] ([Intel XE#1178]) +1 other test fail
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@kms_content_protection@[email protected]
- shard-bmg: NOTRUN -> [FAIL][36] ([Intel XE#1178]) +1 other test fail
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@kms_content_protection@[email protected]
* igt@kms_cursor_crc@cursor-random-32x10:
- shard-bmg: NOTRUN -> [SKIP][37] ([Intel XE#2320])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_cursor_crc@cursor-suspend:
- shard-bmg: NOTRUN -> [INCOMPLETE][38] ([Intel XE#4820]) +1 other test incomplete
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-atomic:
- shard-adlp: [PASS][39] -> [SKIP][40] ([Intel XE#4950]) +7 other tests skip
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size:
- shard-bmg: [PASS][41] -> [SKIP][42] ([Intel XE#2291]) +4 other tests skip
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-3/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-5/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@single-bo:
- shard-adlp: [PASS][43] -> [DMESG-WARN][44] ([Intel XE#2953] / [Intel XE#4173]) +3 other tests dmesg-warn
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-1/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-6/igt@[email protected]
* igt@kms_display_modes@extended-mode-basic:
- shard-bmg: [PASS][45] -> [SKIP][46] ([Intel XE#4302])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-1/igt@[email protected]
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_dither@fb-8bpc-vs-panel-6bpc:
- shard-bmg: [PASS][47] -> [SKIP][48] ([Intel XE#1340])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-8/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#2244])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_feature_discovery@display-2x:
- shard-bmg: [PASS][50] -> [SKIP][51] ([Intel XE#2373])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-3/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-5/igt@[email protected]
* igt@kms_flip@2x-flip-vs-dpms-on-nop:
- shard-bmg: [PASS][52] -> [SKIP][53] ([Intel XE#2316]) +9 other tests skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-3/igt@[email protected]
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-5/igt@[email protected]
* igt@kms_flip@blocking-wf_vblank:
- shard-dg2-set2: NOTRUN -> [SKIP][54] ([Intel XE#4208] / [i915#2575]) +28 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_flip@blocking-wf_vblank.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [PASS][55] -> [FAIL][56] ([Intel XE#301] / [Intel XE#3149])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-lnl-1/igt@[email protected]
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-lnl-6/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][57] -> [FAIL][58] ([Intel XE#301]) +2 other tests fail
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-lnl-6/igt@kms_flip@[email protected]
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-lnl-1/igt@kms_flip@[email protected]
* igt@kms_flip@flip-vs-rmfb-interruptible@b-hdmi-a1:
- shard-adlp: [PASS][59] -> [DMESG-WARN][60] ([Intel XE#4543]) +3 other tests dmesg-warn
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-9/igt@kms_flip@[email protected]
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling:
- shard-dg2-set2: [PASS][61] -> [SKIP][62] ([Intel XE#4208]) +88 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling.html
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_flip_scaled_crc@flip-32bpp-4tile-to-64bpp-4tile-downscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling:
- shard-dg2-set2: NOTRUN -> [SKIP][63] ([Intel XE#2351] / [Intel XE#4208]) +5 other tests skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_flip_scaled_crc@flip-32bpp-xtile-to-64bpp-xtile-upscaling.html
* igt@kms_flip_tiling@flip-change-tiling@pipe-c-hdmi-a-1-x-to-x:
- shard-adlp: [PASS][64] -> [DMESG-FAIL][65] ([Intel XE#4543]) +1 other test dmesg-fail
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-1/igt@kms_flip_tiling@[email protected]
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-6/igt@kms_flip_tiling@[email protected]
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#2311]) +3 other tests skip
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt:
- shard-adlp: [PASS][67] -> [SKIP][68] ([Intel XE#4947]) +1 other test skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc:
- shard-dg2-set2: [PASS][69] -> [SKIP][70] ([Intel XE#2351] / [Intel XE#4208]) +3 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#2313]) +1 other test skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcpsr-1p-offscren-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc:
- shard-dg2-set2: NOTRUN -> [SKIP][72] ([Intel XE#653]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-spr-indfb-draw-mmap-wc.html
* igt@kms_hdr@static-toggle-dpms:
- shard-bmg: [PASS][73] -> [SKIP][74] ([Intel XE#1503])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-5/igt@[email protected]
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#2934])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-bmg: [PASS][76] -> [SKIP][77] ([Intel XE#3012])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-3/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-5/igt@[email protected]
* igt@kms_plane_lowres@tiling-y:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#2393])
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@kms_plane_multiple@tiling-y:
- shard-dg2-set2: NOTRUN -> [SKIP][79] ([Intel XE#5020])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@kms_psr@pr-sprite-render:
- shard-bmg: NOTRUN -> [SKIP][80] ([Intel XE#2234] / [Intel XE#2850]) +2 other tests skip
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-8/igt@[email protected]
* igt@kms_rotation_crc@primary-rotation-270:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#3414] / [Intel XE#3904])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@xe_compute_preempt@compute-preempt-many-all-ram@engine-drm_xe_engine_class_compute:
- shard-dg2-set2: NOTRUN -> [SKIP][82] ([Intel XE#455]) +1 other test skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@xe_compute_preempt@compute-preempt-many-all-ram@engine-drm_xe_engine_class_compute.html
* igt@xe_copy_basic@mem-set-linear-0x369:
- shard-dg2-set2: NOTRUN -> [SKIP][83] ([Intel XE#1126])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@xe_eudebug@basic-vm-bind-discovery:
- shard-dg2-set2: NOTRUN -> [SKIP][84] ([Intel XE#4837])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][85] ([Intel XE#2322])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@xe_exec_basic@multigpu-once-bindexecqueue:
- shard-dg2-set2: [PASS][86] -> [SKIP][87] ([Intel XE#1392]) +4 other tests skip
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-435/igt@[email protected]
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_exec_compute_mode@twice-basic:
- shard-adlp: [PASS][88] -> [SKIP][89] ([Intel XE#4945]) +8 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@xe_exec_fault_mode@many-bindexecqueue-userptr-rebind:
- shard-dg2-set2: NOTRUN -> [SKIP][90] ([Intel XE#288])
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@xe_exec_reset@cm-close-fd:
- shard-adlp: [PASS][91] -> [DMESG-WARN][92] ([Intel XE#3868])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-8/igt@[email protected]
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-3/igt@[email protected]
* igt@xe_exec_sip_eudebug@wait-writesip-nodebug:
- shard-bmg: NOTRUN -> [SKIP][93] ([Intel XE#4837])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@xe_exec_system_allocator@process-many-execqueues-mmap-free-huge:
- shard-bmg: NOTRUN -> [SKIP][94] ([Intel XE#4943]) +1 other test skip
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@xe_exec_system_allocator@process-many-execqueues-mmap-free-huge.html
* igt@xe_exec_system_allocator@threads-many-large-malloc-fork-read-after:
- shard-dg2-set2: NOTRUN -> [SKIP][95] ([Intel XE#4915]) +19 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@xe_exec_system_allocator@threads-many-large-malloc-fork-read-after.html
* igt@xe_exec_system_allocator@threads-many-large-mmap-shared-remap-dontunmap-eocheck:
- shard-dg2-set2: NOTRUN -> [SKIP][96] ([Intel XE#4208]) +161 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@xe_exec_system_allocator@threads-many-large-mmap-shared-remap-dontunmap-eocheck.html
* igt@xe_module_load@many-reload:
- shard-dg2-set2: [PASS][97] -> [FAIL][98] ([Intel XE#4208])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_module_load@reload:
- shard-dg2-set2: NOTRUN -> [FAIL][99] ([Intel XE#4208]) +1 other test fail
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_peer2peer@write@write-gpua-vram01-gpub-system-p2p:
- shard-dg2-set2: NOTRUN -> [FAIL][100] ([Intel XE#1173])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@xe_peer2peer@[email protected]
* igt@xe_pm@vram-d3cold-threshold:
- shard-bmg: NOTRUN -> [SKIP][101] ([Intel XE#579])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@xe_pmu@gt-frequency:
- shard-dg2-set2: [PASS][102] -> [FAIL][103] ([Intel XE#4819]) +1 other test fail
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-435/igt@[email protected]
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_query@multigpu-query-hwconfig:
- shard-bmg: NOTRUN -> [SKIP][104] ([Intel XE#944])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
#### Possible fixes ####
* igt@fbdev@write:
- shard-dg2-set2: [SKIP][105] ([Intel XE#2134]) -> [PASS][106] +1 other test pass
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip:
- shard-adlp: [DMESG-FAIL][107] ([Intel XE#4543]) -> [PASS][108]
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-4/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@kms_big_fb@x-tiled-max-hw-stride-64bpp-rotate-180-async-flip.html
* igt@kms_cursor_crc@cursor-suspend:
- shard-dg2-set2: [INCOMPLETE][109] -> [PASS][110] +1 other test pass
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-434/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-legacy:
- shard-bmg: [SKIP][111] ([Intel XE#2291]) -> [PASS][112] +8 other tests pass
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-1/igt@[email protected]
* igt@kms_flip@2x-plain-flip-fb-recreate-interruptible:
- shard-bmg: [SKIP][113] ([Intel XE#2316]) -> [PASS][114] +5 other tests pass
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@[email protected]
* igt@kms_flip@absolute-wf_vblank:
- shard-dg2-set2: [SKIP][115] ([Intel XE#4208] / [i915#2575]) -> [PASS][116] +59 other tests pass
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@kms_flip@absolute-wf_vblank.html
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@kms_flip@absolute-wf_vblank.html
* igt@kms_flip@flip-vs-modeset-vs-hang@d-hdmi-a1:
- shard-adlp: [DMESG-WARN][117] ([Intel XE#4543]) -> [PASS][118] +1 other test pass
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-2/igt@kms_flip@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@kms_flip@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-cur-indfb-move:
- shard-dg2-set2: [SKIP][119] ([Intel XE#2351] / [Intel XE#4208]) -> [PASS][120] +5 other tests pass
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_joiner@basic-force-big-joiner:
- shard-bmg: [SKIP][121] ([Intel XE#3012]) -> [PASS][122]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-none:
- shard-bmg: [SKIP][123] ([Intel XE#4596]) -> [PASS][124]
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@[email protected]
* igt@kms_pm_rpm@i2c:
- shard-adlp: [DMESG-WARN][125] ([Intel XE#2953] / [Intel XE#4173]) -> [PASS][126] +7 other tests pass
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-8/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-3/igt@[email protected]
* igt@kms_setmode@invalid-clone-single-crtc-stealing:
- shard-bmg: [SKIP][127] ([Intel XE#1435]) -> [PASS][128] +1 other test pass
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@[email protected]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@[email protected]
* igt@xe_exec_balancer@once-parallel-rebind:
- shard-dg2-set2: [SKIP][129] ([Intel XE#4208]) -> [PASS][130] +113 other tests pass
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@xe_exec_basic@multigpu-no-exec-rebind:
- shard-dg2-set2: [SKIP][131] ([Intel XE#1392]) -> [PASS][132] +4 other tests pass
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-432/igt@[email protected]
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@[email protected]
#### Warnings ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- shard-dg2-set2: [SKIP][133] ([Intel XE#4208] / [i915#2575]) -> [SKIP][134] ([Intel XE#623])
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_big_fb@4-tiled-16bpp-rotate-0:
- shard-adlp: [SKIP][135] ([Intel XE#1124]) -> [SKIP][136] ([Intel XE#4947]) +1 other test skip
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-dg2-set2: [SKIP][137] ([Intel XE#316]) -> [SKIP][138] ([Intel XE#4208]) +1 other test skip
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_big_fb@x-tiled-64bpp-rotate-90:
- shard-dg2-set2: [SKIP][139] ([Intel XE#4208]) -> [SKIP][140] ([Intel XE#316])
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@x-tiled-8bpp-rotate-90:
- shard-adlp: [SKIP][141] ([Intel XE#316]) -> [SKIP][142] ([Intel XE#4947])
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
- shard-dg2-set2: [SKIP][143] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][144] ([Intel XE#316])
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_big_fb@y-tiled-64bpp-rotate-90:
- shard-dg2-set2: [SKIP][145] ([Intel XE#1124]) -> [SKIP][146] ([Intel XE#2351] / [Intel XE#4208])
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0:
- shard-dg2-set2: [SKIP][147] ([Intel XE#4208]) -> [SKIP][148] ([Intel XE#1124]) +4 other tests skip
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_big_fb@yf-tiled-16bpp-rotate-0:
- shard-dg2-set2: [SKIP][149] ([Intel XE#1124]) -> [SKIP][150] ([Intel XE#4208]) +5 other tests skip
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_big_fb@yf-tiled-8bpp-rotate-0:
- shard-dg2-set2: [SKIP][151] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][152] ([Intel XE#1124])
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-3-displays-1920x1080p:
- shard-dg2-set2: [SKIP][153] ([Intel XE#4208] / [i915#2575]) -> [SKIP][154] ([Intel XE#2191])
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-2160x1440p:
- shard-dg2-set2: [SKIP][155] ([Intel XE#2191]) -> [SKIP][156] ([Intel XE#4208] / [i915#2575])
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-3840x2160p:
- shard-dg2-set2: [SKIP][157] ([Intel XE#367]) -> [SKIP][158] ([Intel XE#4208] / [i915#2575])
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_bw@linear-tiling-3-displays-3840x2160p:
- shard-dg2-set2: [SKIP][159] ([Intel XE#4208] / [i915#2575]) -> [SKIP][160] ([Intel XE#367])
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_ccs@bad-aux-stride-4-tiled-mtl-rc-ccs-cc:
- shard-dg2-set2: [SKIP][161] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][162] ([Intel XE#455] / [Intel XE#787]) +1 other test skip
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_ccs@bad-aux-stride-y-tiled-gen12-mc-ccs:
- shard-adlp: [SKIP][163] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][164] ([Intel XE#4947])
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-y-tiled-gen12-rc-ccs:
- shard-dg2-set2: [SKIP][165] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][166] ([Intel XE#2351] / [Intel XE#4208]) +2 other tests skip
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs:
- shard-dg2-set2: [SKIP][167] ([Intel XE#2907]) -> [SKIP][168] ([Intel XE#4208])
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[168]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-y-tiled-gen12-rc-ccs:
- shard-dg2-set2: [SKIP][169] ([Intel XE#4208]) -> [SKIP][170] ([Intel XE#455] / [Intel XE#787]) +5 other tests skip
[169]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[170]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-dg2-rc-ccs:
- shard-dg2-set2: [INCOMPLETE][171] ([Intel XE#1727] / [Intel XE#3113] / [Intel XE#3124] / [Intel XE#4345]) -> [SKIP][172] ([Intel XE#4208])
[171]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[172]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_ccs@random-ccs-data-4-tiled-mtl-mc-ccs:
- shard-dg2-set2: [SKIP][173] ([Intel XE#455] / [Intel XE#787]) -> [SKIP][174] ([Intel XE#4208]) +1 other test skip
[173]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[174]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_cdclk@mode-transition-all-outputs:
- shard-dg2-set2: [SKIP][175] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][176] ([Intel XE#4418])
[175]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[176]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_chamelium_color@degamma:
- shard-dg2-set2: [SKIP][177] ([Intel XE#306]) -> [SKIP][178] ([Intel XE#4208] / [i915#2575])
[177]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[178]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_chamelium_color@gamma:
- shard-dg2-set2: [SKIP][179] ([Intel XE#4208] / [i915#2575]) -> [SKIP][180] ([Intel XE#306])
[179]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[180]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_chamelium_edid@dp-edid-change-during-suspend:
- shard-dg2-set2: [SKIP][181] ([Intel XE#373]) -> [SKIP][182] ([Intel XE#4208] / [i915#2575]) +5 other tests skip
[181]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[182]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_chamelium_edid@dp-mode-timings:
- shard-adlp: [SKIP][183] ([Intel XE#373]) -> [SKIP][184] ([Intel XE#4950])
[183]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[184]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_chamelium_edid@vga-edid-read:
- shard-dg2-set2: [SKIP][185] ([Intel XE#4208] / [i915#2575]) -> [SKIP][186] ([Intel XE#373]) +4 other tests skip
[185]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[186]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_content_protection@atomic-dpms:
- shard-dg2-set2: [SKIP][187] ([Intel XE#4208] / [i915#2575]) -> [FAIL][188] ([Intel XE#1178])
[187]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[188]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_content_protection@legacy:
- shard-dg2-set2: [FAIL][189] ([Intel XE#1178]) -> [SKIP][190] ([Intel XE#4208] / [i915#2575])
[189]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[190]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_content_protection@srm:
- shard-bmg: [FAIL][191] ([Intel XE#1178]) -> [SKIP][192] ([Intel XE#2341]) +1 other test skip
[191]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-1/igt@[email protected]
[192]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-32x32:
- shard-adlp: [SKIP][193] ([Intel XE#455]) -> [SKIP][194] ([Intel XE#4950]) +2 other tests skip
[193]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[194]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-max-size:
- shard-dg2-set2: [SKIP][195] ([Intel XE#4208] / [i915#2575]) -> [SKIP][196] ([Intel XE#455]) +4 other tests skip
[195]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[196]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-512x512:
- shard-dg2-set2: [SKIP][197] ([Intel XE#4208] / [i915#2575]) -> [SKIP][198] ([Intel XE#308])
[197]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[198]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipa-atomic:
- shard-adlp: [SKIP][199] ([Intel XE#309]) -> [SKIP][200] ([Intel XE#4950])
[199]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[200]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_dp_link_training@uhbr-mst:
- shard-dg2-set2: [SKIP][201] ([Intel XE#4208]) -> [SKIP][202] ([Intel XE#4356])
[201]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[202]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_dsc@dsc-with-bpc-formats:
- shard-dg2-set2: [SKIP][203] ([Intel XE#455]) -> [SKIP][204] ([Intel XE#2351] / [Intel XE#4208]) +1 other test skip
[203]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[204]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-dg2-set2: [SKIP][205] ([Intel XE#776]) -> [SKIP][206] ([Intel XE#4208])
[205]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[206]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_feature_discovery@display-4x:
- shard-dg2-set2: [SKIP][207] ([Intel XE#4208] / [i915#2575]) -> [SKIP][208] ([Intel XE#1138])
[207]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[208]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_flip@2x-flip-vs-rmfb:
- shard-adlp: [SKIP][209] ([Intel XE#310]) -> [SKIP][210] ([Intel XE#4950]) +1 other test skip
[209]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[210]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_flip@flip-vs-suspend-interruptible:
- shard-dg2-set2: [INCOMPLETE][211] ([Intel XE#2049] / [Intel XE#2597]) -> [SKIP][212] ([Intel XE#4208] / [i915#2575])
[211]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[212]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling:
- shard-dg2-set2: [SKIP][213] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][214] ([Intel XE#455]) +1 other test skip
[213]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling.html
[214]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-64bpp-yftile-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling:
- shard-dg2-set2: [SKIP][215] ([Intel XE#455]) -> [SKIP][216] ([Intel XE#4208]) +1 other test skip
[215]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
[216]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling.html
* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render:
- shard-bmg: [SKIP][217] ([Intel XE#2312]) -> [SKIP][218] ([Intel XE#2311]) +21 other tests skip
[217]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render.html
[218]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrs-suspend:
- shard-dg2-set2: [SKIP][219] ([Intel XE#651]) -> [SKIP][220] ([Intel XE#2351] / [Intel XE#4208]) +3 other tests skip
[219]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[220]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][221] ([Intel XE#5390]) -> [SKIP][222] ([Intel XE#2312]) +11 other tests skip
[221]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
[222]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render:
- shard-bmg: [SKIP][223] ([Intel XE#2312]) -> [SKIP][224] ([Intel XE#5390]) +8 other tests skip
[223]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
[224]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-2/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-tiling-y:
- shard-dg2-set2: [SKIP][225] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][226] ([Intel XE#658])
[225]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[226]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-indfb-draw-render:
- shard-adlp: [SKIP][227] ([Intel XE#651]) -> [SKIP][228] ([Intel XE#4947]) +1 other test skip
[227]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-indfb-draw-render.html
[228]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt:
- shard-dg2-set2: [SKIP][229] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][230] ([Intel XE#651]) +5 other tests skip
[229]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt.html
[230]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-464/igt@kms_frontbuffer_tracking@fbcdrrs-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][231] ([Intel XE#2311]) -> [SKIP][232] ([Intel XE#2312]) +20 other tests skip
[231]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
[232]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrs-slowdraw:
- shard-dg2-set2: [SKIP][233] ([Intel XE#4208]) -> [SKIP][234] ([Intel XE#651]) +11 other tests skip
[233]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[234]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-tiling-4:
- shard-dg2-set2: [SKIP][235] ([Intel XE#651]) -> [SKIP][236] ([Intel XE#4208]) +11 other tests skip
[235]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[236]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render:
- shard-bmg: [SKIP][237] ([Intel XE#2312]) -> [SKIP][238] ([Intel XE#2313]) +21 other tests skip
[237]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
[238]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-4/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-plflip-blt:
- shard-adlp: [SKIP][239] ([Intel XE#656]) -> [SKIP][240] ([Intel XE#4947]) +2 other tests skip
[239]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-plflip-blt.html
[240]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-indfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt:
- shard-bmg: [SKIP][241] ([Intel XE#2313]) -> [SKIP][242] ([Intel XE#2312]) +16 other tests skip
[241]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
[242]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
- shard-dg2-set2: [SKIP][243] ([Intel XE#653]) -> [SKIP][244] ([Intel XE#4208]) +9 other tests skip
[243]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
[244]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@fbcpsr-rgb101010-draw-blt:
- shard-adlp: [SKIP][245] ([Intel XE#653]) -> [SKIP][246] ([Intel XE#4947])
[245]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[246]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-tiling-4:
- shard-dg2-set2: [SKIP][247] ([Intel XE#653]) -> [SKIP][248] ([Intel XE#2351] / [Intel XE#4208]) +5 other tests skip
[247]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[248]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-wc:
- shard-dg2-set2: [SKIP][249] ([Intel XE#4208]) -> [SKIP][250] ([Intel XE#653]) +15 other tests skip
[249]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-wc.html
[250]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-shrfb-plflip-blt:
- shard-dg2-set2: [SKIP][251] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][252] ([Intel XE#653]) +1 other test skip
[251]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[252]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][253] ([Intel XE#3374] / [Intel XE#3544]) -> [SKIP][254] ([Intel XE#3544])
[253]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-7/igt@[email protected]
[254]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-1/igt@[email protected]
* igt@kms_joiner@basic-big-joiner:
- shard-dg2-set2: [SKIP][255] ([Intel XE#346]) -> [SKIP][256] ([Intel XE#4208])
[255]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[256]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_joiner@basic-force-ultra-joiner:
- shard-dg2-set2: [SKIP][257] ([Intel XE#4208]) -> [SKIP][258] ([Intel XE#2925])
[257]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[258]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_joiner@invalid-modeset-ultra-joiner:
- shard-dg2-set2: [SKIP][259] ([Intel XE#2927]) -> [SKIP][260] ([Intel XE#4208])
[259]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[260]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_multipipe_modeset@basic-max-pipe-crc-check:
- shard-dg2-set2: [SKIP][261] ([Intel XE#356]) -> [SKIP][262] ([Intel XE#4208] / [i915#2575])
[261]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[262]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: [SKIP][263] ([Intel XE#5021]) -> [SKIP][264] ([Intel XE#4596])
[263]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-bmg-1/igt@[email protected]
[264]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-bmg-6/igt@[email protected]
* igt@kms_pm_dc@dc5-psr:
- shard-dg2-set2: [SKIP][265] ([Intel XE#4208]) -> [SKIP][266] ([Intel XE#1129])
[265]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[266]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_psr2_sf@pr-cursor-plane-move-continuous-sf:
- shard-dg2-set2: [SKIP][267] ([Intel XE#4208]) -> [SKIP][268] ([Intel XE#1489]) +2 other tests skip
[267]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[268]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_psr2_sf@pr-cursor-plane-update-sf:
- shard-dg2-set2: [SKIP][269] ([Intel XE#1489]) -> [SKIP][270] ([Intel XE#4208]) +2 other tests skip
[269]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[270]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-dg2-set2: [SKIP][271] ([Intel XE#4208]) -> [SKIP][272] ([Intel XE#1122])
[271]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@kms_psr2_su@page_flip-p010.html
[272]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr2_su@page_flip-xrgb8888:
- shard-dg2-set2: [SKIP][273] ([Intel XE#1122]) -> [SKIP][274] ([Intel XE#4208])
[273]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@kms_psr2_su@page_flip-xrgb8888.html
[274]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@kms_psr2_su@page_flip-xrgb8888.html
* igt@kms_psr@fbc-pr-no-drrs:
- shard-adlp: [SKIP][275] ([Intel XE#2850] / [Intel XE#929]) -> [SKIP][276] ([Intel XE#4947]) +2 other tests skip
[275]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[276]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
- shard-dg2-set2: [SKIP][277] ([Intel XE#2351] / [Intel XE#4208]) -> [SKIP][278] ([Intel XE#2850] / [Intel XE#929]) +1 other test skip
[277]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[278]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_psr@fbc-psr-primary-render:
- shard-dg2-set2: [SKIP][279] ([Intel XE#2850] / [Intel XE#929]) -> [SKIP][280] ([Intel XE#4208]) +5 other tests skip
[279]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[280]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_psr@fbc-psr2-primary-render:
- shard-dg2-set2: [SKIP][281] ([Intel XE#4208]) -> [SKIP][282] ([Intel XE#2850] / [Intel XE#929]) +7 other tests skip
[281]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[282]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@kms_rotation_crc@bad-tiling:
- shard-dg2-set2: [SKIP][283] ([Intel XE#4208] / [i915#2575]) -> [SKIP][284] ([Intel XE#3414]) +1 other test skip
[283]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[284]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@kms_rotation_crc@primary-y-tiled-reflect-x-180:
- shard-dg2-set2: [SKIP][285] ([Intel XE#4208] / [i915#2575]) -> [SKIP][286] ([Intel XE#1127])
[285]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[286]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-center:
- shard-dg2-set2: [SKIP][287] ([Intel XE#455]) -> [SKIP][288] ([Intel XE#4208] / [i915#2575]) +3 other tests skip
[287]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[288]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-dg2-set2: [SKIP][289] ([Intel XE#1500]) -> [SKIP][290] ([Intel XE#362])
[289]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[290]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-463/igt@[email protected]
* igt@xe_compute_preempt@compute-preempt-many-all-ram:
- shard-dg2-set2: [SKIP][291] ([Intel XE#4208]) -> [SKIP][292] ([Intel XE#455]) +1 other test skip
[291]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[292]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_copy_basic@mem-copy-linear-0xfd:
- shard-dg2-set2: [SKIP][293] ([Intel XE#4208]) -> [SKIP][294] ([Intel XE#1123])
[293]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[294]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@xe_create@multigpu-create-massive-size:
- shard-adlp: [SKIP][295] ([Intel XE#944]) -> [SKIP][296] ([Intel XE#4945])
[295]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[296]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
- shard-dg2-set2: [SKIP][297] ([Intel XE#4208]) -> [SKIP][298] ([Intel XE#944]) +1 other test skip
[297]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[298]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@xe_eu_stall@non-blocking-read:
- shard-dg2-set2: [SKIP][299] ([Intel XE#4208]) -> [SKIP][300] ([Intel XE#5419])
[299]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[300]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_eudebug@basic-vm-access-parameters:
- shard-dg2-set2: [SKIP][301] ([Intel XE#4208]) -> [SKIP][302] ([Intel XE#4837]) +7 other tests skip
[301]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[302]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_eudebug@vma-ufence-faultable:
- shard-dg2-set2: [SKIP][303] ([Intel XE#4837]) -> [SKIP][304] ([Intel XE#4208]) +4 other tests skip
[303]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[304]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_eudebug_online@single-step-one:
- shard-adlp: [SKIP][305] ([Intel XE#4837]) -> [SKIP][306] ([Intel XE#4945])
[305]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[306]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate-race:
- shard-adlp: [SKIP][307] ([Intel XE#1392]) -> [SKIP][308] ([Intel XE#4945]) +2 other tests skip
[307]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate-race.html
[308]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-userptr-invalidate-race.html
* igt@xe_exec_basic@multigpu-no-exec-bindexecqueue-userptr-rebind:
- shard-dg2-set2: [SKIP][309] ([Intel XE#4208]) -> [SKIP][310] ([Intel XE#1392]) +1 other test skip
[309]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[310]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_exec_fault_mode@many-execqueues-bindexecqueue-prefetch:
- shard-dg2-set2: [SKIP][311] ([Intel XE#288]) -> [SKIP][312] ([Intel XE#4208]) +10 other tests skip
[311]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[312]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_exec_fault_mode@once-bindexecqueue-userptr-rebind:
- shard-dg2-set2: [SKIP][313] ([Intel XE#4208]) -> [SKIP][314] ([Intel XE#288]) +11 other tests skip
[313]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[314]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_exec_mix_modes@exec-simple-batch-store-lr:
- shard-dg2-set2: [SKIP][315] ([Intel XE#4208]) -> [SKIP][316] ([Intel XE#2360])
[315]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[316]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
- shard-adlp: [SKIP][317] ([Intel XE#2360]) -> [SKIP][318] ([Intel XE#4945])
[317]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[318]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@xe_exec_reset@parallel-gt-reset:
- shard-dg2-set2: [DMESG-WARN][319] ([Intel XE#3876]) -> [SKIP][320] ([Intel XE#4208])
[319]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[320]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_exec_system_allocator@many-large-mmap-file-mlock:
- shard-adlp: [SKIP][321] ([Intel XE#4915]) -> [SKIP][322] ([Intel XE#4945]) +19 other tests skip
[321]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[322]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-nomemset:
- shard-dg2-set2: [SKIP][323] ([Intel XE#4915]) -> [SKIP][324] ([Intel XE#4208]) +117 other tests skip
[323]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-nomemset.html
[324]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@xe_exec_system_allocator@process-many-large-execqueues-mmap-nomemset.html
* igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-mlock-nomemset:
- shard-dg2-set2: [SKIP][325] ([Intel XE#4208]) -> [SKIP][326] ([Intel XE#4915]) +153 other tests skip
[325]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-mlock-nomemset.html
[326]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@xe_exec_system_allocator@threads-many-large-execqueues-malloc-mlock-nomemset.html
* igt@xe_huc_copy@huc_copy:
- shard-dg2-set2: [SKIP][327] ([Intel XE#4208]) -> [SKIP][328] ([Intel XE#255])
[327]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@xe_huc_copy@huc_copy.html
[328]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@xe_huc_copy@huc_copy.html
* igt@xe_module_load@load:
- shard-adlp: ([PASS][329], [PASS][330], [PASS][331], [PASS][332], [PASS][333], [PASS][334], [PASS][335], [PASS][336], [PASS][337], [PASS][338], [PASS][339], [PASS][340], [PASS][341], [PASS][342], [PASS][343], [PASS][344], [PASS][345], [PASS][346], [PASS][347], [PASS][348], [PASS][349], [PASS][350], [PASS][351], [SKIP][352], [PASS][353], [PASS][354]) ([Intel XE#378]) -> ([PASS][355], [PASS][356], [PASS][357], [PASS][358], [PASS][359], [PASS][360], [PASS][361], [PASS][362], [PASS][363], [PASS][364], [DMESG-WARN][365], [PASS][366], [PASS][367], [PASS][368], [PASS][369], [PASS][370], [SKIP][371], [PASS][372], [PASS][373], [PASS][374], [PASS][375], [PASS][376], [PASS][377], [PASS][378], [PASS][379], [PASS][380]) ([Intel XE#2953] / [Intel XE#378] / [Intel XE#4173])
[329]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-1/igt@[email protected]
[330]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-9/igt@[email protected]
[331]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-9/igt@[email protected]
[332]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-9/igt@[email protected]
[333]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-8/igt@[email protected]
[334]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-8/igt@[email protected]
[335]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-8/igt@[email protected]
[336]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[337]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[338]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[339]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-2/igt@[email protected]
[340]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[341]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-1/igt@[email protected]
[342]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-1/igt@[email protected]
[343]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-2/igt@[email protected]
[344]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-2/igt@[email protected]
[345]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-2/igt@[email protected]
[346]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-4/igt@[email protected]
[347]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-4/igt@[email protected]
[348]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-3/igt@[email protected]
[349]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-4/igt@[email protected]
[350]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-4/igt@[email protected]
[351]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-3/igt@[email protected]
[352]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-3/igt@[email protected]
[353]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-3/igt@[email protected]
[354]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-3/igt@[email protected]
[355]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-6/igt@[email protected]
[356]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-6/igt@[email protected]
[357]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-9/igt@[email protected]
[358]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@[email protected]
[359]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@[email protected]
[360]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-4/igt@[email protected]
[361]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-4/igt@[email protected]
[362]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@[email protected]
[363]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-6/igt@[email protected]
[364]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-9/igt@[email protected]
[365]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
[366]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
[367]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-1/igt@[email protected]
[368]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-4/igt@[email protected]
[369]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-3/igt@[email protected]
[370]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-3/igt@[email protected]
[371]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
[372]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-9/igt@[email protected]
[373]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-9/igt@[email protected]
[374]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-2/igt@[email protected]
[375]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-2/igt@[email protected]
[376]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-2/igt@[email protected]
[377]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-2/igt@[email protected]
[378]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-3/igt@[email protected]
[379]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
[380]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
* igt@xe_oa@closed-fd-and-unmapped-access:
- shard-dg2-set2: [SKIP][381] ([Intel XE#2541] / [Intel XE#3573]) -> [SKIP][382] ([Intel XE#4208]) +3 other tests skip
[381]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[382]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_oa@privileged-forked-access-vaddr:
- shard-dg2-set2: [SKIP][383] ([Intel XE#4208]) -> [SKIP][384] ([Intel XE#2541] / [Intel XE#3573]) +3 other tests skip
[383]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[384]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_oa@syncs-userptr-wait:
- shard-dg2-set2: [SKIP][385] ([Intel XE#2541] / [Intel XE#3573] / [Intel XE#4501]) -> [SKIP][386] ([Intel XE#4208])
[385]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-466/igt@[email protected]
[386]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_oa@syncs-userptr-wait-cfg:
- shard-dg2-set2: [SKIP][387] ([Intel XE#4208]) -> [SKIP][388] ([Intel XE#2541] / [Intel XE#3573] / [Intel XE#4501])
[387]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[388]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@xe_pat@pat-index-xe2:
- shard-adlp: [SKIP][389] ([Intel XE#977]) -> [SKIP][390] ([Intel XE#4945])
[389]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-adlp-6/igt@[email protected]
[390]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-adlp-8/igt@[email protected]
- shard-dg2-set2: [SKIP][391] ([Intel XE#4208]) -> [SKIP][392] ([Intel XE#977])
[391]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-434/igt@[email protected]
[392]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-466/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- shard-dg2-set2: [SKIP][393] ([Intel XE#4208]) -> [SKIP][394] ([Intel XE#979])
[393]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[394]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_peer2peer@read:
- shard-dg2-set2: [FAIL][395] ([Intel XE#1173]) -> [SKIP][396] ([Intel XE#1061])
[395]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-435/igt@[email protected]
[396]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_peer2peer@write:
- shard-dg2-set2: [SKIP][397] ([Intel XE#1061]) -> [FAIL][398] ([Intel XE#1173])
[397]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-432/igt@[email protected]
[398]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-433/igt@[email protected]
* igt@xe_pm@d3cold-mmap-vram:
- shard-dg2-set2: [SKIP][399] ([Intel XE#2284] / [Intel XE#366]) -> [SKIP][400] ([Intel XE#4208])
[399]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[400]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
* igt@xe_pm@vram-d3cold-threshold:
- shard-dg2-set2: [SKIP][401] ([Intel XE#4208]) -> [SKIP][402] ([Intel XE#579])
[401]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[402]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-432/igt@[email protected]
* igt@xe_pxp@pxp-stale-bo-exec-post-termination-irq:
- shard-dg2-set2: [SKIP][403] ([Intel XE#4208]) -> [SKIP][404] ([Intel XE#4733])
[403]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-436/igt@[email protected]
[404]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-435/igt@[email protected]
* igt@xe_query@multigpu-query-uc-fw-version-huc:
- shard-dg2-set2: [SKIP][405] ([Intel XE#944]) -> [SKIP][406] ([Intel XE#4208]) +1 other test skip
[405]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b/shard-dg2-433/igt@[email protected]
[406]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/shard-dg2-436/igt@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[Intel XE#1061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1061
[Intel XE#1122]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1122
[Intel XE#1123]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1123
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1126
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1129]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1129
[Intel XE#1138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1138
[Intel XE#1173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1173
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1500]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1500
[Intel XE#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1727]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1727
[Intel XE#2049]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2049
[Intel XE#2134]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2134
[Intel XE#2191]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2191
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2351
[Intel XE#2360]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2360
[Intel XE#2373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2373
[Intel XE#2393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2393
[Intel XE#2541]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2541
[Intel XE#255]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/255
[Intel XE#2597]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2597
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2705
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#288]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/288
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#2907]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2907
[Intel XE#2925]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2925
[Intel XE#2927]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2927
[Intel XE#2934]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2934
[Intel XE#2953]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2953
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#3012]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3012
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[Intel XE#308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/308
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#310]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/310
[Intel XE#3113]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3113
[Intel XE#3124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3124
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/316
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3442]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3442
[Intel XE#346]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/346
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/356
[Intel XE#3573]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3573
[Intel XE#362]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/362
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/378
[Intel XE#3862]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3862
[Intel XE#3868]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3868
[Intel XE#3876]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3876
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4173]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4173
[Intel XE#4208]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4208
[Intel XE#4212]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4212
[Intel XE#4302]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4302
[Intel XE#4345]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4345
[Intel XE#4356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4356
[Intel XE#4417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4417
[Intel XE#4418]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4418
[Intel XE#4501]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4501
[Intel XE#4522]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4522
[Intel XE#4543]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4543
[Intel XE#455]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/455
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4618]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4618
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#4819]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4819
[Intel XE#4820]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4820
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4915]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4915
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#4945]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4945
[Intel XE#4947]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4947
[Intel XE#4950]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4950
[Intel XE#5020]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5020
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5300]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5300
[Intel XE#5390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5390
[Intel XE#5419]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5419
[Intel XE#579]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/579
[Intel XE#623]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/623
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#653]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/653
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#658]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/658
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#929]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/929
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
[Intel XE#977]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/977
[Intel XE#979]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/979
[i915#2575]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2575
Build changes
-------------
* Linux: xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b -> xe-pw-151321v1
IGT_8445: 8445
xe-3368-8b32b5509128873da8ecfc06beefcb58927eb50b: 8b32b5509128873da8ecfc06beefcb58927eb50b
xe-pw-151321v1: 151321v1
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-151321v1/index.html