lib/rendercopy: Fix Xe2 pixel shader
PATCH 1/1 lib/rendercopy: Fix Xe2 pixel shader
On Xe2 start and coefficient for barycentric positions are passed in different location of grf register (r6). I wasn't able to find this information explicitly in the documentation so I've dumped all registers involved in the operation and deduce r6 values meaning. This means I may be wrong but tests which are previously failing on render-copy now are working fine.
--- lib/i915/shaders/ps/gen20_render_copy.asm | 4 ++-- lib/rendercopy_gen9.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
lib/i915/shaders/ps/gen20_render_copy.asm +2 -2
@@ -1,7 +1,7 @@ L0: -(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.0<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.0<0;0>:f r1.0<1;1>:f r6.6<0>:f (W) mad (16|M0) r113.0<1>:f acc0.0<1;1>:f r1.0<1;1>:f r6.1<0>:f -(W) mad (16|M0) acc0.0<1>:f r6.7<0;0>:f r1.0<1;1>:f r6.4<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.4<0>:f (W) mad (16|M0) r114.0<1>:f acc0.0<1;1>:f r2.0<1;1>:f r6.5<0>:f (W) send.smpl (16|M0) r12 r113 null:0 0x0 0x04420001 {F@1,$0} // wr:2+0, rd:4; simd16 sample:u+v+r+ai+mlod using sampler index 0 (W) send.rc (16|M0) null r12 null:0 0x0 0x08031400 {EOT,$0} // wr:4+0, rd:0; full-precision render target write SIMD16; last render target to surface 0
lib/rendercopy_gen9.c +2 -2
@@ -138,9 +138,9 @@ static const uint32_t gen12p71_render_copy[][4] = { };static const uint32_t xe2_render_copy[][4 ] = { - {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06040105 }, + {0x8010005b ,0x200002a0 ,0x020a0604 ,0x06640105 }, {0x8010005b ,0x710402a8 ,0x020a2001 ,0x06140105 }, - {0x8010005b ,0x200002a0 ,0x020a0674 ,0x06440105 }, + {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06440105 }, {0x8010005b ,0x720402a8 ,0x020a2001 ,0x06540205 }, {0x80122031 ,0x0c240000 ,0x20027114 ,0x00800000 }, {0x8010c031 ,0x00000004 ,0x58000c24 ,0x00c40000 },
Signature · 1 line
2.34.1
Patchwork
CI✓ CI.xeBAT: success for lib/rendercopy: Fix Xe2 pixel shader
== Series Details ==
== Series Details ==
Series: lib/rendercopy: Fix Xe2 pixel shader
URL : https://patchwork.freedesktop.org/series/130379/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7729_BAT -> XEIGTPW_10733_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_10733_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* {igt@xe_exec_queue_property@invalid-property}:
- bat-pvc-2: [FAIL][1] ([Intel XE#1276]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7729/bat-pvc-2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10733/bat-pvc-2/igt@[email protected]
- bat-dg2-oem2: [FAIL][3] ([Intel XE#1276]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7729/bat-dg2-oem2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10733/bat-dg2-oem2/igt@[email protected]
- bat-atsm-2: [FAIL][5] ([Intel XE#1276]) -> [PASS][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7729/bat-atsm-2/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10733/bat-atsm-2/igt@[email protected]
- bat-adlp-7: [FAIL][7] ([Intel XE#1276]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7729/bat-adlp-7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10733/bat-adlp-7/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#1276]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1276
Build changes
-------------
* IGT: IGT_7729 -> IGTPW_10733
* Linux: xe-835-115d0ed85f58e87d2d7a057426350fec5b217cc9 -> xe-846-da89ab10a9af68bc5bf2da94f0958929042a789d
IGTPW_10733: 10733
IGT_7729: 7729
xe-835-115d0ed85f58e87d2d7a057426350fec5b217cc9: 115d0ed85f58e87d2d7a057426350fec5b217cc9 xe-846-da89ab10a9af68bc5bf2da94f0958929042a789d: da89ab10a9af68bc5bf2da94f0958929042a789d
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10733/index.html
Patchwork
CI✗ Fi.CI.BAT: failure for lib/rendercopy: Fix Xe2 pixel shader
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/rendercopy: Fix Xe2 pixel shader
URL : https://patchwork.freedesktop.org/series/130379/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_14336 -> IGTPW_10733
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_10733 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10733, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/index.html
Participating hosts (38 -> 39)
------------------------------
Additional (2): bat-mtlp-8 bat-arls-3
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10733:
### IGT changes ###
#### Possible regressions ####
* igt@kms_pipe_crc_basic@hang-read-crc@pipe-c-edp-1:
- bat-arls-2: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14336/bat-arls-2/igt@kms_pipe_crc_basic@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-2/igt@kms_pipe_crc_basic@[email protected]
Known issues
------------
Here are the changes found in IGTPW_10733 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@debugfs_test@basic-hwmon:
- bat-mtlp-8: NOTRUN -> [SKIP][3] ([i915#9318])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][4] ([i915#9318])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@gem_lmem_swapping@parallel-random-engines:
- bat-arls-3: NOTRUN -> [SKIP][5] ([i915#10213]) +3 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@gem_lmem_swapping@verify-random:
- bat-mtlp-8: NOTRUN -> [SKIP][6] ([i915#4613]) +3 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@gem_mmap@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][7] ([i915#4083])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][8] ([i915#4083])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@gem_mmap_gtt@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][9] ([i915#4077]) +2 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@gem_render_tiled_blits@basic:
- bat-mtlp-8: NOTRUN -> [SKIP][10] ([i915#4079]) +1 other test skip
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][11] ([i915#10197] / [i915#10211] / [i915#4079])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@gem_tiled_blits@basic:
- bat-arls-3: NOTRUN -> [SKIP][12] ([i915#10196] / [i915#4077]) +2 other tests skip
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@gem_tiled_pread_basic:
- bat-arls-3: NOTRUN -> [SKIP][13] ([i915#10206] / [i915#4079])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@gem_tiled_pread_basic.html
* igt@i915_pm_rpm@module-reload:
- bat-arls-3: NOTRUN -> [DMESG-WARN][14] ([i915#10194] / [i915#10215])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@i915_pm_rps@basic-api:
- bat-mtlp-8: NOTRUN -> [SKIP][15] ([i915#6621])
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][16] ([i915#10209])
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@i915_selftest@live@ring_submission:
- bat-arls-3: NOTRUN -> [INCOMPLETE][17] ([i915#10274])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@i915_selftest@live@ring_submission.html
* igt@i915_selftest@live@workarounds:
- bat-arls-3: NOTRUN -> [DMESG-WARN][18] ([i915#10194]) +30 other tests dmesg-warn
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@i915_selftest@[email protected]
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:
- bat-arls-3: NOTRUN -> [SKIP][19] ([i915#10200]) +9 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][20] ([i915#5190])
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_addfb_basic@basic-y-tiled-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][21] ([i915#4212]) +8 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:
- bat-arls-3: NOTRUN -> [SKIP][22] ([i915#10202]) +1 other test skip
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:
- bat-mtlp-8: NOTRUN -> [SKIP][23] ([i915#4213]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-arls-3: NOTRUN -> [SKIP][24] ([i915#9886])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][25] ([i915#3555] / [i915#3840] / [i915#9159])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@force-load-detect:
- bat-arls-3: NOTRUN -> [SKIP][26] ([i915#10207])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][27] ([fdo#109285])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_force_connector_basic@prune-stale-modes:
- bat-mtlp-8: NOTRUN -> [SKIP][28] ([i915#5274])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@kms_pm_backlight@basic-brightness:
- bat-arls-3: NOTRUN -> [SKIP][29] ([i915#9812])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt:
- bat-arls-3: NOTRUN -> [SKIP][30] ([i915#9732]) +3 other tests skip
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@kms_psr@psr-primary-mmap-gtt@edp-1:
- bat-mtlp-8: NOTRUN -> [SKIP][31] ([i915#4077] / [i915#9688])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@kms_psr@[email protected]
* igt@kms_setmode@basic-clone-single-crtc:
- bat-mtlp-8: NOTRUN -> [SKIP][32] ([i915#3555] / [i915#8809])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][33] ([i915#10208] / [i915#8809])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-fence-mmap:
- bat-arls-3: NOTRUN -> [SKIP][34] ([i915#10196] / [i915#3708] / [i915#4077]) +1 other test skip
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
- bat-mtlp-8: NOTRUN -> [SKIP][35] ([i915#3708] / [i915#4077]) +1 other test skip
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
* igt@prime_vgem@basic-fence-read:
- bat-mtlp-8: NOTRUN -> [SKIP][36] ([i915#3708]) +2 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-mtlp-8/igt@[email protected]
- bat-arls-3: NOTRUN -> [SKIP][37] ([i915#10212] / [i915#3708])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-read:
- bat-arls-3: NOTRUN -> [SKIP][38] ([i915#10214] / [i915#3708])
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
* igt@prime_vgem@basic-write:
- bat-arls-3: NOTRUN -> [SKIP][39] ([i915#10216] / [i915#3708])
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/bat-arls-3/igt@[email protected]
#### Possible fixes ####
* igt@i915_pm_rpm@module-reload:
- fi-kbl-7567u: [CRASH][40] ([i915#9947]) -> [PASS][41]
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_14336/fi-kbl-7567u/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/fi-kbl-7567u/igt@[email protected]
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[i915#10194]: https://gitlab.freedesktop.org/drm/intel/issues/10194
[i915#10196]: https://gitlab.freedesktop.org/drm/intel/issues/10196
[i915#10197]: https://gitlab.freedesktop.org/drm/intel/issues/10197
[i915#10200]: https://gitlab.freedesktop.org/drm/intel/issues/10200
[i915#10202]: https://gitlab.freedesktop.org/drm/intel/issues/10202
[i915#10206]: https://gitlab.freedesktop.org/drm/intel/issues/10206
[i915#10207]: https://gitlab.freedesktop.org/drm/intel/issues/10207
[i915#10208]: https://gitlab.freedesktop.org/drm/intel/issues/10208
[i915#10209]: https://gitlab.freedesktop.org/drm/intel/issues/10209
[i915#10211]: https://gitlab.freedesktop.org/drm/intel/issues/10211
[i915#10212]: https://gitlab.freedesktop.org/drm/intel/issues/10212
[i915#10213]: https://gitlab.freedesktop.org/drm/intel/issues/10213
[i915#10214]: https://gitlab.freedesktop.org/drm/intel/issues/10214
[i915#10215]: https://gitlab.freedesktop.org/drm/intel/issues/10215
[i915#10216]: https://gitlab.freedesktop.org/drm/intel/issues/10216
[i915#10274]: https://gitlab.freedesktop.org/drm/intel/issues/10274
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5190]: https://gitlab.freedesktop.org/drm/intel/issues/5190
[i915#5274]: https://gitlab.freedesktop.org/drm/intel/issues/5274
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#8809]: https://gitlab.freedesktop.org/drm/intel/issues/8809
[i915#9159]: https://gitlab.freedesktop.org/drm/intel/issues/9159
[i915#9318]: https://gitlab.freedesktop.org/drm/intel/issues/9318
[i915#9688]: https://gitlab.freedesktop.org/drm/intel/issues/9688
[i915#9732]: https://gitlab.freedesktop.org/drm/intel/issues/9732
[i915#9812]: https://gitlab.freedesktop.org/drm/intel/issues/9812
[i915#9886]: https://gitlab.freedesktop.org/drm/intel/issues/9886
[i915#9947]: https://gitlab.freedesktop.org/drm/intel/issues/9947
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7729 -> IGTPW_10733
CI-20190529: 20190529
CI_DRM_14336: da89ab10a9af68bc5bf2da94f0958929042a789d @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10733: 10733
IGT_7729: 7729
Testlist changes
----------------
-igt@kms_vrr@max-min
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/index.html
Re: ✗ Fi.CI.BAT: failure for lib/rendercopy: Fix Xe2 pixel shader
Quoted 32 lines · Patchwork
Patch Details Series: lib/rendercopy: Fix Xe2 pixel shader URL: https://patchwork.freedesktop.org/series/130379/ State: failure Details: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/index.html CI Bug Log - changes from CI_DRM_14336 -> IGTPW_10733Summary
FAILURE
Serious unknown changes coming with
IGTPW_10733absolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
IGTPW_10733, please notify your bug team ([email protected]) to allow them
to document this new failure mode, which will reduce false positives in CI.External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10733/index.htmlParticipating hosts (38 -> 39)
Additional (2): bat-mtlp-8 bat-arls-3 Missing (1): fi-snb-2520mPossible new issues
Quoted 8 lines
Here are the unknown changes that may have been introduced in
IGTPW_10733:IGT changes
Possible regressions
* igt@kms_pipe_crc_basic@hang-read-crc@pipe-c-edp-1:
* bat-arls-2: PASS -> ABORT
Unrelated. Change touches LNL shader only.
--
Zbigniew
Quoted 126 lines
Known issues
Here are the changes found in
IGTPW_10733that come from known issues:IGT changes
Issues hit
* igt@debugfs_test@basic-hwmon:
* bat-mtlp-8: NOTRUN -> SKIP (i915#9318)
* bat-arls-3: NOTRUN -> SKIP (i915#9318)
* igt@gem_lmem_swapping@parallel-random-engines:* bat-arls-3: NOTRUN -> SKIP (i915#10213) +3 other tests skip
* igt@gem_lmem_swapping@verify-random:* bat-mtlp-8: NOTRUN -> SKIP (i915#4613) +3 other tests skip
* igt@gem_mmap@basic:* bat-mtlp-8: NOTRUN -> SKIP (i915#4083)
* bat-arls-3: NOTRUN -> SKIP (i915#4083)
* igt@gem_mmap_gtt@basic:* bat-mtlp-8: NOTRUN -> SKIP (i915#4077) +2 other tests skip
* igt@gem_render_tiled_blits@basic:* bat-mtlp-8: NOTRUN -> SKIP (i915#4079) +1 other test skip
* bat-arls-3: NOTRUN -> SKIP (i915#10197 / i915#10211 / i915#4079)
* igt@gem_tiled_blits@basic:* bat-arls-3: NOTRUN -> SKIP (i915#10196 / i915#4077) +2 other tests skip
* igt@gem_tiled_pread_basic:* bat-arls-3: NOTRUN -> SKIP (i915#10206 / i915#4079)
* igt@i915_pm_rpm@module-reload:* bat-arls-3: NOTRUN -> DMESG-WARN (i915#10194 / i915#10215)
* igt@i915_pm_rps@basic-api:* bat-mtlp-8: NOTRUN -> SKIP (i915#6621)
* bat-arls-3: NOTRUN -> SKIP (i915#10209)
* igt@i915_selftest@live@ring_submission:* bat-arls-3: NOTRUN -> INCOMPLETE (i915#10274)
* igt@i915_selftest@live@workarounds:* bat-arls-3: NOTRUN -> DMESG-WARN (i915#10194) +30 other tests dmesg-warn
* igt@kms_addfb_basic@addfb25-x-tiled-legacy:* bat-arls-3: NOTRUN -> SKIP (i915#10200) +9 other tests skip
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:* bat-mtlp-8: NOTRUN -> SKIP (i915#5190)
* igt@kms_addfb_basic@basic-y-tiled-legacy:* bat-mtlp-8: NOTRUN -> SKIP (i915#4212) +8 other tests skip
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic:* bat-arls-3: NOTRUN -> SKIP (i915#10202) +1 other test skip
* igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy:* bat-mtlp-8: NOTRUN -> SKIP (i915#4213) +1 other test skip
* igt@kms_dsc@dsc-basic:* bat-arls-3: NOTRUN -> SKIP (i915#9886)
* bat-mtlp-8: NOTRUN -> SKIP (i915#3555 / i915#3840 / i915#9159)
* igt@kms_force_connector_basic@force-load-detect:* bat-arls-3: NOTRUN -> SKIP (i915#10207)
* bat-mtlp-8: NOTRUN -> SKIP (fdo#109285)
* igt@kms_force_connector_basic@prune-stale-modes:* bat-mtlp-8: NOTRUN -> SKIP (i915#5274)
* igt@kms_pm_backlight@basic-brightness:* bat-arls-3: NOTRUN -> SKIP (i915#9812)
* igt@kms_psr@psr-primary-mmap-gtt:* bat-arls-3: NOTRUN -> SKIP (i915#9732) +3 other tests skip
* igt@kms_psr@psr-primary-mmap-gtt@edp-1:* bat-mtlp-8: NOTRUN -> SKIP (i915#4077 / i915#9688)
* igt@kms_setmode@basic-clone-single-crtc:* bat-mtlp-8: NOTRUN -> SKIP (i915#3555 / i915#8809)
* bat-arls-3: NOTRUN -> SKIP (i915#10208 / i915#8809)
* igt@prime_vgem@basic-fence-mmap:* bat-arls-3: NOTRUN -> SKIP (i915#10196 / i915#3708 / i915#4077) +1 other test skip
* bat-mtlp-8: NOTRUN -> SKIP (i915#3708 / i915#4077) +1 other test skip
* igt@prime_vgem@basic-fence-read:* bat-mtlp-8: NOTRUN -> SKIP (i915#3708) +2 other tests skip
* bat-arls-3: NOTRUN -> SKIP (i915#10212 / i915#3708)
* igt@prime_vgem@basic-read:* bat-arls-3: NOTRUN -> SKIP (i915#10214 / i915#3708)
* igt@prime_vgem@basic-write:* bat-arls-3: NOTRUN -> SKIP (i915#10216 / i915#3708)
Possible fixes
* igt@i915_pm_rpm@module-reload:
* fi-kbl-7567u: CRASH (i915#9947) -> PASSBuild changes
* CI: CI-20190529 -> None
* IGT:IGT_7729->IGTPW_10733CI-20190529: 20190529 CI_DRM_14336: da89ab10a9af68bc5bf2da94f0958929042a789d @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_10733: 10733 IGT_7729: 7729Testlist changes
-igt@kms_vrr@max-min
Patchwork
CI✗ Fi.CI.BAT: failure for lib/rendercopy: Fix Xe2 pixel shader (rev2)
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/rendercopy: Fix Xe2 pixel shader (rev2)
URL : https://patchwork.freedesktop.org/series/130379/
State : failure
== Summary ==
CI Bug Log - changes from IGT_7731 -> IGTPW_10735
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_10735 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_10735, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html
Participating hosts (40 -> 38)
------------------------------
Missing (2): bat-mtlp-8 fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_10735:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live@hangcheck:
- bat-adln-1: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7731/bat-adln-1/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/bat-adln-1/igt@i915_selftest@[email protected]
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [PASS][3] -> [FAIL][4]
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7731/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/bat-dg2-8/igt@kms_pipe_crc_basic@[email protected]
Known issues
------------
Here are the changes found in IGTPW_10735 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_create@basic@smem:
- bat-arls-1: [PASS][5] -> [DMESG-WARN][6] ([i915#10194])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7731/bat-arls-1/igt@gem_exec_create@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/bat-arls-1/igt@gem_exec_create@[email protected]
#### Possible fixes ####
* igt@gem_exec_fence@basic-busy@ccs0:
- bat-arls-1: [DMESG-WARN][7] ([i915#10194]) -> [PASS][8]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7731/bat-arls-1/igt@gem_exec_fence@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/bat-arls-1/igt@gem_exec_fence@[email protected]
#### Warnings ####
* igt@i915_selftest@live@requests:
- bat-arls-2: [DMESG-WARN][9] ([i915#10194]) -> [ABORT][10] ([i915#10194])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_7731/bat-arls-2/igt@i915_selftest@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/bat-arls-2/igt@i915_selftest@[email protected]
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[i915#10194]: https://gitlab.freedesktop.org/drm/intel/issues/10194
[i915#5591]: https://gitlab.freedesktop.org/drm/intel/issues/5591
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7731 -> IGTPW_10735
CI-20190529: 20190529
CI_DRM_14344: c815c7fa9257eb8ff4433c43058dd292b16347eb @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_10735: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html
IGT_7731: 17f897a81868fb35c6a7033a8b07256659742248 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
Testlist changes
----------------
-igt@kms_vrr@max-min
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html
Re: ✗ Fi.CI.BAT: failure for lib/rendercopy: Fix Xe2 pixel shader (rev2)
Quoted 35 lines · Patchwork
Patch Details Series: lib/rendercopy: Fix Xe2 pixel shader (rev2) URL: https://patchwork.freedesktop.org/series/130379/ State: failure Details: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html CI Bug Log - changes from IGT_7731 -> IGTPW_10735Summary
FAILURE
Serious unknown changes coming with
IGTPW_10735absolutely need to be verified manually.If you think the reported changes have nothing to do with the changes introduced in
IGTPW_10735, please notify your bug team ([email protected]) to allow them
to document this new failure mode, which will reduce false positives in CI.External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.htmlParticipating hosts (40 -> 38)
Missing (2): bat-mtlp-8 fi-snb-2520mPossible new issues
Here are the unknown changes that may have been introduced in
IGTPW_10735:IGT changes
Quoted 8 lines
Possible regressions
* igt@i915_selftest@live@hangcheck:
* bat-adln-1: PASS -> ABORT
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:* bat-dg2-8: PASS -> FAIL
Unrelated to the change, it touches LNL shader only.
--
Zbigniew
Quoted 42 lines
Known issues
Here are the changes found in
IGTPW_10735that come from known issues:IGT changes
Issues hit
* igt@gem_exec_create@basic@smem:
* bat-arls-1: PASS -> DMESG-WARN (i915#10194)Possible fixes
* igt@gem_exec_fence@basic-busy@ccs0:
* bat-arls-1: DMESG-WARN (i915#10194) -> PASSWarnings
* igt@i915_selftest@live@requests:
* bat-arls-2: DMESG-WARN (i915#10194) -> ABORT (i915#10194){name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).Build changes
* CI: CI-20190529 -> None
* IGT:IGT_7731->IGTPW_10735CI-20190529: 20190529 CI_DRM_14344: c815c7fa9257eb8ff4433c43058dd292b16347eb @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_10735: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html IGT_7731: 17f897a81868fb35c6a7033a8b07256659742248 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.gitTestlist changes
-igt@kms_vrr@max-min
Patchwork
CI✓ CI.xeBAT: success for lib/rendercopy: Fix Xe2 pixel shader (rev2)
In reply to Zbigniew Kempczyński== Series Details ==
== Series Details ==
Series: lib/rendercopy: Fix Xe2 pixel shader (rev2)
URL : https://patchwork.freedesktop.org/series/130379/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_7731_BAT -> XEIGTPW_10735_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (4 -> 4)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_10735_BAT that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@xe_evict@evict-beng-mixed-threads-small-multi-vm:
- bat-dg2-oem2: [DMESG-WARN][1] ([Intel XE#1009]) -> [PASS][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7731/bat-dg2-oem2/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10735/bat-dg2-oem2/igt@[email protected]
* igt@xe_exec_threads@threads-basic:
- bat-dg2-oem2: [DMESG-WARN][3] ([Intel XE#1232]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7731/bat-dg2-oem2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10735/bat-dg2-oem2/igt@[email protected]
* igt@xe_live_ktest@xe_migrate:
- bat-dg2-oem2: [SKIP][5] ([Intel XE#1192]) -> [PASS][6] +2 other tests pass
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7731/bat-dg2-oem2/igt@xe_live_ktest@xe_migrate.html
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10735/bat-dg2-oem2/igt@xe_live_ktest@xe_migrate.html
[Intel XE#1009]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1009
[Intel XE#1192]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1192
[Intel XE#1232]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1232
Build changes
-------------
* IGT: IGT_7731 -> IGTPW_10735
* Linux: xe-851-3ffcc68ae900bd09bba64d4c9e0a9290ff4452b5 -> xe-853-f1086cb1e2afe822e402ae390bedfdc734a9eea6
IGTPW_10735: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10735/index.html
IGT_7731: 17f897a81868fb35c6a7033a8b07256659742248 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-851-3ffcc68ae900bd09bba64d4c9e0a9290ff4452b5: 3ffcc68ae900bd09bba64d4c9e0a9290ff4452b5 xe-853-f1086cb1e2afe822e402ae390bedfdc734a9eea6: f1086cb1e2afe822e402ae390bedfdc734a9eea6
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10735/index.html
I was all evening reading the spec and comparing code but I didn't also find place which would point this change in spec. I suspect it relate to that simd mode change when compare to those older shaders. I agree with the change as the code works but I'll still try to figure out where this is coming from.
Quoted 45 lines · Zbigniew Kempczyński
On Xe2 start and coefficient for barycentric positions are passed in different location of grf register (r6). I wasn't able to find this information explicitly in the documentation so I've dumped all registers involved in the operation and deduce r6 values meaning. This means I may be wrong but tests which are previously failing on render-copy now are working fine.
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Juha-Pekka Heikkila <[email protected]>Cc Swati Sharma <[email protected]>--- lib/i915/shaders/ps/gen20_render_copy.asm | 4 ++-- lib/rendercopy_gen9.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)lib/i915/shaders/ps/gen20_render_copy.asm +2
-2@@ -1,7 +1,7 @@ L0: -(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.0<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.0<0;0>:f r1.0<1;1>:f r6.6<0>:f (W) mad (16|M0) r113.0<1>:f acc0.0<1;1>:f r1.0<1;1>:f r6.1<0>:f -(W) mad (16|M0) acc0.0<1>:f r6.7<0;0>:f r1.0<1;1>:f r6.4<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.4<0>:f (W) mad (16|M0) r114.0<1>:f acc0.0<1;1>:f r2.0<1;1>:f r6.5<0>:f (W) send.smpl (16|M0) r12 r113 null:0 0x0 0x04420001 {F@1,$0} // wr:2+0, rd:4; simd16 sample:u+v+r+ai+mlod using sampler index 0 (W) send.rc (16|M0) null r12 null:0 0x0 0x08031400 {EOT,$0} // wr:4+0, rd:0; full-precision render target write SIMD16; last render target to surface 0lib/rendercopy_gen9.c +2
-2@@ -138,9 +138,9 @@ static const uint32_t gen12p71_render_copy[][4] = { };static const uint32_t xe2_render_copy[][4 ] = { - {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06040105 }, + {0x8010005b ,0x200002a0 ,0x020a0604 ,0x06640105 }, {0x8010005b ,0x710402a8 ,0x020a2001 ,0x06140105 }, - {0x8010005b ,0x200002a0 ,0x020a0674 ,0x06440105 }, + {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06440105 }, {0x8010005b ,0x720402a8 ,0x020a2001 ,0x06540205 }, {0x80122031 ,0x0c240000 ,0x20027114 ,0x00800000 }, {0x8010c031 ,0x00000004 ,0x58000c24 ,0x00c40000 },
Quoted 5 lines · Juha-Pekka Heikkila
I was all evening reading the spec and comparing code but I didn't also find place which would point this change in spec. I suspect it relate to that simd mode change when compare to those older shaders. I agree with the change as the code works but I'll still try to figure out where this is coming from.
Lionel suggested in offline discussion that there's alternative
- switching from barycentric to pixel positions (subspans are passed in r1 or r0.10-13(Xe2)). Finally faster was for me to dump and examine r6 content. Comparing to Xe and previous platforms something changed how VUE is unpacked to r6.
Right now I'm preparing series with xe_render_copy which exercises copying using different positions so detecting shader is not fully correct should be easier.
Thank you for the review.
--
Zbigniew
Quoted 49 lines
Reviewed-by Juha-Pekka Heikkila <[email protected]>Quoted 44 lines · Zbigniew Kempczyński
On Xe2 start and coefficient for barycentric positions are passed in different location of grf register (r6). I wasn't able to find this information explicitly in the documentation so I've dumped all registers involved in the operation and deduce r6 values meaning. This means I may be wrong but tests which are previously failing on render-copy now are working fine.
Signed-off-by Zbigniew Kempczyński <[email protected]>Cc Juha-Pekka Heikkila <[email protected]>Cc Swati Sharma <[email protected]>--- lib/i915/shaders/ps/gen20_render_copy.asm | 4 ++-- lib/rendercopy_gen9.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)lib/i915/shaders/ps/gen20_render_copy.asm +2
-2@@ -1,7 +1,7 @@ L0: -(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.0<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.0<0;0>:f r1.0<1;1>:f r6.6<0>:f (W) mad (16|M0) r113.0<1>:f acc0.0<1;1>:f r1.0<1;1>:f r6.1<0>:f -(W) mad (16|M0) acc0.0<1>:f r6.7<0;0>:f r1.0<1;1>:f r6.4<0>:f +(W) mad (16|M0) acc0.0<1>:f r6.3<0;0>:f r1.0<1;1>:f r6.4<0>:f (W) mad (16|M0) r114.0<1>:f acc0.0<1;1>:f r2.0<1;1>:f r6.5<0>:f (W) send.smpl (16|M0) r12 r113 null:0 0x0 0x04420001 {F@1,$0} // wr:2+0, rd:4; simd16 sample:u+v+r+ai+mlod using sampler index 0 (W) send.rc (16|M0) null r12 null:0 0x0 0x08031400 {EOT,$0} // wr:4+0, rd:0; full-precision render target write SIMD16; last render target to surface 0lib/rendercopy_gen9.c +2
-2@@ -138,9 +138,9 @@ static const uint32_t gen12p71_render_copy[][4] = { };static const uint32_t xe2_render_copy[][4 ] = { - {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06040105 }, + {0x8010005b ,0x200002a0 ,0x020a0604 ,0x06640105 }, {0x8010005b ,0x710402a8 ,0x020a2001 ,0x06140105 }, - {0x8010005b ,0x200002a0 ,0x020a0674 ,0x06440105 }, + {0x8010005b ,0x200002a0 ,0x020a0634 ,0x06440105 }, {0x8010005b ,0x720402a8 ,0x020a2001 ,0x06540205 }, {0x80122031 ,0x0c240000 ,0x20027114 ,0x00800000 }, {0x8010c031 ,0x00000004 ,0x58000c24 ,0x00c40000 },