All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] tools: rename HDMI compliance utility
@ 2026-08-27 18:53 Swati Sharma
  2026-08-27 21:13 ` ✓ Xe.CI.BAT: success for " Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Swati Sharma @ 2026-08-27 18:53 UTC (permalink / raw)
  To: igt-dev; +Cc: chaitanya.kumar.borah, Swati Sharma

Rename the AMD-specific HDMI compliance utility to a generic
igt_hdmi_compliance binary and update the build rule.

Keep the existing AMD debugfs flow for pixel-format forcing. Skip
that operation on Intel devices until a driver-supported interface
for selecting the pixel encoding is available.

Assisted-by: GitHub Copilot:Claude Opus 4.6
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
---
 tools/{amd_hdmi_compliance.c => igt_hdmi_compliance.c} | 9 ++++++---
 tools/meson.build                                      | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)
 rename tools/{amd_hdmi_compliance.c => igt_hdmi_compliance.c} (99%)

diff --git a/tools/amd_hdmi_compliance.c b/tools/igt_hdmi_compliance.c
similarity index 99%
rename from tools/amd_hdmi_compliance.c
rename to tools/igt_hdmi_compliance.c
index 2af4c0bab..ece0abd1d 100644
--- a/tools/amd_hdmi_compliance.c
+++ b/tools/igt_hdmi_compliance.c
@@ -833,12 +833,15 @@ static void force_pixel_format(data_t *data, int pixel_format, int conn_id)
 
 	test_init(data, conn_id);
 
-	fd = igt_debugfs_connector_dir(data->fd, data->output->name, O_RDONLY);
-	igt_assert(fd >= 0);
-
 	igt_info("Setting %d on connector id %d\n",
 			pixel_format, data->output->config.connector->connector_id);
 
+	igt_skip_on_f(is_intel_device(data->fd),
+			      "pixel-format forcing is not supported on Intel devices\n");
+
+	fd = igt_debugfs_connector_dir(data->fd, data->output->name, O_RDONLY);
+	igt_assert(fd >= 0);
+
 	switch (pixel_format) {
 	case 1:
 		entry_name = "force_rgb_output";
diff --git a/tools/meson.build b/tools/meson.build
index fbc6c0a00..68c31da92 100644
--- a/tools/meson.build
+++ b/tools/meson.build
@@ -183,7 +183,7 @@ executable('intel_gpu_top', 'intel_gpu_top.c',
 	   dependencies : [lib_igt_perf,lib_igt_device_scan,lib_igt_drm_clients,lib_igt_drm_fdinfo,
 	                   lib_igt_drm_stub, lib_igt_tools_stub, math])
 
-executable('amd_hdmi_compliance', 'amd_hdmi_compliance.c',
+executable('igt_hdmi_compliance', 'igt_hdmi_compliance.c',
 	   dependencies : [tool_deps],
 	   install_rpath : bindir_rpathdir,
 	   install : true)
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-09-01 16:42 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-27 18:53 [PATCH i-g-t] tools: rename HDMI compliance utility Swati Sharma
2026-08-27 21:13 ` ✓ Xe.CI.BAT: success for " Patchwork
2026-08-27 21:26 ` ✓ i915.CI.BAT: " Patchwork
2026-08-27 23:17 ` ✓ Xe.CI.FULL: " Patchwork
2026-08-28  3:23 ` ✗ i915.CI.Full: failure " Patchwork
2026-08-28  9:58 ` [PATCH i-g-t] " Kamil Konieczny
2026-08-28 11:04   ` vitaly prosyak
2026-08-28 13:35     ` Harry Wentland
2026-08-28 14:53       ` Zuo, Jerry
2026-08-28 14:56         ` vitaly prosyak
2026-09-01  8:43           ` Sharma, Swati2
2026-09-01 15:13             ` vitaly prosyak
2026-09-01 16:41               ` Kamil Konieczny
2026-09-01 15:03 ` Harry Wentland

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.