gem_render_copy failing on CCS subtests
https://bugs.freedesktop.org/show_bug.cgi?id=111667
Bug ID: 111667
Summary: gem_render_copy failing on CCS subtests
Product: DRI
Version: DRI git
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: major
Priority: not set
Component: IGT
Assignee: [email protected]
Reporter: [email protected]
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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
--- Comment #1 from Mika Kahola <[email protected]> ---
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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_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)
Quoted 1 line
= 9
(gem_render_copy:4311) DEBUG: Test requirement passed: intel_gen(data->devid)
Quoted 1 line
= 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:479scratch_buf_check()
(gem_render_copy:4311) igt_core-INFO: #2 [<unknown>+0xb946f500]
**** END ****
Subtest yf-tiled-ccs-to-yf-tiled: FAIL (47,992s)
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
--- Comment #2 from Chris Wilson <[email protected]> --- 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");Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
--- Comment #3 from Mika Kahola <[email protected]> --- 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.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
--- Comment #4 from Katarzyna Dec <[email protected]> --- Patches for Gen12 are ready, I will resend them today.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
--- Comment #5 from Mika Kahola <[email protected]> --- Created attachment 145430
--> https://bugs.freedesktop.org/attachment.cgi?id=145430&action=editgem_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
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=111667
Chris Wilson <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |DUPLICATE--- Comment #6 from Chris Wilson <[email protected]> --- Forward duping to tie in with cibuglog.
*** This bug has been marked as a duplicate of bug 111771 ***
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel