Skip to contentSkip to conversation

tools/gputop: Add GPU frequencies to the client headers

PATCH In review S Sebinraj 4 participants 7 messages Feb 11 – Mar 5

lore
Share & tools
lore

S Sebinraj

author
#0 lore raw

PATCH v9 1/1 tools/gputop: Add GPU frequencies to the client headers

Enhance gputop to display GPU frequency information (current/actual) for each GT in the client header line alongside the DRM minor number.

Key changes:
- Add get_gt_frequencies() function to read GT frequency values
- Support both i915 and Xe drivers using appropriate sysfs paths
- Display format: "DRM minor X Freq(cur/act) GT0-freq/freq GT1-freq/freq"
- Driver-agnostic sysfs access

The frequency information helps users monitor GPU performance states in real-time while observing client workload utilization.

Example output:
DRM minor 0 Frequency GT0-1800/1800 GT1-400/400
DRM minor 128 Frequency GT0-400/400 GT1-400/400

v2:
- To use macro to suffix strings
- To skip failure loops

v3:
- To keep error logs

v4:
- Removed RFC from Subject

v5:
- Fallback to normal sysfs read instead of using lib api's as it increased the dependencies highly

v6:
- Remove driver specific logging
- Change function name to this regard

v7:
- Move intel specific code away from generic funcs
- Add func to check which driver is bound
- Space correction in strings

v8:
- Correct code for driver identification
by adding a function for sysfs prefix

v9:
- Modify function names
- Proper return of gt_count value
- Comment correction

---
 tools/gputop.c | 197 ++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 195 insertions(+), 2 deletions(-)
tools/gputop.c +195 -2
index f577a1750..c45465eaa 100644
@@ -30,13 +30,20 @@
 #include "igt_drm_clients.h"
 #include "igt_drm_fdinfo.h"
 #include "igt_profiling.h"
-#include "drmtest.h"
 
 enum utilization_type {
 	UTILIZATION_TYPE_ENGINE_TIME,
 	UTILIZATION_TYPE_TOTAL_CYCLES,
 };
 
+enum intel_driver_type {
+	INTEL_DRIVER_I915,
+	INTEL_DRIVER_XE,
+	INTEL_DRIVER_UNKNOWN,
+};
+
+#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
+
 static const char *bars[] = { " ", "▏", "▎", "▍", "▌", "▋", "▊", "▉", "█" };
 
 #define ANSI_HEADER "\033[7m"
@@ -76,17 +83,203 @@ static void print_percentage_bar(double percent, int max_len)
 	putchar('|');
 }
 
+/* Get the correct sysfs prefix based on DRM minor number */
+static const char *get_sysfs_drm_path(unsigned int drm_minor)
+{
+	return drm_minor >= 128 ? "/sys/class/drm/renderD" : "/sys/class/drm/card";
+}
+
+/* Detect which driver is bound to the device */
+static bool is_bound(unsigned int drm_minor, const char *driver_name)
+{
+	char path[256];
+	char link[256];
+	char *driver;
+	ssize_t len;
+
+	/* Read the driver symlink */
+	snprintf(path, sizeof(path), "%s%u/device/driver", 
+		 get_sysfs_drm_path(drm_minor), drm_minor);
+	len = readlink(path, link, sizeof(link) - 1);
+	if (len == -1)
+		return false;
+
+	link[len] = '\0';
+
+	/* Extract driver name from path (e.g., "bus/pci/drivers/i915" -> "i915") */
+	driver = strrchr(link, '/');
+	if (!driver)
+		return false;
+
+	driver++; /* Skip the '/' */
+	
+	return strcmp(driver, driver_name) == 0;
+}
+
+/* Detect if this is an Intel device (i915 or Xe) */
+static bool is_intel_device(unsigned int drm_minor)
+{
+	return is_bound(drm_minor, "i915") || is_bound(drm_minor, "xe");
+}
+
+/* Detect Intel driver variant */
+static enum intel_driver_type detect_intel_driver(unsigned int drm_minor)
+{
+	if (is_bound(drm_minor, "xe"))
+		return INTEL_DRIVER_XE;
+	else if (is_bound(drm_minor, "i915"))
+		return INTEL_DRIVER_I915;
+
+	return INTEL_DRIVER_UNKNOWN;
+}
+
+/* Count the number of GTs by checking which gt* directories exist */
+static int get_num_gts(unsigned int drm_minor, enum intel_driver_type driver_type)
+{
+	char path[256];
+	struct stat st;
+	int gt_count = 0;
+
+	/* Check for gt0, gt1, gt2, etc. up to a reasonable maximum */
+	for (int i = 0; i < 8; i++) {
+		if (driver_type == INTEL_DRIVER_XE)
+			/* For Xe, all GTs are under tile0 */
+			snprintf(path, sizeof(path), "%s%u/device/tile0/gt%d",
+				 get_sysfs_drm_path(drm_minor), drm_minor, i);
+		else /* i915 */
+			snprintf(path, sizeof(path), "%s%u/gt/gt%d",
+				 get_sysfs_drm_path(drm_minor), drm_minor, i);
+
+		if (stat(path, &st) == 0 && S_ISDIR(st.st_mode))
+			gt_count++;
+		else
+			break;  /* Assume GTs are numbered sequentially */
+	}
+
+	return gt_count;
+}
+
+/* Read a single frequency value from sysfs */
+static bool read_freq_value(const char *path, unsigned int *freq)
+{
+	FILE *fp;
+	char buf[32];
+	bool success = false;
+
+	fp = fopen(path, "r");
+	if (fp) {
+		if (fgets(buf, sizeof(buf), fp)) {
+			*freq = atoi(buf);
+			success = true;
+		}
+		fclose(fp);
+	}
+
+	return success;
+}
+
+/* Intel-specific frequency reading for i915/Xe drivers */
+static char *get_intel_frequencies(unsigned int drm_minor)
+{
+	char freq_str[512] = "";
+	char gt_info[64];
+	int num_gts;
+	int gt;
+	enum intel_driver_type driver_type;
+	bool first = true;
+
+	/* Detect Intel driver variant */
+	driver_type = detect_intel_driver(drm_minor);
+	if (driver_type == INTEL_DRIVER_UNKNOWN)
+		return NULL;
+
+	/* Get GT count from sysfs */
+	num_gts = get_num_gts(drm_minor, driver_type);
+	if (num_gts == 0)
+		return NULL;
+
+	/* Read frequencies for each GT */
+	for (gt = 0; gt < num_gts; gt++) {
+		char freq_path[256];
+		unsigned int cur_freq = 0, act_freq = 0;
+		bool has_cur = false, has_act = false;
+
+		/* Read requested frequency */
+		if (driver_type == INTEL_DRIVER_XE)
+			snprintf(freq_path, sizeof(freq_path),
+				 "%s%u/device/tile0/gt%d/freq0/cur_freq",
+				 get_sysfs_drm_path(drm_minor), drm_minor, gt);
+		else /* i915 */
+			snprintf(freq_path, sizeof(freq_path),
+				 "%s%u/gt/gt%d/rps_cur_freq_mhz",
+				 get_sysfs_drm_path(drm_minor), drm_minor, gt);
+
+		has_cur = read_freq_value(freq_path, &cur_freq);
+
+		/* Read actual frequency */
+		if (driver_type == INTEL_DRIVER_XE)
+			snprintf(freq_path, sizeof(freq_path),
+				 "%s%u/device/tile0/gt%d/freq0/act_freq",
+				 get_sysfs_drm_path(drm_minor), drm_minor, gt);
+		else /* i915 */
+			snprintf(freq_path, sizeof(freq_path),
+				 "%s%u/gt/gt%d/rps_act_freq_mhz",
+				 get_sysfs_drm_path(drm_minor), drm_minor, gt);
+
+		has_act = read_freq_value(freq_path, &act_freq);
+
+		/* Skip this GT if we couldn't read any frequency */
+		if (!has_cur && !has_act)
+			continue;
+
+		/* Append to frequency string */
+		if (!first)
+			strcat(freq_str, " ");
+		else
+			first = false;
+
+		snprintf(gt_info, sizeof(gt_info), "GT%d-%u/%u", gt, cur_freq, act_freq);
+		strcat(freq_str, gt_info);
+	}
+
+	if (strlen(freq_str) > 0)
+		return strdup(freq_str);
+
+	return NULL;
+}
+
+/* Generic wrapper for frequency reading - dispatches to vendor-specific implementations */
+static char *get_frequencies(unsigned int drm_minor)
+{
+	/* Check for Intel devices (i915/Xe) */
+	if (is_intel_device(drm_minor))
+		return get_intel_frequencies(drm_minor);
+
+	return NULL;
+}
+
 static int
 print_client_header(struct igt_drm_client *c, int lines, int con_w, int con_h,
 		    int *engine_w)
 {
 	int ret, len;
+	char *freq_info = NULL;
 
 	if (lines++ >= con_h)
 		return lines;
 
 	printf(ANSI_HEADER);
-	ret = printf("DRM minor %u", c->drm_minor);
+
+	/* Get frequency information */
+	freq_info = get_frequencies(c->drm_minor);
+
+	if (freq_info) {
+		ret = printf("DRM minor %u   Frequency(MHz) %s", c->drm_minor, freq_info);
+		free(freq_info);
+	} else {
+		ret = printf("DRM minor %u", c->drm_minor);
+	}
+
 	n_spaces(con_w - ret);
 
 	if (lines++ >= con_h)
Signature · 1 line
2.43.0
#1 lore raw

✓ Xe.CI.BAT: success for tools/gputop: Add GPU frequencies to the client headers (rev6)

== Series Details ==

== Series Details ==

Series: tools/gputop: Add GPU frequencies to the client headers (rev6)
URL : https://patchwork.freedesktop.org/series/159205/
State : success

== Summary ==

CI Bug Log - changes from XEIGT_8747_BAT -> XEIGTPW_14535_BAT
====================================================

Summary
-------

**SUCCESS**

No regressions found.

Participating hosts (12 -> 12)
------------------------------

No changes in participating hosts

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

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

### IGT changes ###

#### Issues hit ####

* igt@xe_pat@pat-index-xe2@render:
- bat-ptl-vm: [PASS][1] -> [DMESG-WARN][2] ([Intel XE#7110]) +1 other test dmesg-warn
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/bat-ptl-vm/igt@xe_pat@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/bat-ptl-vm/igt@xe_pat@[email protected]

* igt@xe_waitfence@abstime:
- bat-dg2-oem2: [PASS][3] -> [TIMEOUT][4] ([Intel XE#6506])
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/bat-dg2-oem2/igt@[email protected]
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/bat-dg2-oem2/igt@[email protected]

[Intel XE#6506]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6506
[Intel XE#7110]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7110

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

* IGT: IGT_8747 -> IGTPW_14535

IGTPW_14535: 14535
IGT_8747: 8747
xe-4541-8ef710cfb81579fbf4107d77134e6e8d2c864ef0: 8ef710cfb81579fbf4107d77134e6e8d2c864ef0

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/index.html

#2 lore raw

✗ i915.CI.BAT: failure for tools/gputop: Add GPU frequencies to the client headers (rev6)

In reply to S Sebinraj
== Series Details ==

== Series Details ==

Series: tools/gputop: Add GPU frequencies to the client headers (rev6)
URL : https://patchwork.freedesktop.org/series/159205/
State : failure

== Summary ==

CI Bug Log - changes from IGT_8747 -> IGTPW_14535
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with IGTPW_14535 absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in IGTPW_14535, 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_14535/index.html

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

Additional (1): fi-skl-6600u
Missing (2): bat-dg2-13 fi-snb-2520m

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

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

### IGT changes ###

#### Possible regressions ####

* igt@i915_selftest@live@active:
- bat-mtlp-8: [PASS][1] -> [INCOMPLETE][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8747/bat-mtlp-8/igt@i915_selftest@[email protected]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/bat-mtlp-8/igt@i915_selftest@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@gem_huc_copy@huc-copy:
- fi-skl-6600u: NOTRUN -> [SKIP][3] ([i915#2190])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/fi-skl-6600u/igt@[email protected]

* igt@gem_lmem_swapping@random-engines:
- fi-skl-6600u: NOTRUN -> [SKIP][4] ([i915#4613]) +3 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/fi-skl-6600u/igt@[email protected]

* igt@i915_selftest@live:
- bat-mtlp-8: [PASS][5] -> [INCOMPLETE][6] ([i915#15176])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8747/bat-mtlp-8/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/bat-mtlp-8/igt@[email protected]

* igt@i915_selftest@live@workarounds:
- bat-arls-5: [PASS][7] -> [DMESG-FAIL][8] ([i915#12061]) +1 other test dmesg-fail
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8747/bat-arls-5/igt@i915_selftest@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/bat-arls-5/igt@i915_selftest@[email protected]

* igt@kms_dsc@dsc-basic:
- fi-skl-6600u: NOTRUN -> [SKIP][9] +11 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/fi-skl-6600u/igt@[email protected]

#### Possible fixes ####

* igt@i915_selftest@live@workarounds:
- bat-dg2-14: [DMESG-FAIL][10] ([i915#12061]) -> [PASS][11] +1 other test pass
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGT_8747/bat-dg2-14/igt@i915_selftest@[email protected]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_14535/bat-dg2-14/igt@i915_selftest@[email protected]

[i915#12061]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12061
[i915#15176]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/15176
[i915#2190]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/2190
[i915#4613]: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/4613

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

* CI: CI-20190529 -> None
* IGT: IGT_8747 -> IGTPW_14535

CI-20190529: 20190529
CI_DRM_17973: 8ef710cfb81579fbf4107d77134e6e8d2c864ef0 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_14535: 14535
IGT_8747: 8747

== Logs ==

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

#3 lore raw

✗ Xe.CI.FULL: failure for tools/gputop: Add GPU frequencies to the client headers (rev6)

In reply to S Sebinraj
== Series Details ==

== Series Details ==

Series: tools/gputop: Add GPU frequencies to the client headers (rev6)
URL : https://patchwork.freedesktop.org/series/159205/
State : failure

== Summary ==

CI Bug Log - changes from XEIGT_8747_FULL -> XEIGTPW_14535_FULL
====================================================

Summary
-------

**FAILURE**

Serious unknown changes coming with XEIGTPW_14535_FULL absolutely need to be verified manually.

If you think the reported changes have nothing to do with the changes
introduced in XEIGTPW_14535_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_14535_FULL:

### IGT changes ###

#### Possible regressions ####

* igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create:
- shard-lnl: [PASS][1] -> [ABORT][2]
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-5/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-1/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html
- shard-bmg: [PASS][3] -> [ABORT][4]
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-9/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-8/igt@xe_fault_injection@vm-bind-fail-vm_bind_ioctl_ops_create.html

* igt@xe_module_load@many-reload:
- shard-lnl: [PASS][5] -> [DMESG-WARN][6]
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-6/igt@[email protected]
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@xe_pmu@engine-activity-accuracy-90:
- shard-bmg: [PASS][7] -> [FAIL][8] +1 other test fail
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-10/igt@[email protected]
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

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

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

### IGT changes ###

#### Issues hit ####

* igt@intel_hwmon@hwmon-write:
- shard-bmg: [PASS][9] -> [FAIL][10] ([Intel XE#4665])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-1/igt@[email protected]
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_async_flips@async-flip-with-page-flip-events-linear-atomic@pipe-c-edp-1:
- shard-lnl: [PASS][11] -> [FAIL][12] ([Intel XE#6054]) +3 other tests fail
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-8/igt@kms_async_flips@[email protected]
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@kms_async_flips@[email protected]

* igt@kms_big_fb@linear-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][13] ([Intel XE#1407])
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][14] ([Intel XE#2327])
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-8/igt@[email protected]

* igt@kms_big_fb@y-tiled-64bpp-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_14535/shard-lnl-5/igt@[email protected]

* igt@kms_big_fb@yf-tiled-addfb-size-overflow:
- shard-lnl: NOTRUN -> [SKIP][16] ([Intel XE#1428])
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-3/igt@[email protected]

* igt@kms_big_fb@yf-tiled-max-hw-stride-32bpp-rotate-180-hflip:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#1124])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-8/igt@[email protected]

* igt@kms_bw@connected-linear-tiling-2-displays-3840x2160p:
- shard-bmg: [PASS][18] -> [SKIP][19] ([Intel XE#2314] / [Intel XE#2894])
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-7/igt@[email protected]
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_bw@linear-tiling-4-displays-3840x2160p:
- shard-bmg: NOTRUN -> [SKIP][20] ([Intel XE#367]) +2 other tests skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-3/igt@[email protected]

* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-mc-ccs:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2887]) +2 other tests skip
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_ccs@crc-primary-basic-4-tiled-lnl-ccs:
- shard-bmg: NOTRUN -> [SKIP][22] ([Intel XE#2652] / [Intel XE#787]) +4 other tests skip
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_ccs@crc-primary-rotation-180-y-tiled-gen12-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][23] ([Intel XE#2887]) +1 other test skip
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@kms_chamelium_color@ctm-negative:
- shard-lnl: NOTRUN -> [SKIP][24] ([Intel XE#306])
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@kms_chamelium_edid@hdmi-mode-timings:
- shard-bmg: NOTRUN -> [SKIP][25] ([Intel XE#2252]) +1 other test skip
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-10/igt@[email protected]

* igt@kms_chamelium_hpd@hdmi-hpd-for-each-pipe:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#373]) +3 other tests skip
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@[email protected]

* igt@kms_content_protection@atomic-dpms:
- shard-bmg: NOTRUN -> [SKIP][27] ([Intel XE#2341])
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_content_protection@suspend-resume:
- shard-lnl: NOTRUN -> [SKIP][28] ([Intel XE#6705])
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-8/igt@[email protected]

* igt@kms_cursor_crc@cursor-offscreen-32x10:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#2320]) +3 other tests skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-7/igt@[email protected]

* igt@kms_cursor_crc@cursor-rapid-movement-64x21:
- shard-lnl: NOTRUN -> [SKIP][30] ([Intel XE#1424]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@kms_cursor_crc@cursor-sliding-512x170:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#2321])
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-4/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][32] ([Intel XE#2321])
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_cursor_legacy@cursor-vs-flip-varying-size:
- shard-bmg: [PASS][33] -> [DMESG-WARN][34] ([Intel XE#5354])
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-10/igt@[email protected]
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_cursor_legacy@cursora-vs-flipb-atomic:
- shard-bmg: [PASS][35] -> [SKIP][36] ([Intel XE#2291]) +3 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-4/igt@[email protected]
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipa-toggle:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#309])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [PASS][38] -> [FAIL][39] ([Intel XE#6715])
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-8/igt@[email protected]

* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-bmg: [PASS][40] -> [FAIL][41] ([Intel XE#5299])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_dither@fb-8bpc-vs-panel-6bpc:
- shard-bmg: [PASS][42] -> [SKIP][43] ([Intel XE#1340])
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-10/igt@[email protected]
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_flip@2x-nonexisting-fb:
- shard-bmg: [PASS][44] -> [SKIP][45] ([Intel XE#2316]) +12 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-3/igt@[email protected]
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-lnl: NOTRUN -> [SKIP][46] ([Intel XE#1421]) +3 other tests skip
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-4/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank-interruptible:
- shard-lnl: [PASS][47] -> [FAIL][48] ([Intel XE#301]) +1 other test fail
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-7/igt@[email protected]
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][49] -> [FAIL][50] ([Intel XE#301] / [Intel XE#3149])
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-3/igt@kms_flip@[email protected]
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@kms_flip@[email protected]

* igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#7179])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-3/igt@kms_flip_scaled_crc@flip-p016-linear-to-p016-linear-reflect-x.html

* igt@kms_force_connector_basic@prune-stale-modes:
- shard-lnl: NOTRUN -> [SKIP][52] ([Intel XE#352])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-8/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-shrfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][53] ([Intel XE#656]) +10 other tests skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-shrfb-draw-blt.html
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#2311]) +7 other tests skip
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-9/igt@kms_frontbuffer_tracking@drrs-2p-scndscrn-pri-shrfb-draw-blt.html

* igt@kms_frontbuffer_tracking@drrs-abgr161616f-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#7061]) +2 other tests skip
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@[email protected]
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#7061])
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbc-rgb565-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#4141]) +6 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-rgb101010-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#651]) +5 other tests skip
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-1/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2313]) +9 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-9/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-shrfb-plflip-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-spr-indfb-onoff:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2312]) +2 other tests skip
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcpsr-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][61] ([Intel XE#1469])
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#2352])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-10/igt@[email protected]

* igt@kms_hdr@invalid-metadata-sizes:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#1503])
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@[email protected]

* igt@kms_joiner@basic-max-non-joiner:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#4298])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_joiner@invalid-modeset-force-big-joiner:
- shard-bmg: [PASS][65] -> [SKIP][66] ([Intel XE#7086])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-9/igt@[email protected]
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#7111] / [Intel XE#7130] / [Intel XE#7131])
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping.html
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#7130] / [Intel XE#7131])
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping.html

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-a-plane-3:
- shard-bmg: NOTRUN -> [SKIP][69] ([Intel XE#7130]) +8 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-a-plane-3.html

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-a-plane-5:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#7131])
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-a-plane-5.html

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-b-plane-0:
- shard-lnl: NOTRUN -> [SKIP][71] ([Intel XE#7130]) +10 other tests skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-b-plane-0.html

* igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-b-plane-5:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#7131]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-b-plane-5.html
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#7111] / [Intel XE#7131])
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@kms_plane@pixel-format-4-tiled-dg2-rc-ccs-modifier-source-clamping@pipe-b-plane-5.html

* igt@kms_plane@pixel-format-y-tiled-gen12-rc-ccs-modifier@pipe-b-plane-5:
- shard-bmg: NOTRUN -> [SKIP][74] ([Intel XE#7111] / [Intel XE#7130]) +1 other test skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@kms_plane@[email protected]

* igt@kms_plane_multiple@2x-tiling-none:
- shard-lnl: NOTRUN -> [SKIP][75] ([Intel XE#4596])
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-8/igt@[email protected]

* igt@kms_plane_scaling@2x-scaler-multi-pipe:
- shard-bmg: [PASS][76] -> [SKIP][77] ([Intel XE#2571])
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-8/igt@[email protected]
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_plane_scaling@plane-downscale-factor-0-5-with-pixel-format@pipe-c:
- shard-lnl: NOTRUN -> [SKIP][78] ([Intel XE#6886]) +7 other tests skip
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-3/igt@kms_plane_scaling@[email protected]

* igt@kms_pm_rpm@basic-pci-d3-state:
- shard-lnl: [PASS][79] -> [SKIP][80] ([Intel XE#7197])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-8/igt@[email protected]
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@kms_pm_rpm@dpms-mode-unset-lpsp:
- shard-bmg: NOTRUN -> [SKIP][81] ([Intel XE#1439] / [Intel XE#836])
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@[email protected]

* igt@kms_psr2_sf@pr-overlay-plane-move-continuous-sf:
- shard-lnl: NOTRUN -> [SKIP][82] ([Intel XE#1406] / [Intel XE#2893])
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-4/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#1406] / [Intel XE#1489])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_psr@fbc-psr2-suspend:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#1406]) +2 other tests skip
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@[email protected]

* igt@kms_psr@fbc-psr2-suspend@edp-1:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#1406] / [Intel XE#4609]) +1 other test skip
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@kms_psr@[email protected]

* igt@kms_psr@psr2-suspend:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#1406] / [Intel XE#2234] / [Intel XE#2850]) +4 other tests skip
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-9/igt@[email protected]

* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-0:
- shard-lnl: NOTRUN -> [SKIP][87] ([Intel XE#1127])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-4/igt@[email protected]

* igt@kms_rotation_crc@sprite-rotation-270:
- shard-lnl: NOTRUN -> [SKIP][88] ([Intel XE#3414] / [Intel XE#3904])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][89] ([Intel XE#3414] / [Intel XE#3904])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_setmode@clone-exclusive-crtc:
- shard-bmg: [PASS][90] -> [SKIP][91] ([Intel XE#1435]) +1 other test skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-1/igt@[email protected]
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_vrr@seamless-rr-switch-vrr:
- shard-bmg: NOTRUN -> [SKIP][92] ([Intel XE#1499])
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@[email protected]

* igt@sriov_basic@enable-vfs-autoprobe-off@numvfs-7:
- shard-bmg: [PASS][93] -> [FAIL][94] ([Intel XE#5937]) +27 other tests fail
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-8/igt@sriov_basic@[email protected]
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-4/igt@sriov_basic@[email protected]

* igt@xe_compute@ccs-mode-compute-kernel:
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#6599])
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@xe_eudebug@basic-vm-bind:
- shard-lnl: NOTRUN -> [SKIP][96] ([Intel XE#4837]) +3 other tests skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@xe_eudebug@discovery-race-vmbind:
- shard-bmg: NOTRUN -> [SKIP][97] ([Intel XE#4837]) +3 other tests skip
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@xe_eudebug_online@set-breakpoint:
- shard-lnl: NOTRUN -> [SKIP][98] ([Intel XE#4837] / [Intel XE#6665]) +1 other test skip
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-6/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][99] ([Intel XE#4837] / [Intel XE#6665])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [PASS][100] -> [INCOMPLETE][101] ([Intel XE#6321])
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-4/igt@[email protected]
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@xe_evict@evict-small-multi-vm:
- shard-lnl: NOTRUN -> [SKIP][102] ([Intel XE#688]) +1 other test skip
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-8/igt@[email protected]

* igt@xe_exec_basic@multigpu-no-exec-null:
- shard-bmg: NOTRUN -> [SKIP][103] ([Intel XE#2322]) +1 other test skip
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-9/igt@[email protected]

* igt@xe_exec_basic@multigpu-no-exec-rebind:
- shard-lnl: NOTRUN -> [SKIP][104] ([Intel XE#1392])
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-4/igt@[email protected]

* igt@xe_exec_fault_mode@many-multi-queue-userptr-invalidate-race:
- shard-lnl: NOTRUN -> [SKIP][105] ([Intel XE#7136]) +1 other test skip
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@xe_exec_fault_mode@twice-multi-queue-userptr-invalidate-imm:
- shard-bmg: NOTRUN -> [SKIP][106] ([Intel XE#7136]) +3 other tests skip
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@xe_exec_multi_queue@many-queues-preempt-mode-close-fd-smem:
- shard-lnl: NOTRUN -> [SKIP][107] ([Intel XE#6874]) +10 other tests skip
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@xe_exec_multi_queue@max-queues-basic:
- shard-bmg: NOTRUN -> [SKIP][108] ([Intel XE#6874]) +11 other tests skip
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@xe_exec_system_allocator@many-64k-mmap-free-huge-nomemset:
- shard-lnl: NOTRUN -> [SKIP][109] ([Intel XE#5007])
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-7/igt@[email protected]
- shard-bmg: NOTRUN -> [SKIP][110] ([Intel XE#5007])
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-10/igt@[email protected]

* igt@xe_exec_system_allocator@process-many-mmap-new-huge-nomemset:
- shard-lnl: NOTRUN -> [SKIP][111] ([Intel XE#4943]) +6 other tests skip
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-1/igt@xe_exec_system_allocator@process-many-mmap-new-huge-nomemset.html

* igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-huge:
- shard-bmg: NOTRUN -> [SKIP][112] ([Intel XE#4943]) +8 other tests skip
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-3/igt@xe_exec_system_allocator@threads-shared-vm-many-large-execqueues-mmap-new-huge.html

* igt@xe_exec_threads@threads-multi-queue-cm-fd-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][113] ([Intel XE#7138]) +2 other tests skip
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-3/igt@[email protected]

* igt@xe_exec_threads@threads-multi-queue-cm-shared-vm-basic:
- shard-lnl: NOTRUN -> [SKIP][114] ([Intel XE#7138]) +2 other tests skip
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@xe_multigpu_svm@mgpu-atomic-op-basic:
- shard-lnl: NOTRUN -> [SKIP][115] ([Intel XE#6964])
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@xe_pm@d3cold-basic:
- shard-lnl: NOTRUN -> [SKIP][116] ([Intel XE#2284] / [Intel XE#366]) +1 other test skip
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

* igt@xe_pm@s3-vm-bind-prefetch:
- shard-lnl: NOTRUN -> [SKIP][117] ([Intel XE#584]) +1 other test skip
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@xe_pm@s4-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][118] ([Intel XE#2284])
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@xe_sriov_vram@vf-access-after-resize-down:
- shard-lnl: NOTRUN -> [SKIP][119] ([Intel XE#6376])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@[email protected]

#### Possible fixes ####

* igt@kms_ccs@crc-primary-suspend-4-tiled-lnl-ccs@pipe-a-edp-1:
- shard-lnl: [ABORT][120] ([Intel XE#7169]) -> [PASS][121] +1 other test pass
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-7/igt@kms_ccs@[email protected]
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-3/igt@kms_ccs@[email protected]

* igt@kms_cursor_legacy@cursorb-vs-flipb-legacy:
- shard-bmg: [SKIP][122] ([Intel XE#2291]) -> [PASS][123] +5 other tests pass
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[123]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_dp_linktrain_fallback@dp-fallback:
- shard-bmg: [SKIP][124] ([Intel XE#4294]) -> [PASS][125]
[124]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-6/igt@[email protected]
[125]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-8/igt@[email protected]

* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-bmg: [SKIP][126] ([Intel XE#2316]) -> [PASS][127] +5 other tests pass
[126]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[127]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [FAIL][128] ([Intel XE#301]) -> [PASS][129]
[128]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-3/igt@kms_flip@[email protected]
[129]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@kms_flip@[email protected]

* igt@kms_hdr@static-toggle-dpms:
- shard-bmg: [SKIP][130] ([Intel XE#1503]) -> [PASS][131]
[130]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[131]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-9/igt@[email protected]

* igt@kms_pm_dc@dc5-psr:
- shard-lnl: [FAIL][132] ([Intel XE#718]) -> [PASS][133] +1 other test pass
[132]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-6/igt@[email protected]
[133]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-8/igt@[email protected]

* igt@kms_setmode@basic:
- shard-bmg: [FAIL][134] ([Intel XE#6361]) -> [PASS][135] +2 other tests pass
[134]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-6/igt@[email protected]
[135]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@[email protected]

* igt@kms_setmode@basic@pipe-b-edp-1:
- shard-lnl: [FAIL][136] ([Intel XE#6361]) -> [PASS][137] +2 other tests pass
[136]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-5/igt@kms_setmode@[email protected]
[137]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-5/igt@kms_setmode@[email protected]

* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][138] ([Intel XE#6321]) -> [PASS][139]
[138]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-8/igt@[email protected]
[139]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@xe_exec_threads@threads-shared-vm-basic:
- shard-bmg: [ABORT][140] ([Intel XE#7169]) -> [PASS][141]
[140]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-10/igt@[email protected]
[141]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-7/igt@[email protected]

* igt@xe_pm_residency@aspm_link_residency:
- shard-bmg: [SKIP][142] -> [PASS][143]
[142]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-6/igt@xe_pm_residency@aspm_link_residency.html
[143]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-3/igt@xe_pm_residency@aspm_link_residency.html

* igt@xe_sriov_auto_provisioning@resources-released-on-vfs-disabling@numvfs-random:
- shard-bmg: [FAIL][144] ([Intel XE#5937]) -> [PASS][145] +1 other test pass
[144]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-1/igt@xe_sriov_auto_provisioning@[email protected]
[145]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-10/igt@xe_sriov_auto_provisioning@[email protected]

#### Warnings ####

* igt@kms_content_protection@lic-type-0:
- shard-bmg: [FAIL][146] ([Intel XE#1178] / [Intel XE#3304]) -> [SKIP][147] ([Intel XE#2341])
[146]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-3/igt@[email protected]
[147]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_content_protection@lic-type-0-hdcp14:
- shard-bmg: [FAIL][148] ([Intel XE#3304]) -> [SKIP][149] ([Intel XE#7194])
[148]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-8/igt@[email protected]
[149]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@[email protected]

* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][150] ([Intel XE#301]) -> [FAIL][151] ([Intel XE#301] / [Intel XE#3149])
[150]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-lnl-3/igt@[email protected]
[151]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-lnl-2/igt@[email protected]

* igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][152] ([Intel XE#2312]) -> [SKIP][153] ([Intel XE#2311]) +14 other tests skip
[152]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-mmap-wc.html
[153]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-1/igt@kms_frontbuffer_tracking@drrs-2p-primscrn-spr-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:
- shard-bmg: [SKIP][154] ([Intel XE#4141]) -> [SKIP][155] ([Intel XE#2312]) +9 other tests skip
[154]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-3/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html
[155]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html

* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-onoff:
- shard-bmg: [SKIP][156] ([Intel XE#2312]) -> [SKIP][157] ([Intel XE#4141]) +8 other tests skip
[156]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@[email protected]
[157]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-3/igt@[email protected]

* igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][158] ([Intel XE#2311]) -> [SKIP][159] ([Intel XE#2312]) +15 other tests skip
[158]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-8/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html
[159]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcdrrs-2p-scndscrn-cur-indfb-draw-mmap-wc.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt:
- shard-bmg: [SKIP][160] ([Intel XE#2312]) -> [SKIP][161] ([Intel XE#2313]) +15 other tests skip
[160]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt.html
[161]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-7/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt.html

* igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-mmap-wc:
- shard-bmg: [SKIP][162] ([Intel XE#2313]) -> [SKIP][163] ([Intel XE#2312]) +17 other tests skip
[162]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-10/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-mmap-wc.html
[163]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-6/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-mmap-wc.html

* igt@kms_plane_multiple@2x-tiling-y:
- shard-bmg: [SKIP][164] ([Intel XE#5021]) -> [SKIP][165] ([Intel XE#4596])
[164]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-3/igt@[email protected]
[165]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-5/igt@[email protected]

* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [SKIP][166] ([Intel XE#2426]) -> [FAIL][167] ([Intel XE#1729])
[166]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_8747/shard-bmg-1/igt@[email protected]
[167]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/shard-bmg-10/igt@[email protected]

[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1127]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1127
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1340]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1340
[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#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1428]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1428
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1439]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1439
[Intel XE#1469]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1469
[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#1503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1503
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[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#2291]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2291
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2312
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2314]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2314
[Intel XE#2316]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2316
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[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#2341]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2341
[Intel XE#2352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2352
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2571
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[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#2894]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2894
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#306]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/306
[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#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3414]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3414
[Intel XE#352]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/352
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[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#4294]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4294
[Intel XE#4298]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4298
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4609]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4609
[Intel XE#4665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4665
[Intel XE#4837]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4837
[Intel XE#4943]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4943
[Intel XE#5007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5007
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5299]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5299
[Intel XE#5354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5354
[Intel XE#584]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/584
[Intel XE#5937]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5937
[Intel XE#6054]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6054
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6361]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6361
[Intel XE#6376]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6376
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#6665]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6665
[Intel XE#6705]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6705
[Intel XE#6715]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6715
[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#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7086]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7086
[Intel XE#7111]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7111
[Intel XE#7130]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7130
[Intel XE#7131]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7131
[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#7169]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7169
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/718
[Intel XE#7194]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7194
[Intel XE#7197]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7197
[Intel XE#787]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/787
[Intel XE#836]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/836

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

* IGT: IGT_8747 -> IGTPW_14535

IGTPW_14535: 14535
IGT_8747: 8747
xe-4541-8ef710cfb81579fbf4107d77134e6e8d2c864ef0: 8ef710cfb81579fbf4107d77134e6e8d2c864ef0

== Logs ==

For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_14535/index.html

Reviewed-by on v9 1/1
#4 lore raw
In reply to S Sebinraj

Hi S Sebinraj,

[...]

Quoted 1 line

+/* Detect which driver is bound to the device */

This comment still does not answer "which" - it does not give you the driver, which is bound, but it checks if the driver you gave it is bound.
This is a minor thing though, so address it only if you plan to prepare v10, otherwise ignore it.

Rest of the code looks good to me:

Quoted 25 lines
tools/gputop.c +25 -0
+static bool is_bound(unsigned int drm_minor, const char *driver_name)
+{
+	char path[256];
+	char link[256];
+	char *driver;
+	ssize_t len;
+
+	/* Read the driver symlink */
+	snprintf(path, sizeof(path), "%s%u/device/driver", 
+		 get_sysfs_drm_path(drm_minor), drm_minor);
+	len = readlink(path, link, sizeof(link) - 1);
+	if (len == -1)
+		return false;
+
+	link[len] = '\0';
+
+	/* Extract driver name from path (e.g., "bus/pci/drivers/i915" -> "i915") */
+	driver = strrchr(link, '/');
+	if (!driver)
+		return false;
+
+	driver++; /* Skip the '/' */
+	
+	return strcmp(driver, driver_name) == 0;
+}
Signature · 2 lines
Best Regards,
Krzysztof
#5 lore raw

________________________________
From: Karas, Krzysztof <[email protected]>
Sent: Thursday, March 5, 2026 3:55 PM
To: Sebinraj, S <[email protected]>
Cc: [email protected] <[email protected]>; Badrappan, Jeevaka <[email protected]>; Konieczny, Kamil <[email protected]>; Kempczynski, Zbigniew <[email protected]>; Purkait, Soham <[email protected]>
Subject: Re: [PATCH i-g-t v9] tools/gputop: Add GPU frequencies to the client headers

Hi S Sebinraj,

[...]

Quoted 6 lines

+/* Detect which driver is bound to the device */ This comment still does not answer "which" - it does not give you the driver, which is bound, but it checks if the driver you gave it is bound.
This is a minor thing though, so address it only if you plan to prepare v10, otherwise ignore it.

This makes sense, but I hope w.r.t 'function name' the meaning is as expected ie. ''if the driver you gave is bound or not". Also I'm not planning for a v10 here, so ignoring this as you have suggested.

Thanks for the Review,
S Sebinraj

Quoted 18 lines

Rest of the code looks good to me:

tools/gputop.c +15 -0
+static bool is_bound(unsigned int drm_minor, const char *driver_name)
+{
+     char path[256];
+     char link[256];
+     char *driver;
+     ssize_t len;
+
+     /* Read the driver symlink */
+     snprintf(path, sizeof(path), "%s%u/device/driver",
+              get_sysfs_drm_path(drm_minor), drm_minor);
+     len = readlink(path, link, sizeof(link) - 1);
+     if (len == -1)
+             return false;
+
+     link[len] = '\0';

tools/gputop.c static void print_percentage_bar(double percent, int max_len) · line 117

Quoted 10 lines
tools/gputop.c +10 -0
+
+     /* Extract driver name from path (e.g., "bus/pci/drivers/i915" -> "i915") */
+     driver = strrchr(link, '/');
+     if (!driver)
+             return false;
+
+     driver++; /* Skip the '/' */
+
+     return strcmp(driver, driver_name) == 0;
+}

--
Best Regards,
Krzysztof

#6 lore raw
In reply to Krzysztof Karas

Hi Krzysztof,

Quoted 5 lines · Krzysztof Karas

Hi S Sebinraj,

[...]

Quoted 1 line

+/* Detect which driver is bound to the device */

Quoted 9 lines

This comment still does not answer "which" - it does not give you the driver, which is bound, but it checks if the driver you gave it is bound.
This is a minor thing though, so address it only if you plan to prepare v10, otherwise ignore it.

Rest of the code looks good to me:

Thank you all, I merged it.

Regards,
Kamil

Quoted 29 lines
Quoted 25 lines
tools/gputop.c +25 -0
+static bool is_bound(unsigned int drm_minor, const char *driver_name)
+{
+	char path[256];
+	char link[256];
+	char *driver;
+	ssize_t len;
+
+	/* Read the driver symlink */
+	snprintf(path, sizeof(path), "%s%u/device/driver", 
+		 get_sysfs_drm_path(drm_minor), drm_minor);
+	len = readlink(path, link, sizeof(link) - 1);
+	if (len == -1)
+		return false;
+
+	link[len] = '\0';
+
+	/* Extract driver name from path (e.g., "bus/pci/drivers/i915" -> "i915") */
+	driver = strrchr(link, '/');
+	if (!driver)
+		return false;
+
+	driver++; /* Skip the '/' */
+	
+	return strcmp(driver, driver_name) == 0;
+}
Signature · 2 lines
Best Regards,
Krzysztof