Skip to contentSkip to conversation

tests/kms_plane_cursor: Use dprx CRC for AMDGPU

PATCH In review Rodrigo Siqueira 3 participants 4 messages Jan 18, 2022 – Jan 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tests/kms_plane_cursor: Use dprx CRC for AMDGPU

We have some CRC errors spread around a few IGT tests related to a driver bug; we have a kernel fix for that [1]. However, after applying the kernel patch, all tests related to pipe-a-primary-size-* start to fail. To fix this issue, we need to make kms_plane_cursor utilize DPRX CRC; this commit updates this test by basically setting DPRX for amdgpu.

1. https://patchwork.freedesktop.org/series/98993/

Cc Mark Yacoub <[email protected]>
Cc Hayden Goodfellow <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Nicholas Choi <[email protected]>
Cc Leo Li <[email protected]>
---
 tests/kms_plane_cursor.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
tests/kms_plane_cursor.c +7 -2
index 73085cc8..def282b8 100644
@@ -60,6 +60,8 @@ typedef struct data {
 /* Common test setup. */
 static void test_init(data_t *data, enum pipe pipe_id)
 {
+	const char *crc_type = INTEL_PIPE_CRC_SOURCE_AUTO;
+
 	igt_display_t *display = &data->display;
 
 	data->pipe_id = pipe_id;
@@ -77,8 +79,11 @@ static void test_init(data_t *data, enum pipe pipe_id)
 	data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR);
 
 	igt_require_pipe_crc(data->drm_fd);
-	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe_id,
-					  INTEL_PIPE_CRC_SOURCE_AUTO);
+
+	if (is_amdgpu_device(data->drm_fd))
+		crc_type = AMDGPU_PIPE_CRC_SOURCE_DPRX;
+
+	data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe_id, crc_type);
 
 	igt_output_set_pipe(data->output, data->pipe_id);
 
Signature · 1 line
2.25.1
#1 lore raw

[igt-dev] ✓ Fi.CI.BAT: success for tests/kms_plane_cursor: Use dprx CRC for AMDGPU

== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Use dprx CRC for AMDGPU
URL : https://patchwork.freedesktop.org/series/98994/
State : success

== Summary ==

CI Bug Log - changes from IGT_6328 -> IGTPW_6561
====================================================

Summary
-------

**WARNING**

Minor unknown changes coming with IGTPW_6561 need to be verified manually.

If you think the reported changes have nothing to do with the changes introduced in IGTPW_6561, please notify your bug team 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_6561/index.html

Participating hosts (42 -> 41)
------------------------------

Additional (1): bat-jsl-2
Missing (2): fi-kbl-soraka fi-icl-u2

Possible new issues
-------------------

Here are the unknown changes that may have been introduced in IGTPW_6561:

### IGT changes ###

#### Warnings ####

* igt@i915_selftest@live@hangcheck:
- bat-dg1-6: [DMESG-FAIL][1] ([i915#4494]) -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/bat-dg1-6/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/bat-dg1-6/igt@i915_selftest@[email protected]

Known issues
------------

Here are the changes found in IGTPW_6561 that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@amdgpu/amd_cs_nop@sync-fork-compute0:
- fi-snb-2600: NOTRUN -> [SKIP][3] ([fdo#109271]) +17 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-snb-2600/igt@amdgpu/[email protected]

* igt@gem_exec_suspend@basic-s3@smem:
- fi-bdw-5557u: [PASS][4] -> [INCOMPLETE][5] ([i915#146])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-bdw-5557u/igt@gem_exec_suspend@[email protected]
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-bdw-5557u/igt@gem_exec_suspend@[email protected]

* igt@kms_frontbuffer_tracking@basic:
- fi-cml-u2: [PASS][6] -> [DMESG-WARN][7] ([i915#4269])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-cml-u2/igt@[email protected]
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-cml-u2/igt@[email protected]
- fi-cfl-8109u: [PASS][8] -> [DMESG-FAIL][9] ([i915#295])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-cfl-8109u/igt@[email protected]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-cfl-8109u/igt@[email protected]

* igt@kms_pipe_crc_basic@compare-crc-sanitycheck-pipe-b:
- fi-cfl-8109u: [PASS][10] -> [DMESG-WARN][11] ([i915#295]) +10 similar issues
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-cfl-8109u/igt@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-cfl-8109u/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_suspend@basic-s3@smem:
- fi-tgl-1115g4: [FAIL][12] ([i915#1888]) -> [PASS][13]
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-tgl-1115g4/igt@gem_exec_suspend@[email protected]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-tgl-1115g4/igt@gem_exec_suspend@[email protected]

* igt@i915_selftest@live@hangcheck:
- fi-snb-2600: [INCOMPLETE][14] ([i915#3921]) -> [PASS][15]
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/fi-snb-2600/igt@i915_selftest@[email protected]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/fi-snb-2600/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).

[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#146]: https://gitlab.freedesktop.org/drm/intel/issues/146
[i915#1888]: https://gitlab.freedesktop.org/drm/intel/issues/1888
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#295]: https://gitlab.freedesktop.org/drm/intel/issues/295
[i915#3301]: https://gitlab.freedesktop.org/drm/intel/issues/3301
[i915#3921]: https://gitlab.freedesktop.org/drm/intel/issues/3921
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4269]: https://gitlab.freedesktop.org/drm/intel/issues/4269
[i915#4494]: https://gitlab.freedesktop.org/drm/intel/issues/4494
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533

Build changes
-------------

* CI: CI-20190529 -> None
* IGT: IGT_6328 -> IGTPW_6561

CI-20190529: 20190529
CI_DRM_11094: 6ce31c986ee8beaa0f98fd4e200b7a421fd4adf9 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_6561: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/index.html
IGT_6328: 7ef5166f6580491b52817930bc4bf7222d0dfe59 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/index.html

#2 lore raw

[igt-dev] ✓ Fi.CI.IGT: success for tests/kms_plane_cursor: Use dprx CRC for AMDGPU

In reply to Rodrigo Siqueira
== Series Details ==

== Series Details ==

Series: tests/kms_plane_cursor: Use dprx CRC for AMDGPU
URL : https://patchwork.freedesktop.org/series/98994/
State : success

== Summary ==

CI Bug Log - changes from IGT_6328_full -> IGTPW_6561_full
====================================================

Summary
-------

**SUCCESS**

No regressions found.

External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/index.html

Participating hosts (8 -> 8)
------------------------------

No changes in participating hosts

Known issues
------------

Here are the changes found in IGTPW_6561_full that come from known issues:

### IGT changes ###

#### Issues hit ####

* igt@gem_ctx_persistence@legacy-engines-hang:
- shard-snb: NOTRUN -> [SKIP][1] ([fdo#109271] / [i915#1099])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-snb6/igt@[email protected]

* igt@gem_ctx_persistence@many-contexts:
- shard-iclb: NOTRUN -> [FAIL][2] ([i915#2410])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb7/igt@[email protected]

* igt@gem_eio@unwedge-stress:
- shard-iclb: [PASS][3] -> [TIMEOUT][4] ([i915#2481] / [i915#3070])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb1/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]

* igt@gem_exec_balancer@parallel-contexts:
- shard-iclb: [PASS][5] -> [SKIP][6] ([i915#4525])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb4/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@[email protected]

* igt@gem_exec_fair@basic-deadline:
- shard-kbl: NOTRUN -> [FAIL][7] ([i915#2846])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]
- shard-apl: NOTRUN -> [FAIL][8] ([i915#2846])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl1/igt@[email protected]

* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][9] -> [FAIL][10] ([i915#2842])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-apl4/igt@gem_exec_fair@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl1/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-kbl: NOTRUN -> [FAIL][11] ([i915#2842])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl1/igt@gem_exec_fair@[email protected]
- shard-tglb: NOTRUN -> [FAIL][12] ([i915#2842])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb8/igt@gem_exec_fair@[email protected]
- shard-iclb: NOTRUN -> [FAIL][13] ([i915#2842])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb1/igt@gem_exec_fair@[email protected]
- shard-glk: NOTRUN -> [FAIL][14] ([i915#2842])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk5/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-pace@vcs1:
- shard-kbl: [PASS][15] -> [FAIL][16] ([i915#2842]) +1 similar issue
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-kbl3/igt@gem_exec_fair@[email protected]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_fair@basic-throttle@rcs0:
- shard-iclb: [PASS][17] -> [FAIL][18] ([i915#2849])
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb5/igt@gem_exec_fair@[email protected]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb6/igt@gem_exec_fair@[email protected]

* igt@gem_lmem_swapping@random-engines:
- shard-iclb: NOTRUN -> [SKIP][19] ([i915#4613])
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb7/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][20] ([fdo#109271] / [i915#4613]) +2 similar issues
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl4/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][21] ([fdo#109271] / [i915#4613])
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][22] ([i915#4613])
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]

* igt@gem_lmem_swapping@smem-oom:
- shard-kbl: NOTRUN -> [SKIP][23] ([fdo#109271] / [i915#4613]) +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl1/igt@[email protected]

* igt@gem_pxp@verify-pxp-stale-ctx-execution:
- shard-tglb: NOTRUN -> [SKIP][24] ([i915#4270])
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][25] ([i915#4270])
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@[email protected]

* igt@gem_render_copy@yf-tiled-to-vebox-linear:
- shard-iclb: NOTRUN -> [SKIP][26] ([i915#768])
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@[email protected]

* igt@gem_userptr_blits@access-control:
- shard-tglb: NOTRUN -> [SKIP][27] ([i915#3297])
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb8/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][28] ([i915#3297])
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]

* igt@gem_userptr_blits@dmabuf-sync:
- shard-kbl: NOTRUN -> [SKIP][29] ([fdo#109271] / [i915#3323])
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl7/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][30] ([i915#3323])
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb8/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][31] ([fdo#109271] / [i915#3323])
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl2/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][32] ([fdo#109271] / [i915#3323])
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk1/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][33] ([i915#3323])
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb1/igt@[email protected]

* igt@gem_userptr_blits@vma-merge:
- shard-apl: NOTRUN -> [FAIL][34] ([i915#3318])
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl3/igt@[email protected]

* igt@gen7_exec_parse@basic-rejected:
- shard-tglb: NOTRUN -> [SKIP][35] ([fdo#109289])
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb1/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][36] ([fdo#109289])
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb8/igt@[email protected]

* igt@gen9_exec_parse@allowed-all:
- shard-apl: [PASS][37] -> [DMESG-WARN][38] ([i915#1436] / [i915#716])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-apl4/igt@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl8/igt@[email protected]

* igt@gen9_exec_parse@cmd-crossing-page:
- shard-tglb: NOTRUN -> [SKIP][39] ([i915#2527] / [i915#2856]) +2 similar issues
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb6/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][40] ([i915#2856])
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]

* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [PASS][41] -> [SKIP][42] ([fdo#109271])
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-apl8/igt@[email protected]
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl2/igt@[email protected]
- shard-iclb: [PASS][43] -> [SKIP][44] ([i915#4281])
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb6/igt@[email protected]
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]

* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-dp:
- shard-kbl: NOTRUN -> [SKIP][45] ([fdo#109271] / [i915#1937])
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl6/igt@i915_pm_lpsp@[email protected]

* igt@i915_pm_lpsp@screens-disabled:
- shard-tglb: NOTRUN -> [SKIP][46] ([i915#1902])
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][47] ([i915#1902])
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb1/igt@[email protected]

* igt@i915_selftest@live@hangcheck:
- shard-snb: [PASS][48] -> [INCOMPLETE][49] ([i915#3921])
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-snb2/igt@i915_selftest@[email protected]
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-snb2/igt@i915_selftest@[email protected]

* igt@i915_suspend@sysfs-reader:
- shard-kbl: [PASS][50] -> [DMESG-WARN][51] ([i915#180]) +1 similar issue
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-kbl4/igt@[email protected]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl6/igt@[email protected]

* igt@kms_atomic@atomic_plane_damage:
- shard-iclb: NOTRUN -> [SKIP][52] ([i915#4765])
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@kms_atomic@atomic_plane_damage.html

* igt@kms_big_fb@linear-16bpp-rotate-90:
- shard-apl: NOTRUN -> [SKIP][53] ([fdo#109271]) +169 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl6/igt@[email protected]

* igt@kms_big_fb@yf-tiled-8bpp-rotate-90:
- shard-tglb: NOTRUN -> [SKIP][54] ([fdo#111615]) +2 similar issues
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-0-hflip:
- shard-apl: NOTRUN -> [SKIP][55] ([fdo#109271] / [i915#3777]) +1 similar issue
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl6/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-180:
- shard-iclb: NOTRUN -> [SKIP][56] ([fdo#110723]) +1 similar issue
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@[email protected]

* igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs:
- shard-apl: NOTRUN -> [SKIP][57] ([fdo#109271] / [i915#3886]) +7 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl1/igt@kms_ccs@pipe-a-ccs-on-another-bo-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc:
- shard-kbl: NOTRUN -> [SKIP][58] ([fdo#109271] / [i915#3886]) +10 similar issues
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@kms_ccs@pipe-a-crc-primary-rotation-180-y_tiled_gen12_rc_ccs_cc.html

* igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs:
- shard-glk: NOTRUN -> [SKIP][59] ([fdo#109271] / [i915#3886]) +1 similar issue
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk8/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
- shard-iclb: NOTRUN -> [SKIP][60] ([fdo#109278] / [i915#3886]) +1 similar issue
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html
- shard-tglb: NOTRUN -> [SKIP][61] ([i915#3689] / [i915#3886])
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb2/igt@kms_ccs@pipe-b-crc-primary-rotation-180-y_tiled_gen12_mc_ccs.html

* igt@kms_ccs@pipe-d-bad-aux-stride-yf_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][62] ([fdo#111615] / [i915#3689]) +1 similar issue
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb3/igt@kms_ccs@pipe-d-bad-aux-stride-yf_tiled_ccs.html

* igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs:
- shard-snb: NOTRUN -> [SKIP][63] ([fdo#109271]) +100 similar issues
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-snb6/igt@kms_ccs@pipe-d-bad-pixel-format-y_tiled_ccs.html

* igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs:
- shard-tglb: NOTRUN -> [SKIP][64] ([i915#3689]) +3 similar issues
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb7/igt@kms_ccs@pipe-d-crc-sprite-planes-basic-y_tiled_ccs.html

* igt@kms_chamelium@dp-hpd-storm:
- shard-iclb: NOTRUN -> [SKIP][65] ([fdo#109284] / [fdo#111827]) +6 similar issues
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@[email protected]

* igt@kms_chamelium@hdmi-hpd-for-each-pipe:
- shard-glk: NOTRUN -> [SKIP][66] ([fdo#109271] / [fdo#111827]) +7 similar issues
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk7/igt@[email protected]

* igt@kms_chamelium@vga-hpd-for-each-pipe:
- shard-kbl: NOTRUN -> [SKIP][67] ([fdo#109271] / [fdo#111827]) +17 similar issues
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]

* igt@kms_color_chamelium@pipe-a-ctm-red-to-blue:
- shard-snb: NOTRUN -> [SKIP][68] ([fdo#109271] / [fdo#111827]) +7 similar issues
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-snb4/igt@[email protected]

* igt@kms_color_chamelium@pipe-b-gamma:
- shard-apl: NOTRUN -> [SKIP][69] ([fdo#109271] / [fdo#111827]) +15 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl7/igt@[email protected]

* igt@kms_color_chamelium@pipe-d-ctm-red-to-blue:
- shard-tglb: NOTRUN -> [SKIP][70] ([fdo#109284] / [fdo#111827]) +7 similar issues
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb2/igt@[email protected]
- shard-iclb: NOTRUN -> [SKIP][71] ([fdo#109278] / [fdo#109284] / [fdo#111827])
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@[email protected]

* igt@kms_content_protection@atomic:
- shard-apl: NOTRUN -> [TIMEOUT][72] ([i915#1319]) +1 similar issue
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl7/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-32x32-sliding:
- shard-tglb: NOTRUN -> [SKIP][73] ([i915#3319]) +1 similar issue
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-b-cursor-suspend:
- shard-kbl: NOTRUN -> [DMESG-WARN][74] ([i915#180])
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl6/igt@[email protected]

* igt@kms_cursor_crc@pipe-c-cursor-max-size-offscreen:
- shard-tglb: NOTRUN -> [SKIP][75] ([i915#3359]) +1 similar issue
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]

* igt@kms_cursor_crc@pipe-d-cursor-dpms:
- shard-iclb: NOTRUN -> [SKIP][76] ([fdo#109278]) +18 similar issues
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-toggle:
- shard-iclb: NOTRUN -> [SKIP][77] ([fdo#109274] / [fdo#109278])
[77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-8bpc@edp-1-pipe-a:
- shard-tglb: NOTRUN -> [SKIP][78] ([i915#3788])
[78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb3/igt@kms_dither@[email protected]

* igt@kms_fbcon_fbt@fbc-suspend:
- shard-apl: NOTRUN -> [INCOMPLETE][79] ([i915#180])
[79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl8/igt@[email protected]

* igt@kms_flip@2x-absolute-wf_vblank:
- shard-tglb: NOTRUN -> [SKIP][80] ([fdo#109274] / [fdo#111825] / [i915#3966])
[80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb3/igt@kms_flip@2x-absolute-wf_vblank.html

* igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible:
- shard-tglb: NOTRUN -> [SKIP][81] ([fdo#109274] / [fdo#111825]) +3 similar issues
[81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb1/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html
- shard-iclb: NOTRUN -> [SKIP][82] ([fdo#109274]) +2 similar issues
[82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb8/igt@kms_flip@2x-flip-vs-absolute-wf_vblank-interruptible.html

* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling:
- shard-iclb: [PASS][83] -> [SKIP][84] ([i915#3701]) +1 similar issue
[83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb7/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html
[84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-blt:
- shard-tglb: NOTRUN -> [SKIP][85] ([fdo#109280] / [fdo#111825]) +13 similar issues
[85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb8/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-blt.html

* igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-cpu:
- shard-glk: NOTRUN -> [SKIP][86] ([fdo#109271]) +56 similar issues
[86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk2/igt@kms_frontbuffer_tracking@psr-1p-primscrn-pri-shrfb-draw-mmap-cpu.html

* igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-iclb: NOTRUN -> [SKIP][87] ([fdo#109280]) +12 similar issues
[87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@psr-suspend:
- shard-iclb: [PASS][88] -> [DMESG-WARN][89] ([i915#4391]) +1 similar issue
[88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb3/igt@[email protected]
[89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb7/igt@[email protected]

* igt@kms_hdr@static-toggle:
- shard-iclb: NOTRUN -> [SKIP][90] ([i915#1187])
[90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb7/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][91] ([i915#1187])
[91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb3/igt@[email protected]

* igt@kms_pipe_crc_basic@hang-read-crc-pipe-d:
- shard-glk: NOTRUN -> [SKIP][92] ([fdo#109271] / [i915#533])
[92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk8/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][93] ([fdo#109271] / [i915#533])
[93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl6/igt@[email protected]

* igt@kms_pipe_crc_basic@suspend-read-crc-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][94] ([fdo#109271] / [i915#533]) +3 similar issues
[94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl3/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-a-alpha-basic:
- shard-apl: NOTRUN -> [FAIL][95] ([fdo#108145] / [i915#265]) +1 similar issue
[95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl7/igt@[email protected]

* igt@kms_plane_alpha_blend@pipe-b-alpha-basic:
- shard-kbl: NOTRUN -> [FAIL][96] ([fdo#108145] / [i915#265]) +1 similar issue
[96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl7/igt@[email protected]

* igt@kms_plane_cursor@pipe-b-viewport-size-128:
- shard-iclb: NOTRUN -> [DMESG-WARN][97] ([i915#4391])
[97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb7/igt@[email protected]

* igt@kms_plane_lowres@pipe-c-tiling-yf:
- shard-iclb: NOTRUN -> [SKIP][98] ([i915#3536])
[98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb6/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][99] ([fdo#111615] / [fdo#112054])
[99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb6/igt@[email protected]

* igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping:
- shard-apl: NOTRUN -> [SKIP][100] ([fdo#109271] / [i915#2733])
[100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl3/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html
- shard-glk: NOTRUN -> [SKIP][101] ([fdo#109271] / [i915#2733])
[101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk5/igt@kms_plane_scaling@scaler-with-clipping-clamping@pipe-c-scaler-with-clipping-clamping.html

* igt@kms_psr2_sf@overlay-plane-update-sf-dmg-area:
- shard-kbl: NOTRUN -> [SKIP][102] ([fdo#109271] / [i915#658]) +3 similar issues
[102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]

* igt@kms_psr2_sf@plane-move-sf-dmg-area:
- shard-iclb: NOTRUN -> [SKIP][103] ([fdo#111068] / [i915#658])
[103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][104] ([fdo#109271] / [i915#658]) +2 similar issues
[104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl8/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][105] ([i915#2920])
[105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][106] ([fdo#109271] / [i915#658])
[106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk3/igt@[email protected]

* igt@kms_psr@psr2_no_drrs:
- shard-iclb: [PASS][107] -> [SKIP][108] ([fdo#109441]) +1 similar issue
[107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb2/igt@kms_psr@psr2_no_drrs.html
[108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb1/igt@kms_psr@psr2_no_drrs.html

* igt@kms_psr@psr2_primary_page_flip:
- shard-iclb: NOTRUN -> [SKIP][109] ([fdo#109441])
[109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@kms_psr@psr2_primary_page_flip.html
- shard-tglb: NOTRUN -> [FAIL][110] ([i915#132] / [i915#3467])
[110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb8/igt@kms_psr@psr2_primary_page_flip.html

* igt@kms_setmode@basic:
- shard-snb: NOTRUN -> [FAIL][111] ([i915#31])
[111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-snb2/igt@[email protected]

* igt@kms_sysfs_edid_timing:
- shard-apl: NOTRUN -> [FAIL][112] ([IGT#2])
[112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl4/igt@kms_sysfs_edid_timing.html
- shard-kbl: NOTRUN -> [FAIL][113] ([IGT#2])
[113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl7/igt@kms_sysfs_edid_timing.html

* igt@kms_universal_plane@disable-primary-vs-flip-pipe-d:
- shard-kbl: NOTRUN -> [SKIP][114] ([fdo#109271]) +239 similar issues
[114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]

* igt@kms_writeback@writeback-invalid-parameters:
- shard-kbl: NOTRUN -> [SKIP][115] ([fdo#109271] / [i915#2437])
[115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]
- shard-apl: NOTRUN -> [SKIP][116] ([fdo#109271] / [i915#2437]) +1 similar issue
[116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl4/igt@[email protected]

* igt@nouveau_crc@pipe-b-source-rg:
- shard-iclb: NOTRUN -> [SKIP][117] ([i915#2530])
[117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][118] ([i915#2530])
[118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb8/igt@[email protected]

* igt@perf@polling-parameterized:
- shard-glk: [PASS][119] -> [FAIL][120] ([i915#1542])
[119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-glk6/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk6/igt@[email protected]

* igt@prime_nv_pcopy@test_semaphore:
- shard-iclb: NOTRUN -> [SKIP][121] ([fdo#109291]) +1 similar issue
[121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb1/igt@prime_nv_pcopy@test_semaphore.html

* igt@prime_nv_test@i915_import_pread_pwrite:
- shard-tglb: NOTRUN -> [SKIP][122] ([fdo#109291]) +1 similar issue
[122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb7/igt@prime_nv_test@i915_import_pread_pwrite.html

* igt@prime_vgem@fence-flip-hang:
- shard-iclb: NOTRUN -> [SKIP][123] ([fdo#109295])
[123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb5/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][124] ([fdo#109295])
[124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb2/igt@[email protected]

* igt@sysfs_clients@sema-25:
- shard-iclb: NOTRUN -> [SKIP][125] ([i915#2994])
[125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb3/igt@[email protected]
- shard-kbl: NOTRUN -> [SKIP][126] ([fdo#109271] / [i915#2994]) +4 similar issues
[126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl4/igt@[email protected]
- shard-tglb: NOTRUN -> [SKIP][127] ([i915#2994]) +1 similar issue
[127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb5/igt@[email protected]
- shard-glk: NOTRUN -> [SKIP][128] ([fdo#109271] / [i915#2994])
[128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk3/igt@[email protected]

* igt@sysfs_clients@split-25:
- shard-apl: NOTRUN -> [SKIP][129] ([fdo#109271] / [i915#2994]) +1 similar issue
[129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl7/igt@[email protected]

#### Possible fixes ####

* igt@gem_exec_balancer@parallel-keep-submit-fence:
- shard-iclb: [SKIP][130] ([i915#4525]) -> [PASS][131] +1 similar issue
[130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-iclb3/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-iclb1/igt@[email protected]

* igt@gem_exec_fair@basic-pace@vecs0:
- shard-kbl: [FAIL][132] ([i915#2842]) -> [PASS][133]
[132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-kbl3/igt@gem_exec_fair@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-kbl3/igt@gem_exec_fair@[email protected]

* igt@gem_exec_schedule@submit-early-slice@rcs0:
- shard-tglb: [INCOMPLETE][134] -> [PASS][135]
[134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-tglb6/igt@gem_exec_schedule@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-tglb1/igt@gem_exec_schedule@[email protected]

* igt@gem_exec_suspend@basic-s3@smem:
- shard-apl: [DMESG-WARN][136] ([i915#180]) -> [PASS][137] +4 similar issues
[136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-apl7/igt@gem_exec_suspend@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-apl1/igt@gem_exec_suspend@[email protected]

* igt@gem_softpin@allocator-evict-all-engines:
- shard-glk: [DMESG-WARN][138] ([i915#118]) -> [PASS][139] +2 similar issues
[138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_6328/shard-glk9/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/shard-glk5/igt@gem_softpin@allocator-evict

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_6561/index.html

#3 lore raw
In reply to Rodrigo Siqueira
Quoted 25 lines · Rodrigo Siqueira

We have some CRC errors spread around a few IGT tests related to a driver bug; we have a kernel fix for that [1]. However, after applying the kernel patch, all tests related to pipe-a-primary-size-* start to fail. To fix this issue, we need to make kms_plane_cursor utilize DPRX CRC; this commit updates this test by basically setting DPRX for amdgpu.

1. https://patchwork.freedesktop.org/series/98993/

Cc Mark Yacoub <[email protected]>
Cc Hayden Goodfellow <[email protected]>
Cc Harry Wentland <[email protected]>
Cc Nicholas Choi <[email protected]>
Cc Leo Li <[email protected]>
---
 tests/kms_plane_cursor.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
tests/kms_plane_cursor.c +0 -0
index 73085cc8..def282b8 100644

tests/kms_plane_cursor.c typedef struct data { · line 63

Quoted 4 lines
tests/kms_plane_cursor.c +1 -0
@@ -60,6 +60,8 @@ typedef struct data {
 /* Common test setup. */
 static void test_init(data_t *data, enum pipe pipe_id)
 {
+       const char *crc_type = INTEL_PIPE_CRC_SOURCE_AUTO;

INTEL_PIPE_CRC_SOURCE_AUTO resolves to "auto", can we drop the INTEL prefix cause it's pretty generic to everyone else.
opt: you can do const char *crc_type = is_amdgpu_device(data->drm_fd) ? AMDGPU_PIPE_CRC_SOURCE_DPRX : PIPE_CRC_SOURCE_AUTO; or use this same ternary operation in igt_pipe_crc_new()
This is more of just personal preference so you don't have to about it though.

Quoted 21 lines
tests/kms_plane_cursor.c +6 -3
+
        igt_display_t *display = &data->display;
 
        data->pipe_id = pipe_id;
@@ -77,8 +79,11 @@ static void test_init(data_t *data, enum pipe pipe_id)
        data->cursor = igt_pipe_get_plane_type(data->pipe, DRM_PLANE_TYPE_CURSOR);
 
        igt_require_pipe_crc(data->drm_fd);
-       data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe_id,
-                                         INTEL_PIPE_CRC_SOURCE_AUTO);
+
+       if (is_amdgpu_device(data->drm_fd))
+               crc_type = AMDGPU_PIPE_CRC_SOURCE_DPRX;
+
+       data->pipe_crc = igt_pipe_crc_new(data->drm_fd, data->pipe_id, crc_type);
 
        igt_output_set_pipe(data->output, data->pipe_id);
 
--

2.25.1