tests/amdgpu: Add amd_hdr_visual for manual HDR verification
PATCH v2 1/1 tests/amdgpu: Add amd_hdr_visual for manual HDR verification
From: Wayne Lin <[email protected]>
Add a visual verification test for AMD HDR display output. This test displays HDR test patterns with different metadata types and waits for user confirmation, enabling manual inspection of HDR output quality.
Subtests:
- static-swap-smpte2084: Display with SMPTE ST2084 (PQ) HDR metadata
- static-swap-traditional-sdr: Display with traditional SDR gamma metadata
--- tests/amdgpu/amd_hdr_visual.c | 176 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 7 ++ 2 files changed, 183 insertions(+) create mode 100644 tests/amdgpu/amd_hdr_visual.c
tests/amdgpu/amd_hdr_visual.c new file +176 -0
@@ -0,0 +1,176 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2026 Advanced Micro Devices, Inc. +*/ + +#include "igt.h" +#include "igt_hdr.h" + +/** +* TEST: AMD manual HDR visual tests +* Description: Test HDR metadata interfaces by showing visual HDR patterns +* Driver requirement: amdgpu +* Mega-feature: Display +* Sub-category: HDR +* +* SUBTEST: static-swap-smpte2084 +* Description: Show a visual HDR pattern with SMPTE ST2084 metadata and +* require user confirmation. +* +* SUBTEST: static-swap-traditional-sdr +* Description: Show a visual HDR pattern with traditional SDR gamma metadata +* and require user confirmation. +*/ +IGT_TEST_DESCRIPTION ("Test HDR output metadata visual verification" ); + +/* Common test data. */ +typedef struct data { +igt_display_t display; +igt_plane_t *primary; +igt_output_t *output; +igt_crtc_t *crtc; +drmModeModeInfo *mode; +int fd; +int w; +int h; +}data_t ; + +/* Fills the FB with a test HDR pattern. */ +static void draw_hdr_pattern (igt_fb_t *fb) +{ +cairo_t *cr =igt_get_cairo_ctx (fb->fd, fb); + +igt_paint_color (cr,0 ,0 , fb->width, fb->height,1.0 ,1.0 ,1.0 ); +igt_paint_test_pattern (cr, fb->width, fb->height); + +igt_put_cairo_ctx (cr); +} + +/* Prepare test data. */ +static void prepare_test (data_t *data,igt_output_t *output,igt_crtc_t *crtc) +{ +igt_display_t *display = &data->display; + + data->crtc = crtc; +igt_assert (data->crtc); + +igt_display_reset (display); + + data->output = output; +igt_assert (data->output); + + data->mode =igt_output_get_mode (data->output); +igt_assert (data->mode); + + data->primary = +igt_crtc_get_plane_type (data->crtc,DRM_PLANE_TYPE_PRIMARY ); + +igt_output_set_crtc (data->output, crtc); + + data->w = data->mode->hdisplay; + data->h = data->mode->vdisplay; +} + +/* Returns true if an output supports max bpc property. */ +static bool has_max_bpc (igt_output_t *output) +{ +return igt_output_has_prop (output,IGT_CONNECTOR_MAX_BPC ) && +igt_output_get_prop (output,IGT_CONNECTOR_MAX_BPC ); +} + +static void test_static_swap (data_t *data, +void (*fill_metadata)(struct hdr_output_metadata *), +const char *mode_name) +{ +igt_display_t *display = &data->display; +igt_output_t *output; +igt_crtc_t *crtc; +igt_fb_t afb; +int afb_id; +bool found = false; +struct hdr_output_metadata hdr; + +for_each_connected_output (display, output) { +if (!has_max_bpc (output) || !igt_output_supports_hdr (output)) { +igt_info ("%s connector not found with HDR metadata/max_bpc connector property\n" , output->name); +continue ; + } + +if (!igt_is_panel_hdr (data->fd, output)) { +igt_info ("Panel attached via %s connector is non-HDR\n" , output->name); +continue ; + } + +for_each_crtc (display, crtc) { +if (!igt_crtc_connector_valid (crtc, output)) +continue ; + +prepare_test (data, output, crtc); + +/* 10-bit formats are slow, so limit the size. */ + afb_id =igt_create_fb (data->fd,512 ,512 , +DRM_FORMAT_XRGB2101010 ,0 , &afb); +igt_assert (afb_id); + +draw_hdr_pattern (&afb); + +/* Start in the specified HDR mode. */ +igt_plane_set_fb (data->primary, &afb); +igt_plane_set_size (data->primary, data->w, data->h); +fill_metadata (&hdr); +igt_hdr_set_metadata (data->output, &hdr); +igt_output_set_prop_value (data->output, +IGT_CONNECTOR_MAX_BPC ,10 ); +igt_display_commit_atomic (display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); + +igt_info ("wait %s!\n" , mode_name); +igt_debug_wait_for_keypress (mode_name); + +/* Exit HDR mode and enter 8bpc, cleanup. */ +igt_hdr_set_metadata (data->output,NULL ); +igt_output_set_prop_value (data->output, +IGT_CONNECTOR_MAX_BPC ,8 ); +igt_display_commit_atomic (display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); + +igt_display_reset (display); +igt_remove_fb (data->fd, &afb); + + found = true; +break ; + } + } + +igt_require_f (found,"No connector found with HDR metadata/max_bpc connector property (or) panel is non-HDR\n" ); +} + +int igt_main () +{ +data_t data = {0 }; + + igt_fixture() { + data.fd =drm_open_driver_master (DRIVER_AMDGPU ); + +kmstest_set_vt_graphics_mode (); + +igt_display_require (&data.display, data.fd); +igt_require (data.display.is_atomic); + +igt_display_require_output (&data.display); + } + +igt_describe ("Tests swapping to SMPTE ST2084 HDR metadata" ); + igt_subtest("static-swap-smpte2084") +test_static_swap (&data, igt_hdr_fill_st2084,"smpte2084" ); + +igt_describe ("Tests swapping to traditional SDR gamma HDR metadata" ); + igt_subtest("static-swap-traditional-sdr") +test_static_swap (&data, igt_hdr_fill_sdr,"traditional-sdr" ); + + igt_fixture() { +igt_display_fini (&data.display); + } +}
tests/amdgpu/meson.build +7 -0
@@ -90,3 +90,10 @@ foreach prog : amdgpu_progs install : true) test_list += join_paths('amdgpu', prog) endforeach + +test_executables += executable('amd_hdr_visual', 'amd_hdr_visual.c', + dependencies : test_deps, + install_dir : amdgpudir, + install_rpath : amdgpudir_rpathdir, + install : true) +test_list += join_paths('amdgpu', 'amd_hdr_visual')
--
2.43.0
Patchwork
CI✓ Xe.CI.BAT: success for tests/amdgpu: Add amd_hdr_visual for manual HDR verification
== Series Details ==
== Series Details ==
Series: tests/amdgpu: Add amd_hdr_visual for manual HDR verification
URL : https://patchwork.freedesktop.org/series/166022/
State : success
== Summary ==
CI Bug Log - changes from XEIGT_8888_BAT -> XEIGTPW_15103_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (12 -> 12)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in XEIGTPW_15103_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_flip@basic-flip-vs-wf_vblank@c-edp1:
- bat-adlp-7: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#7483])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/bat-adlp-7/igt@kms_flip@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/bat-adlp-7/igt@kms_flip@[email protected]
#### Possible fixes ####
* igt@kms_flip@basic-flip-vs-wf_vblank@d-edp1:
- bat-adlp-7: [DMESG-WARN][3] ([Intel XE#7483]) -> [PASS][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/bat-adlp-7/igt@kms_flip@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/bat-adlp-7/igt@kms_flip@[email protected]
[Intel XE#7483]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7483
Build changes
-------------
* IGT: IGT_8888 -> IGTPW_15103
IGTPW_15103: 52b33f5e84c956d24ff4e06469a09141d6e883a7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8888: 77f31f709ee65bb20ad7d64d8aa012ba7688b112 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4990-835de80ce9b34b618442ba91483170201b50b553: 835de80ce9b34b618442ba91483170201b50b553
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/index.html
Patchwork
CI✗ i915.CI.BAT: failure for tests/amdgpu: Add amd_hdr_visual for manual HDR verification
In reply to Alex Hung== Series Details ==
== Series Details ==
Series: tests/amdgpu: Add amd_hdr_visual for manual HDR verification
URL : https://patchwork.freedesktop.org/series/166022/
State : failure
== Summary ==
CI Bug Log - changes from IGT_8888 -> IGTPW_15103
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_15103 absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_15103, 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_15103/index.html
Participating hosts (42 -> 38)
------------------------------
Missing (4): bat-dg2-13 fi-glk-j4005 fi-snb-2520m bat-adls-6
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_15103:
### IGT changes ###
#### Possible regressions ####
* igt@i915_selftest@live:
- bat-arls-5: [PASS][1] -> [DMESG-FAIL][2] +1 other test dmesg-fail
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8888/bat-arls-5/igt@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15103/bat-arls-5/igt@[email protected]
Known issues
------------
Here are the changes found in IGTPW_15103 that come from known issues:
### IGT changes ###
#### Possible fixes ####
* igt@i915_selftest@live:
- bat-dg2-8: [DMESG-FAIL][3] ([i915#12061]) -> [PASS][4] +1 other test pass
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8888/bat-dg2-8/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15103/bat-dg2-8/igt@[email protected]
* igt@i915_selftest@live@workarounds:
- bat-dg2-9: [DMESG-FAIL][5] ([i915#12061]) -> [PASS][6] +1 other test pass
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8888/bat-dg2-9/igt@i915_selftest@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15103/bat-dg2-9/igt@i915_selftest@[email protected]
- bat-dg2-14: [DMESG-FAIL][7] ([i915#12061]) -> [PASS][8] +1 other test pass
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8888/bat-dg2-14/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15103/bat-dg2-14/igt@i915_selftest@[email protected]
[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_8888 -> IGTPW_15103
CI-20190529: 20190529
CI_DRM_18417: 835de80ce9b34b618442ba91483170201b50b553 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_15103: 52b33f5e84c956d24ff4e06469a09141d6e883a7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8888: 77f31f709ee65bb20ad7d64d8aa012ba7688b112 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_15103/index.html
Patchwork
CI✗ Xe.CI.FULL: failure for tests/amdgpu: Add amd_hdr_visual for manual HDR verification
In reply to Alex Hung== Series Details ==
== Series Details ==
Series: tests/amdgpu: Add amd_hdr_visual for manual HDR verification
URL : https://patchwork.freedesktop.org/series/166022/
State : failure
== Summary ==
CI Bug Log - changes from XEIGT_8888_FULL -> XEIGTPW_15103_FULL
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with XEIGTPW_15103_FULL absolutely need to be verified manually.
If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_15103_FULL, please notify your bug team ([email protected]) to allow them to document this new failure mode, which will reduce false positives in CI.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in XEIGTPW_15103_FULL:
### IGT changes ###
#### Possible regressions ####
* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs@pipe-a-dp-2:
- shard-bmg: [PASS][1] -> [ABORT][2] +1 other test abort
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-1/igt@kms_ccs@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@kms_ccs@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-pri-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][3] +5 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-5/igt@kms_frontbuffer_tracking@fbcdrrshdr-2p-primscrn-pri-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][4]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
#### Warnings ####
* igt@kms_ccs@crc-primary-basic-4-tiled-bmg-ccs@pipe-a-edp-1:
- shard-lnl: [SKIP][5] ([Intel XE#2669] / [Intel XE#7389]) -> [ABORT][6] +1 other test abort
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-lnl-1/igt@kms_ccs@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@kms_ccs@[email protected]
* igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-cur-indfb-move:
- shard-lnl: [ABORT][7] -> [SKIP][8]
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-lnl-7/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@[email protected]
Known issues
------------
Here are the changes found in XEIGTPW_15103_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_async_flips@alternate-sync-async-flip-atomic:
- shard-bmg: [PASS][9] -> [FAIL][10] ([Intel XE#3718] / [Intel XE#6078])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-4/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
* igt@kms_async_flips@alternate-sync-async-flip-atomic@pipe-a-hdmi-a-3:
- shard-bmg: [PASS][11] -> [FAIL][12] ([Intel XE#6078]) +1 other test fail
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-4/igt@kms_async_flips@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@kms_async_flips@[email protected]
* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#1407])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2327]) +1 other test skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-32bpp-rotate-0:
- shard-lnl: NOTRUN -> [SKIP][15] ([Intel XE#1124]) +1 other test skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@kms_big_fb@y-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][16] ([Intel XE#1124]) +4 other tests skip
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-7/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-1920x1080p:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#7679]) +1 other test skip
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-3840x2160p:
- shard-lnl: NOTRUN -> [SKIP][18] ([Intel XE#7676])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-bmg-ccs@pipe-a-edp-1:
- shard-lnl: NOTRUN -> [SKIP][19] ([Intel XE#2669] / [Intel XE#7389]) +3 other tests skip
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@kms_ccs@[email protected]
* igt@kms_ccs@ccs-on-another-bo-4-tiled-mtl-mc-ccs:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#2887])
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@kms_ccs@ccs-on-another-bo-y-tiled-gen12-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2887]) +8 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-yf-tiled-ccs:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#3432]) +2 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#3432]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@kms_chamelium_edid@dp-edid-stress-resolution-4k:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#2252]) +5 other tests skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@kms_chamelium_hpd@hdmi-hpd:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#373]) +2 other tests skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0-suspend-resume:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#6974])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#6974])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
* igt@kms_cursor_crc@cursor-onscreen-128x42:
- shard-bmg: NOTRUN -> [SKIP][28] ([Intel XE#2320]) +3 other tests skip
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][29] ([Intel XE#1424])
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-legacy:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#309] / [Intel XE#7343]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-bmg: NOTRUN -> [SKIP][31] ([Intel XE#4354] / [Intel XE#5882])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#2244])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
* igt@kms_dsc@dsc-with-formats:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#2244])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
* igt@kms_fbcon_fbt@psr:
- shard-bmg: NOTRUN -> [SKIP][34] ([Intel XE#6126] / [Intel XE#776])
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
* igt@kms_feature_discovery@psr1:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#2374] / [Intel XE#6127])
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@kms_flip@2x-absolute-wf_vblank-interruptible:
- shard-lnl: NOTRUN -> [SKIP][36] ([Intel XE#1421])
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@kms_flip@2x-absolute-wf_vblank-interruptible.html
* igt@kms_flip@flip-vs-expired-vblank@a-edp1:
- shard-lnl: [PASS][37] -> [FAIL][38] ([Intel XE#301])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-lnl-2/igt@kms_flip@[email protected]
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-5/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#7178] / [Intel XE#7349])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling:
- shard-bmg: NOTRUN -> [SKIP][40] ([Intel XE#7178] / [Intel XE#7349]) +1 other test skip
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@kms_flip_scaled_crc@flip-64bpp-4tile-to-32bpp-4tiledg2rcccs-upscaling.html
* igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7178] / [Intel XE#7351])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@kms_flip_scaled_crc@flip-64bpp-ytile-to-32bpp-ytile-downscaling.html
* igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#7179])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@kms_flip_scaled_crc@flip-nv12-linear-to-nv12-linear-reflect-x.html
* igt@kms_frontbuffer_tracking@drrs-rgb565-draw-render:
- shard-lnl: NOTRUN -> [SKIP][43] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-1p-pri-indfb-multidraw:
- shard-bmg: NOTRUN -> [SKIP][44] ([Intel XE#4141]) +7 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrs-2p-rte:
- shard-lnl: NOTRUN -> [SKIP][45] ([Intel XE#656]) +8 other tests skip
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-msflip-blt:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#6312]) +4 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-shrfb-msflip-blt.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-rgb565-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#2311]) +36 other tests skip
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-spr-indfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][48] ([Intel XE#7865]) +6 other tests skip
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@kms_frontbuffer_tracking@fbchdr-1p-primscrn-spr-indfb-draw-blt.html
* igt@kms_frontbuffer_tracking@fbchdr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#7061]) +1 other test skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-7/igt@[email protected]
* igt@kms_frontbuffer_tracking@hdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#7061])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-2p-primscrn-indfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][51] ([Intel XE#2313]) +30 other tests skip
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#7061] / [Intel XE#7356]) +1 other test skip
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#7061] / [Intel XE#7356])
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
* igt@kms_hdmi_inject@inject-audio:
- shard-lnl: NOTRUN -> [SKIP][54] ([Intel XE#1470] / [Intel XE#2853])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@[email protected]
* igt@kms_pipe_stress@stress-xrgb8888-ytiled:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#4329] / [Intel XE#6912] / [Intel XE#7375])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-mtl-rc-ccs-cc-modifier:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#7283])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-5/igt@[email protected]
* igt@kms_plane@pixel-format-yf-tiled-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#7283]) +2 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@kms_plane_lowres@tiling-4:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#599] / [Intel XE#7382]) +3 other tests skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#5021] / [Intel XE#7377])
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
* igt@kms_plane_scaling@intel-max-src-size:
- shard-lnl: NOTRUN -> [SKIP][60] ([Intel XE#3307])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
* igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-5@pipe-a:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#2763] / [Intel XE#6886]) +3 other tests skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-5/igt@kms_plane_scaling@[email protected]
* igt@kms_pm_backlight@fade:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#7376] / [Intel XE#870])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@kms_pm_dc@dc6-dpms:
- shard-lnl: [PASS][63] -> [FAIL][64] ([Intel XE#7340])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-lnl-1/igt@[email protected]
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-sf:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#1489]) +3 other tests skip
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][66] ([Intel XE#2893] / [Intel XE#7304])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@[email protected]
* igt@kms_psr2_su@page_flip-p010:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#2387] / [Intel XE#7429])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@kms_psr2_su@page_flip-p010.html
* igt@kms_psr@fbc-pr-primary-render:
- shard-bmg: NOTRUN -> [SKIP][68] ([Intel XE#2234] / [Intel XE#2850]) +4 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#1406])
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@[email protected]
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#7795])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
* igt@kms_rotation_crc@primary-rotation-90:
- shard-bmg: NOTRUN -> [SKIP][71] ([Intel XE#3904] / [Intel XE#7342])
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#3414] / [Intel XE#3904] / [Intel XE#7342]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@kms_scaling_modes@scaling-mode-full-aspect:
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#2413])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@kms_sharpness_filter@invalid-filter-with-scaling-mode:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#6503]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@kms_vrr@flip-dpms:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#1499])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-7/igt@[email protected]
* igt@xe_eudebug@basic-client:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#7636]) +2 other tests skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@[email protected]
* igt@xe_eudebug_online@set-breakpoint-sigint-debugger:
- shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#7636]) +7 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@xe_evict@evict-large-external-cm:
- shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#6540] / [Intel XE#688]) +3 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][79] -> [INCOMPLETE][80] ([Intel XE#6321])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-9/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
* igt@xe_evict@evict-small-external-multi-queue-cm:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#7140])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
* igt@xe_exec_balancer@virtual-all-active:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#7482]) +3 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-5/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#2322] / [Intel XE#7372]) +5 other tests skip
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-basic-defer-mmap.html
* igt@xe_exec_basic@multigpu-no-exec-basic-defer-bind:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#1392]) +1 other test skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@[email protected]
* igt@xe_exec_fault_mode@many-multi-queue-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][85] ([Intel XE#7136]) +5 other tests skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-5/igt@[email protected]
* igt@xe_exec_fault_mode@once-multi-queue-prefetch:
- shard-lnl: NOTRUN -> [SKIP][86] ([Intel XE#7136]) +1 other test skip
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@xe_exec_multi_queue@few-execs-preempt-mode-basic-smem:
- shard-lnl: NOTRUN -> [SKIP][87] ([Intel XE#6874]) +4 other tests skip
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@xe_exec_multi_queue@many-execs-close-fd-smem:
- shard-bmg: NOTRUN -> [SKIP][88] ([Intel XE#6874]) +17 other tests skip
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@xe_exec_reset@cm-multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][89] ([Intel XE#7866]) +1 other test skip
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate-race:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#7138]) +5 other tests skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@xe_exec_threads@threads-multi-queue-mixed-userptr-invalidate-race.html
* igt@xe_exec_threads@threads-multi-queue-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][91] ([Intel XE#7138]) +2 other tests skip
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-atomic-op-prefetch:
- shard-lnl: NOTRUN -> [SKIP][92] ([Intel XE#6964])
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-1/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-migration-prefetch:
- shard-bmg: NOTRUN -> [SKIP][93] ([Intel XE#6964]) +1 other test skip
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-5/igt@[email protected]
* igt@xe_oa@oa-tlb-invalidate:
- shard-lnl: NOTRUN -> [SKIP][94] ([Intel XE#2248] / [Intel XE#7325] / [Intel XE#7393])
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#2248] / [Intel XE#7325] / [Intel XE#7393])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@xe_page_reclaim@binds-full-pd:
- shard-bmg: NOTRUN -> [SKIP][96] ([Intel XE#7793])
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#1420] / [Intel XE#7590])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- shard-bmg: NOTRUN -> [SKIP][98] ([Intel XE#2236] / [Intel XE#7590])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@xe_pm@d3cold-multiple-execs:
- shard-bmg: NOTRUN -> [SKIP][99] ([Intel XE#2284] / [Intel XE#7370]) +1 other test skip
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][100] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-2/igt@[email protected]
* igt@xe_pmu@fn-engine-activity-load:
- shard-lnl: NOTRUN -> [SKIP][101] ([Intel XE#4650] / [Intel XE#7347])
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-4/igt@[email protected]
* igt@xe_pxp@pxp-termination-key-update-post-termination-irq:
- shard-bmg: NOTRUN -> [SKIP][102] ([Intel XE#4733] / [Intel XE#7417])
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-6/igt@[email protected]
* igt@xe_query@multigpu-query-invalid-cs-cycles:
- shard-bmg: NOTRUN -> [SKIP][103] ([Intel XE#944]) +1 other test skip
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][104] ([Intel XE#944])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
* igt@xe_sriov_flr@flr-twice:
- shard-bmg: [PASS][105] -> [FAIL][106] ([Intel XE#6569]) +1 other test fail
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-7/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-9/igt@[email protected]
* igt@xe_sriov_vfio@open-basic:
- shard-lnl: NOTRUN -> [SKIP][107] ([Intel XE#7724])
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-8/igt@[email protected]
* igt@xe_vm@overcommit-nonfault-vram-lr-defer:
- shard-lnl: NOTRUN -> [SKIP][108] ([Intel XE#7892])
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-7/igt@[email protected]
#### Possible fixes ####
* igt@kms_ccs@crc-primary-suspend-4-tiled-bmg-ccs:
- shard-bmg: [INCOMPLETE][109] ([Intel XE#7084]) -> [PASS][110] +1 other test pass
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-1/igt@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-bmg: [DMESG-WARN][111] ([Intel XE#5354]) -> [PASS][112]
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-9/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-2/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][113] ([Intel XE#7571]) -> [PASS][114]
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-9/igt@[email protected]
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-8/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-edp1:
- shard-lnl: [FAIL][115] ([Intel XE#301] / [Intel XE#3149]) -> [PASS][116] +1 other test pass
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-lnl-3/igt@kms_flip@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-lnl-3/igt@kms_flip@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][117] ([Intel XE#6321]) -> [PASS][118]
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-7/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-10/igt@[email protected]
* igt@xe_sriov_vram@vf-access-after-resize-up:
- shard-bmg: [FAIL][119] ([Intel XE#5937]) -> [PASS][120] +2 other tests pass
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-2/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
#### Warnings ####
* igt@kms_frontbuffer_tracking@drrshdr-2p-primscrn-cur-indfb-move:
- shard-bmg: [ABORT][121] -> [SKIP][122] ([Intel XE#2311])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-2/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@kms_hdr@brightness-with-hdr:
- shard-bmg: [SKIP][123] ([Intel XE#3544]) -> [SKIP][124] ([Intel XE#3374] / [Intel XE#3544])
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-2/igt@[email protected]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-1/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][125] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][126] ([Intel XE#2509] / [Intel XE#7437])
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8888/shard-bmg-1/igt@[email protected]
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/shard-bmg-4/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1420]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1420
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1470]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1470
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2236]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2236
[Intel XE#2244]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2244
[Intel XE#2248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2248
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2374
[Intel XE#2387]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2387
[Intel XE#2413]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2413
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2669]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2669
[Intel XE#2763]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2763
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2853]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2853
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3307]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3307
[Intel XE#3374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3374
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#3544]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3544
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4329]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4329
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4650]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4650
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[Intel XE#5937]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5937
[Intel XE#599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/599
[Intel XE#6078]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6078
[Intel XE#6126]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6126
[Intel XE#6127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6127
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6569]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6569
[Intel XE#6874]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6874
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6886]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6886
[Intel XE#6912]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6912
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7084]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7084
[Intel XE#7136]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7136
[Intel XE#7138]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7138
[Intel XE#7140]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7140
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7325
[Intel XE#7340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7340
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7347]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7347
[Intel XE#7349]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7349
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7375]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7375
[Intel XE#7376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7376
[Intel XE#7377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7377
[Intel XE#7382]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7382
[Intel XE#7389]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7389
[Intel XE#7393]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7393
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7429]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7429
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7676]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7676
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7724
[Intel XE#776]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/776
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7795]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7795
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7866]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7866
[Intel XE#7892]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7892
[Intel XE#870]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/870
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* IGT: IGT_8888 -> IGTPW_15103
IGTPW_15103: 52b33f5e84c956d24ff4e06469a09141d6e883a7 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
IGT_8888: 77f31f709ee65bb20ad7d64d8aa012ba7688b112 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
xe-4990-835de80ce9b34b618442ba91483170201b50b553: 835de80ce9b34b618442ba91483170201b50b553
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_15103/index.html
Hi Alex
Can't this be part of kms_hdr?
Quoted 219 lines · Alex Hung
From: Wayne Lin <[email protected]>
Add a visual verification test for AMD HDR display output. This test displays HDR test patterns with different metadata types and waits for user confirmation, enabling manual inspection of HDR output quality.
Subtests:
- static-swap-smpte2084: Display with SMPTE ST2084 (PQ) HDR metadata
- static-swap-traditional-sdr: Display with traditional SDR gamma metadataCo-developed-by Alex Hung <[email protected]>Signed-off-by Alex Hung <[email protected]>Signed-off-by Wayne Lin <[email protected]>--- tests/amdgpu/amd_hdr_visual.c | 176 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 7 ++ 2 files changed, 183 insertions(+)create mode 100644
tests/amdgpu/amd_hdr_visual.ctests/amdgpu/amd_hdr_visual.c new file +176
-0@@ -0,0 +1,176 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2026 Advanced Micro Devices, Inc. +*/ + +#include "igt.h" +#include "igt_hdr.h" + +/** +* TEST: AMD manual HDR visual tests +* Description: Test HDR metadata interfaces by showing visual HDR patterns +* Driver requirement: amdgpu +* Mega-feature: Display +* Sub-category: HDR +* +* SUBTEST: static-swap-smpte2084 +* Description: Show a visual HDR pattern with SMPTE ST2084 metadata and +* require user confirmation. +* +* SUBTEST: static-swap-traditional-sdr +* Description: Show a visual HDR pattern with traditional SDR gamma metadata +* and require user confirmation. +*/ +IGT_TEST_DESCRIPTION ("Test HDR output metadata visual verification" ); + +/* Common test data. */ +typedef struct data { +igt_display_t display; +igt_plane_t *primary; +igt_output_t *output; +igt_crtc_t *crtc; +drmModeModeInfo *mode; +int fd; +int w; +int h; +}data_t ; + +/* Fills the FB with a test HDR pattern. */ +static void draw_hdr_pattern (igt_fb_t *fb) +{ +cairo_t *cr =igt_get_cairo_ctx (fb->fd, fb); + +igt_paint_color (cr,0 ,0 , fb->width, fb->height,1.0 ,1.0 ,1.0 ); +igt_paint_test_pattern (cr, fb->width, fb->height); + +igt_put_cairo_ctx (cr); +} + +/* Prepare test data. */ +static void prepare_test (data_t *data,igt_output_t *output,igt_crtc_t *crtc) +{ +igt_display_t *display = &data->display; + + data->crtc = crtc; +igt_assert (data->crtc); + +igt_display_reset (display); + + data->output = output; +igt_assert (data->output); + + data->mode =igt_output_get_mode (data->output); +igt_assert (data->mode); + + data->primary = +igt_crtc_get_plane_type (data->crtc,DRM_PLANE_TYPE_PRIMARY ); + +igt_output_set_crtc (data->output, crtc); + + data->w = data->mode->hdisplay; + data->h = data->mode->vdisplay; +} + +/* Returns true if an output supports max bpc property. */ +static bool has_max_bpc (igt_output_t *output) +{ +return igt_output_has_prop (output,IGT_CONNECTOR_MAX_BPC ) && +igt_output_get_prop (output,IGT_CONNECTOR_MAX_BPC ); +} + +static void test_static_swap (data_t *data, +void (*fill_metadata)(struct hdr_output_metadata *), +const char *mode_name) +{ +igt_display_t *display = &data->display; +igt_output_t *output; +igt_crtc_t *crtc; +igt_fb_t afb; +int afb_id; +bool found = false; +struct hdr_output_metadata hdr; + +for_each_connected_output (display, output) { +if (!has_max_bpc (output) || !igt_output_supports_hdr (output)) { +igt_info ("%s connector not found with HDR metadata/max_bpc connector property\n" , output->name); +continue ; + } + +if (!igt_is_panel_hdr (data->fd, output)) { +igt_info ("Panel attached via %s connector is non-HDR\n" , output->name); +continue ; + } + +for_each_crtc (display, crtc) { +if (!igt_crtc_connector_valid (crtc, output)) +continue ; + +prepare_test (data, output, crtc); + +/* 10-bit formats are slow, so limit the size. */ + afb_id =igt_create_fb (data->fd,512 ,512 , +DRM_FORMAT_XRGB2101010 ,0 , &afb); +igt_assert (afb_id); + +draw_hdr_pattern (&afb); + +/* Start in the specified HDR mode. */ +igt_plane_set_fb (data->primary, &afb); +igt_plane_set_size (data->primary, data->w, data->h); +fill_metadata (&hdr); +igt_hdr_set_metadata (data->output, &hdr); +igt_output_set_prop_value (data->output, +IGT_CONNECTOR_MAX_BPC ,10 ); +igt_display_commit_atomic (display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); + +igt_info ("wait %s!\n" , mode_name); +igt_debug_wait_for_keypress (mode_name); + +/* Exit HDR mode and enter 8bpc, cleanup. */ +igt_hdr_set_metadata (data->output,NULL ); +igt_output_set_prop_value (data->output, +IGT_CONNECTOR_MAX_BPC ,8 ); +igt_display_commit_atomic (display, +DRM_MODE_ATOMIC_ALLOW_MODESET , +NULL ); + +igt_display_reset (display); +igt_remove_fb (data->fd, &afb); + + found = true; +break ; + } + } + +igt_require_f (found,"No connector found with HDR metadata/max_bpc connector property (or) panel is non-HDR\n" ); +} + +int igt_main () +{ +data_t data = {0 }; + + igt_fixture() { + data.fd =drm_open_driver_master (DRIVER_AMDGPU ); + +kmstest_set_vt_graphics_mode (); + +igt_display_require (&data.display, data.fd); +igt_require (data.display.is_atomic); + +igt_display_require_output (&data.display); + } + +igt_describe ("Tests swapping to SMPTE ST2084 HDR metadata" ); + igt_subtest("static-swap-smpte2084") +test_static_swap (&data, igt_hdr_fill_st2084,"smpte2084" ); + +igt_describe ("Tests swapping to traditional SDR gamma HDR metadata" ); + igt_subtest("static-swap-traditional-sdr") +test_static_swap (&data, igt_hdr_fill_sdr,"traditional-sdr" ); + + igt_fixture() { +igt_display_fini (&data.display); + } +}tests/amdgpu/meson.build +7
-1@@ -90,3 +90,10 @@ foreach prog : amdgpu_progs install : true) test_list += join_paths('amdgpu', prog) endforeach + +test_executables += executable('amd_hdr_visual', 'amd_hdr_visual.c', + dependencies : test_deps, + install_dir : amdgpudir, + install_rpath : amdgpudir_rpathdir, + install : true) +test_list += join_paths('amdgpu', 'amd_hdr_visual') --2.43.0
Quoted 3 lines · On 5/6/26 05:43, Sharma, Swati2 wrote:
Hi Alex
Can't this be part of
kms_hdr?
Hi Swati,
I thought about it but it may not suitable for kms_hdr for two reasons:
1. it now checks amd driver and it has never been tested on non-AMD devices. I'd be happy to remove AMD dependency if it works on non-AMD devices.
2. This test is for manual verification. It pauses for a key press to continue, so it can interrupt kms_hdr workflow.
Quoted 229 lines · Alex Hung
Quoted 227 lines
From: Wayne Lin <[email protected]>
Add a visual verification test for AMD HDR display output. This test displays HDR test patterns with different metadata types and waits for user confirmation, enabling manual inspection of HDR output quality.
Subtests:
- static-swap-smpte2084: Display with SMPTE ST2084 (PQ) HDR metadata
- static-swap-traditional-sdr: Display with traditional SDR gamma metadataCo-developed-by Alex Hung <[email protected]>Signed-off-by Alex Hung <[email protected]>Signed-off-by Wayne Lin <[email protected]>---
tests/amdgpu/amd_hdr_visual.c| 176 ++++++++++++++++++++++++++++++++++ tests/amdgpu/meson.build | 7 ++2 files changed, 183 insertions(+)create mode 100644
tests/amdgpu/amd_hdr_visual.ctests/amdgpu/amd_hdr_visual.c new file +11
-0@@ -0,0 +1,176 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2026 Advanced Micro Devices, Inc. +*/ + +#include "igt.h" +#include "igt_hdr.h" + +/** +* TEST: AMD manual HDR visual tests +* Description: Test HDR metadata interfaces by showing visual HDR patterns
+ * Driver requirement: amdgpu
+ * Mega-feature: Display
+ * Sub-category: HDR
+ *
+ * SUBTEST: static-swap-smpte2084
+ * Description: Show a visual HDR pattern with SMPTE ST2084 metadata and
+ * require user confirmation.
+ *
+ * SUBTEST: static-swap-traditional-sdr
+ * Description: Show a visual HDR pattern with traditional SDR gamma metadata
+ * and require user confirmation.
+ */tests/amdgpu/amd_hdr_visual.c new file +27
-0+IGT_TEST_DESCRIPTION ("Test HDR output metadata visual verification" ); + +/* Common test data. */ +typedef struct data { + igt_display_t display; + igt_plane_t *primary; + igt_output_t *output; + igt_crtc_t *crtc; + drmModeModeInfo *mode; + int fd; + int w; + int h; +}data_t ; + +/* Fills the FB with a test HDR pattern. */ +static void draw_hdr_pattern (igt_fb_t *fb) +{ + cairo_t *cr = igt_get_cairo_ctx(fb->fd, fb); + + igt_paint_color(cr, 0, 0, fb->width, fb->height, 1.0, 1.0, 1.0); + igt_paint_test_pattern(cr, fb->width, fb->height); + + igt_put_cairo_ctx(cr); +} + +/* Prepare test data. */ +static void prepare_test(data_t *data, igt_output_t *output,
igt_crtc_t*crtc)tests/amdgpu/amd_hdr_visual.c new file +45
-0+{ + igt_display_t *display = &data->display; + + data->crtc = crtc; + igt_assert(data->crtc); + + igt_display_reset(display); + + data->output = output; + igt_assert(data->output); + + data->mode = igt_output_get_mode(data->output); + igt_assert(data->mode); + + data->primary = + igt_crtc_get_plane_type(data->crtc, DRM_PLANE_TYPE_PRIMARY); + + igt_output_set_crtc(data->output, crtc); + + data->w = data->mode->hdisplay; + data->h = data->mode->vdisplay; +} + +/* Returns true if an output supports max bpc property. */ +static bool has_max_bpc (igt_output_t *output) +{ + return igt_output_has_prop(output, IGT_CONNECTOR_MAX_BPC) && + igt_output_get_prop(output, IGT_CONNECTOR_MAX_BPC); +} + +static void test_static_swap (data_t *data, + void (*fill_metadata)(struct hdr_output_metadata *), + const char *mode_name) +{ + igt_display_t *display = &data->display; + igt_output_t *output; + igt_crtc_t *crtc; + igt_fb_t afb; + int afb_id; + bool found = false; + struct hdr_output_metadata hdr; + + for_each_connected_output(display, output) { + if (!has_max_bpc(output) || !igt_output_supports_hdr(output)) { + igt_info("%s connector not found with HDR metadata/
max_bpcconnector property\n",output->name);
+ continue;
+ }
+
+ if (!igt_is_panel_hdr(data->fd, output)) {
+igt_info("Panel attached via %s connector is non-HDR\n", output->name);
+ continue;
+ }tests/amdgpu/amd_hdr_visual.c new file +45
-0+ + for_each_crtc(display, crtc) { + if (!igt_crtc_connector_valid(crtc, output)) + continue; + + prepare_test(data, output, crtc); + + /* 10-bit formats are slow, so limit the size. */ + afb_id = igt_create_fb(data->fd, 512, 512, + DRM_FORMAT_XRGB2101010, 0, &afb); + igt_assert(afb_id); + + draw_hdr_pattern(&afb); + + /* Start in the specified HDR mode. */ + igt_plane_set_fb(data->primary, &afb); + igt_plane_set_size(data->primary, data->w, data->h); + fill_metadata(&hdr); + igt_hdr_set_metadata(data->output, &hdr); + igt_output_set_prop_value(data->output, + IGT_CONNECTOR_MAX_BPC, 10); + igt_display_commit_atomic(display, + DRM_MODE_ATOMIC_ALLOW_MODESET, + NULL); + + igt_info("wait %s!\n", mode_name); + igt_debug_wait_for_keypress(mode_name); + + /* Exit HDR mode and enter 8bpc, cleanup. */ + igt_hdr_set_metadata(data->output, NULL); + igt_output_set_prop_value(data->output, + IGT_CONNECTOR_MAX_BPC, 8); + igt_display_commit_atomic(display, + DRM_MODE_ATOMIC_ALLOW_MODESET, + NULL); + + igt_display_reset(display); + igt_remove_fb(data->fd, &afb); + + found = true; + break; + } + } + + igt_require_f(found, "No connector found with HDR metadata/
max_bpcconnector property (or) panel is non-HDR\n");tests/amdgpu/amd_hdr_visual.c new file +22
-0+} + +int igt_main () +{ + data_t data = { 0 }; + + igt_fixture() { + data.fd = drm_open_driver_master(DRIVER_AMDGPU); + + kmstest_set_vt_graphics_mode(); + + igt_display_require(&data.display, data.fd); + igt_require(data.display.is_atomic); + + igt_display_require_output(&data.display); + } + + igt_describe("Tests swapping to SMPTE ST2084 HDR metadata"); + igt_subtest("static-swap-smpte2084") + test_static_swap(&data, igt_hdr_fill_st2084, "smpte2084"); + + igt_describe("Tests swapping to traditional SDR gamma HDRmetadata");
+igt_subtest("static-swap-traditional-sdr")
+test_static_swap(&data, igt_hdr_fill_sdr, "traditional-sdr");tests/amdgpu/amd_hdr_visual.c new file +5
-0+ + igt_fixture() { + igt_display_fini(&data.display); + } +}tests/amdgpu/meson.build +0
-0@@ -90,3 +90,10 @@ foreach prog : amdgpu_progs install : true) test_list += join_paths('amdgpu', prog)endforeach
tests/amdgpu/meson.build +7
-0+ +test_executables += executable('amd_hdr_visual', 'amd_hdr_visual.c', + dependencies : test_deps, + install_dir : amdgpudir, + install_rpath : amdgpudir_rpathdir, + install : true) +test_list += join_paths('amdgpu', 'amd_hdr_visual')Signature · 1 line
2.43.0
Hi Alex,
Quoted 5 lines · Alex Hung
Quoted 2 lines · On 5/6/26 05:43, Sharma, Swati2 wrote:
Hi Alex
Quoted 7 lines
Quoted 1 line
Can't this be part of
kms_hdr?Hi Swati,
I thought about it but it may not suitable for
kms_hdrfor two reasons:1. it now checks amd driver and it has never been tested on non-AMD devices. I'd be happy to remove AMD dependency if it works on non-AMD devices.
If its okay with you, can you add these tests to kms_hdr. I will get this tested on intel devices.
Quoted 2 lines
2. This test is for manual verification. It pauses for a key press to continue, so it can interrupt
kms_hdrworkflow.
We do have such tests in IGT like kms_dsc.
Quoted 234 lines
Quoted 233 lines · Alex Hung
Quoted 230 lines
From: Wayne Lin <[email protected]>
Add a visual verification test for AMD HDR display output. This test displays HDR test patterns with different metadata types and waits for user confirmation, enabling manual inspection of HDR output quality.
Subtests:
- static-swap-smpte2084: Display with SMPTE ST2084 (PQ) HDR metadata
- static-swap-traditional-sdr: Display with traditional SDR gamma metadataCo-developed-by Alex Hung <[email protected]>Signed-off-by Alex Hung <[email protected]>Signed-off-by Wayne Lin <[email protected]>---
tests/amdgpu/amd_hdr_visual.c| 176
++++++++++++++++++++++++++++++++++
tests/amdgpu/meson.build | 7 ++2 files changed, 183 insertions(+)create mode 100644
tests/amdgpu/amd_hdr_visual.ctests/amdgpu/amd_hdr_visual.c new file +11
-0@@ -0,0 +1,176 @@ +// SPDX-License-Identifier: MIT +/* +* Copyright 2026 Advanced Micro Devices, Inc. +*/ + +#include "igt.h" +#include "igt_hdr.h" + +/** +* TEST: AMD manual HDR visual tests +* Description: Test HDR metadata interfaces by showing visual HDR patterns
+ * Driver requirement: amdgpu
+ * Mega-feature: Display
+ * Sub-category: HDR
+ *
+ * SUBTEST: static-swap-smpte2084
+ * Description: Show a visual HDR pattern with SMPTE ST2084 metadata and
+ * require user confirmation.
+ *
+ * SUBTEST: static-swap-traditional-sdr
+ * Description: Show a visual HDR pattern with traditional SDR gamma metadata
+ * and require user confirmation.
+ */tests/amdgpu/amd_hdr_visual.c new file +27
-0+IGT_TEST_DESCRIPTION ("Test HDR output metadata visual verification" ); + +/* Common test data. */ +typedef struct data { + igt_display_t display; + igt_plane_t *primary; + igt_output_t *output; + igt_crtc_t *crtc; + drmModeModeInfo *mode; + int fd; + int w; + int h; +}data_t ; + +/* Fills the FB with a test HDR pattern. */ +static void draw_hdr_pattern (igt_fb_t *fb) +{ + cairo_t *cr = igt_get_cairo_ctx(fb->fd, fb); + + igt_paint_color(cr, 0, 0, fb->width, fb->height, 1.0, 1.0, 1.0); + igt_paint_test_pattern(cr, fb->width, fb->height); + + igt_put_cairo_ctx(cr); +} + +/* Prepare test data. */ +static void prepare_test(data_t *data, igt_output_t *output,
igt_crtc_t*crtc)tests/amdgpu/amd_hdr_visual.c new file +44
-0+{ + igt_display_t *display = &data->display; + + data->crtc = crtc; + igt_assert(data->crtc); + + igt_display_reset(display); + + data->output = output; + igt_assert(data->output); + + data->mode = igt_output_get_mode(data->output); + igt_assert(data->mode); + + data->primary = + igt_crtc_get_plane_type(data->crtc, DRM_PLANE_TYPE_PRIMARY); + + igt_output_set_crtc(data->output, crtc); + + data->w = data->mode->hdisplay; + data->h = data->mode->vdisplay; +} + +/* Returns true if an output supports max bpc property. */ +static bool has_max_bpc (igt_output_t *output) +{ + return igt_output_has_prop(output, IGT_CONNECTOR_MAX_BPC) && + igt_output_get_prop(output, IGT_CONNECTOR_MAX_BPC); +} + +static void test_static_swap (data_t *data, + void (*fill_metadata)(struct hdr_output_metadata *), + const char *mode_name) +{ + igt_display_t *display = &data->display; + igt_output_t *output; + igt_crtc_t *crtc; + igt_fb_t afb; + int afb_id; + bool found = false; + struct hdr_output_metadata hdr; + + for_each_connected_output(display, output) { + if (!has_max_bpc(output) ||!igt_output_supports_hdr(output)) {
+igt_info("%s connector not found with HDR metadata/ max_bpc connector property\n", output->name);
+ continue;
+ }
+
+ if (!igt_is_panel_hdr(data->fd, output)) {
+igt_info("Panel attached via %s connector is non-HDR\n", output->name);
+ continue;
+ }tests/amdgpu/amd_hdr_visual.c new file +45
-0+ + for_each_crtc(display, crtc) { + if (!igt_crtc_connector_valid(crtc, output)) + continue; + + prepare_test(data, output, crtc); + + /* 10-bit formats are slow, so limit the size. */ + afb_id = igt_create_fb(data->fd, 512, 512, + DRM_FORMAT_XRGB2101010, 0, &afb); + igt_assert(afb_id); + + draw_hdr_pattern(&afb); + + /* Start in the specified HDR mode. */ + igt_plane_set_fb(data->primary, &afb); + igt_plane_set_size(data->primary, data->w, data->h); + fill_metadata(&hdr); + igt_hdr_set_metadata(data->output, &hdr); + igt_output_set_prop_value(data->output, + IGT_CONNECTOR_MAX_BPC, 10); + igt_display_commit_atomic(display, + DRM_MODE_ATOMIC_ALLOW_MODESET, + NULL); + + igt_info("wait %s!\n", mode_name); + igt_debug_wait_for_keypress(mode_name); + + /* Exit HDR mode and enter 8bpc, cleanup. */ + igt_hdr_set_metadata(data->output, NULL); + igt_output_set_prop_value(data->output, + IGT_CONNECTOR_MAX_BPC, 8); + igt_display_commit_atomic(display, + DRM_MODE_ATOMIC_ALLOW_MODESET, + NULL); + + igt_display_reset(display); + igt_remove_fb(data->fd, &afb); + + found = true; + break; + } + } + + igt_require_f(found, "No connector found with HDR metadata/
max_bpcconnector property (or) panel is non-HDR\n");tests/amdgpu/amd_hdr_visual.c new file +22
-0+} + +int igt_main () +{ + data_t data = { 0 }; + + igt_fixture() { + data.fd = drm_open_driver_master(DRIVER_AMDGPU); + + kmstest_set_vt_graphics_mode(); + + igt_display_require(&data.display, data.fd); + igt_require(data.display.is_atomic); + + igt_display_require_output(&data.display); + } + + igt_describe("Tests swapping to SMPTE ST2084 HDR metadata"); + igt_subtest("static-swap-smpte2084") + test_static_swap(&data, igt_hdr_fill_st2084, "smpte2084"); + + igt_describe("Tests swapping to traditional SDR gamma HDRmetadata");
+igt_subtest("static-swap-traditional-sdr")
+test_static_swap(&data, igt_hdr_fill_sdr, "traditional-sdr");tests/amdgpu/amd_hdr_visual.c new file +5
-0+ + igt_fixture() { + igt_display_fini(&data.display); + } +}tests/amdgpu/meson.build +0
-0@@ -90,3 +90,10 @@ foreach prog : amdgpu_progs install : true) test_list += join_paths('amdgpu', prog)endforeach
tests/amdgpu/meson.build +7
-0+ +test_executables += executable('amd_hdr_visual', 'amd_hdr_visual.c', + dependencies : test_deps, + install_dir : amdgpudir, + install_rpath : amdgpudir_rpathdir, + install : true) +test_list += join_paths('amdgpu', 'amd_hdr_visual')Signature · 1 line
2.43.0