gem_render_copy is failing on CCS subtests on TGL y-tiled-ccs-to-linear y-tiled-ccs-to-x-tiled y-tiled-ccs-to-y-tiled y-tiled-ccs-to-yf-tiled yf-tiled-ccs-to-linear yf-tiled-ccs-to-x-tiled yf-tiled-ccs-to-y-tiled yf-tiled-ccs-to-yf-tiled It seems that at least, rendercopy support for GEN12 is missing from upstream IGT.
Test results show as ./tests/gem_render_copy IGT-Version: 1.24-g07f67caf (x86_64) (Linux: 5.3.0-rc8-CI-CI_DIS_719+ x86_64) Starting subtest: linear Subtest linear: SUCCESS (0,255s) Starting subtest: x-tiled Subtest x-tiled: SUCCESS (0,251s) Starting subtest: y-tiled Subtest y-tiled: SUCCESS (0,252s) Starting subtest: yf-tiled Subtest yf-tiled: SUCCESS (0,237s) Starting subtest: y-tiled-ccs-to-linear (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest y-tiled-ccs-to-linear failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest y-tiled-ccs-to-linear: FAIL (41,146s) Starting subtest: y-tiled-ccs-to-x-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest y-tiled-ccs-to-x-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest y-tiled-ccs-to-x-tiled: FAIL (46,971s) Starting subtest: y-tiled-ccs-to-y-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest y-tiled-ccs-to-y-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest y-tiled-ccs-to-y-tiled: FAIL (47,999s) Starting subtest: y-tiled-ccs-to-yf-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest y-tiled-ccs-to-yf-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x1006401a at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest y-tiled-ccs-to-yf-tiled: FAIL (47,992s) Starting subtest: yf-tiled-ccs-to-linear (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest yf-tiled-ccs-to-linear failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest yf-tiled-ccs-to-linear: FAIL (49,025s) Starting subtest: yf-tiled-ccs-to-x-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest yf-tiled-ccs-to-x-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest yf-tiled-ccs-to-x-tiled: FAIL (47,999s) Starting subtest: yf-tiled-ccs-to-y-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest yf-tiled-ccs-to-y-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest yf-tiled-ccs-to-y-tiled: FAIL (47,998s) Starting subtest: yf-tiled-ccs-to-yf-tiled (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) Stack trace: #0 ../lib/igt_core.c:1674 __igt_fail_assert() #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() #2 [<unknown>+0xb946f500] Subtest yf-tiled-ccs-to-yf-tiled failed. **** DEBUG **** (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid) >= 9 (gem_render_copy:4311) CRITICAL: Test assertion failure function scratch_buf_check, file ../tests/i915/gem_render_copy.c:491: (gem_render_copy:4311) CRITICAL: Failed assertion: buf_val == ref_val (gem_render_copy:4311) CRITICAL: Expected 0xff449bbb, found 0x00000000 at (10,10) (gem_render_copy:4311) igt_core-INFO: Stack trace: (gem_render_copy:4311) igt_core-INFO: #0 ../lib/igt_core.c:1674 __igt_fail_assert() (gem_render_copy:4311) igt_core-INFO: #1 ../tests/i915/gem_render_copy.c:479 scratch_buf_check() (gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500] **** END **** Subtest yf-tiled-ccs-to-yf-tiled: FAIL (47,992s)
There is no render copyfunc for gen12. This should have bailed out at data.render_copy = igt_get_render_copyfunc(data.devid); igt_require_f(data.render_copy, "no render-copy function\n");
You're right. I had a patch in my tree which, for some reason, hasn't been upstreamed yet. But the bug is real, we are missing rendercopy function for GEN12.
Patches for Gen12 are ready, I will resend them today.
Created attachment 145430 [details] gem_render_copy --run-subtest y-tiled-ccs-to-linear Unfortunately, the rendercopy patches didn't help in case of CCS. The attatched dmesg is an example of the outcome of IGT test gem_render_copy@y-tiled-ccs-to-linear. I ran the test with my IGT tree https://github.com/mkahola/igt.git e2e_compression
Forward duping to tie in with cibuglog. *** This bug has been marked as a duplicate of bug 111771 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.