* [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs
@ 2023-03-17 16:50 Bhanuprakash Modem
0 siblings, 0 replies; 5+ messages in thread
From: Bhanuprakash Modem @ 2023-03-17 16:50 UTC (permalink / raw)
To: igt-dev; +Cc: Jani Nikula
The pipe may not be the same as crtc index if pipes are fused off.
For testing purposes, IGT needs to know the pipe. There's already
a I915_GET_PIPE_FROM_CRTC_ID IOCTL for this. However, the upcoming
Xe driver won't have that IOCTL.
Add IGT support to read the pipe from debugfs. For i915, still
fallback to ioctl method to support older kernels.
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
lib/igt_kms.c | 53 ++++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 42 insertions(+), 11 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 562d60bff..d7b46cd44 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -2558,7 +2558,7 @@ void igt_display_require(igt_display_t *display, int drm_fd)
drmModeRes *resources;
drmModePlaneRes *plane_resources;
int i;
- bool is_i915_dev;
+ bool is_i915_dev, is_intel_dev;
memset(display, 0, sizeof(igt_display_t));
@@ -2566,6 +2566,7 @@ void igt_display_require(igt_display_t *display, int drm_fd)
display->drm_fd = drm_fd;
is_i915_dev = is_i915_device(drm_fd);
+ is_intel_dev = is_intel_device(drm_fd);
drmSetClientCap(drm_fd, DRM_CLIENT_CAP_WRITEBACK_CONNECTORS, 1);
@@ -2607,17 +2608,47 @@ void igt_display_require(igt_display_t *display, int drm_fd)
for (i = 0; i < resources->count_crtcs; i++) {
igt_pipe_t *pipe;
- if (is_i915_dev) {
- struct drm_i915_get_pipe_from_crtc_id get_pipe;
+ /*
+ * No GET_PIPE_FROM_CRTC_ID ioctl support for XE. Instead read
+ * from the debugfs "i915_pipe".
+ *
+ * This debugfs is applicable for both i915 & XE. For i915, still
+ * we can fallback to ioctl method to support older kernels.
+ */
+ if (is_intel_dev) {
+ char buf[2];
+ int debugfs_fd, res;
- get_pipe.pipe = 0;
- get_pipe.crtc_id = resources->crtcs[i];
- do_ioctl(display->drm_fd,
- DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID, &get_pipe);
- pipe = &display->pipes[get_pipe.pipe];
- pipe->pipe = get_pipe.pipe;
- }
- else {
+ debugfs_fd = igt_debugfs_pipe_dir(drm_fd, i, O_RDONLY);
+ igt_assert(debugfs_fd >= 0);
+
+ res = igt_debugfs_simple_read(debugfs_fd, "i915_pipe", buf, sizeof(buf));
+ close(debugfs_fd);
+
+ if (res <= 0) {
+ /* Fallback to older ioctl method. */
+ if (is_i915_dev) {
+ struct drm_i915_get_pipe_from_crtc_id get_pipe;
+
+ get_pipe.pipe = 0;
+ get_pipe.crtc_id = resources->crtcs[i];
+
+ do_ioctl(drm_fd,
+ DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID,
+ &get_pipe);
+
+ pipe = &display->pipes[get_pipe.pipe];
+ pipe->pipe = get_pipe.pipe;
+ } else
+ igt_assert_f(false, "XE: Failed to read the debugfs i915_pipe.\n");
+ } else {
+ int p;
+
+ igt_assert_eq(sscanf(buf, "%d", &p), 1);
+ pipe = &display->pipes[p];
+ pipe->pipe = p;
+ }
+ } else {
pipe = &display->pipes[i];
pipe->pipe = i;
}
--
2.40.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs
@ 2023-03-20 6:00 Bhanuprakash Modem
2023-03-20 6:47 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kms: Get pipe enum from debugfs (rev3) Patchwork
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Bhanuprakash Modem @ 2023-03-20 6:00 UTC (permalink / raw)
To: igt-dev; +Cc: Jani Nikula
The pipe may not be the same as crtc index if pipes are fused off.
For testing purposes, IGT needs to know the pipe. There's already
a I915_GET_PIPE_FROM_CRTC_ID IOCTL for this. However, the upcoming
Xe driver won't have that IOCTL.
Add IGT support to read the pipe from debugfs. For i915, still
fallback to ioctl method to support older kernels.
V2: Fix kmstest_get_pipe_from_crtc_id() (Bhanu)
Cc: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
lib/igt_kms.c | 80 +++++++++++++++++++++++++++++++++++----------------
1 file changed, 56 insertions(+), 24 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index 562d60bff..b3135ad7a 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -1067,6 +1067,53 @@ void kmstest_dump_mode(drmModeModeInfo *mode)
aspect ? aspect : "", aspect ? ")" : "");
}
+/*
+ * With non-contiguous pipes display, crtc mapping is not always same
+ * as pipe mapping, In i915 pipe is enum id of i915's crtc object.
+ * hence allocating upper bound igt_pipe array to support non-contiguos
+ * pipe display and reading pipe enum for a crtc using GET_PIPE_FROM_CRTC_ID
+ * ioctl for a pipe to do pipe ordering with respect to crtc list.
+ */
+static int __intel_get_pipe_from_crtc_id(int fd, int crtc_id, int crtc_idx)
+{
+ char buf[2];
+ int debugfs_fd, res;
+
+ /*
+ * No GET_PIPE_FROM_CRTC_ID ioctl support for XE. Instead read
+ * from the debugfs "i915_pipe".
+ *
+ * This debugfs is applicable for both i915 & XE. For i915, still
+ * we can fallback to ioctl method to support older kernels.
+ */
+ debugfs_fd = igt_debugfs_pipe_dir(fd, crtc_idx, O_RDONLY);
+ igt_assert(debugfs_fd >= 0);
+
+ res = igt_debugfs_simple_read(debugfs_fd, "i915_pipe", buf, sizeof(buf));
+ close(debugfs_fd);
+
+ if (res <= 0) {
+ /* Fallback to older ioctl method. */
+ if (is_i915_device(fd)) {
+ struct drm_i915_get_pipe_from_crtc_id get_pipe;
+
+ get_pipe.pipe = 0;
+ get_pipe.crtc_id = crtc_id;
+
+ do_ioctl(fd, DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID,
+ &get_pipe);
+
+ return get_pipe.pipe;
+ } else
+ igt_assert_f(false, "XE: Failed to read the debugfs i915_pipe.\n");
+ } else {
+ int pipe;
+
+ igt_assert_eq(sscanf(buf, "%d", &pipe), 1);
+ return pipe;
+ }
+}
+
/**
* kmstest_get_pipe_from_crtc_id:
* @fd: DRM fd
@@ -1100,7 +1147,8 @@ int kmstest_get_pipe_from_crtc_id(int fd, int crtc_id)
drmModeFreeResources(res);
- return i;
+ return is_intel_device(fd) ?
+ __intel_get_pipe_from_crtc_id(fd, crtc_id, i) : i;
}
/**
@@ -2558,14 +2606,14 @@ void igt_display_require(igt_display_t *display, int drm_fd)
drmModeRes *resources;
drmModePlaneRes *plane_resources;
int i;
- bool is_i915_dev;
+ bool is_intel_dev;
memset(display, 0, sizeof(igt_display_t));
LOG_INDENT(display, "init");
display->drm_fd = drm_fd;
- is_i915_dev = is_i915_device(drm_fd);
+ is_intel_dev = is_intel_device(drm_fd);
drmSetClientCap(drm_fd, DRM_CLIENT_CAP_WRITEBACK_CONNECTORS, 1);
@@ -2593,34 +2641,18 @@ void igt_display_require(igt_display_t *display, int drm_fd)
if (is_xe_device(drm_fd))
xe_device_get(drm_fd);
- /*
- * With non-contiguous pipes display, crtc mapping is not always same
- * as pipe mapping, In i915 pipe is enum id of i915's crtc object.
- * hence allocating upper bound igt_pipe array to support non-contiguos
- * pipe display and reading pipe enum for a crtc using GET_PIPE_FROM_CRTC_ID ioctl
- * for a pipe to do pipe ordering with respect to crtc list.
- */
display->n_pipes = IGT_MAX_PIPES;
display->pipes = calloc(sizeof(igt_pipe_t), display->n_pipes);
igt_assert_f(display->pipes, "Failed to allocate memory for %d pipes\n", display->n_pipes);
for (i = 0; i < resources->count_crtcs; i++) {
igt_pipe_t *pipe;
+ int pipe_enum = (is_intel_dev)?
+ __intel_get_pipe_from_crtc_id(drm_fd,
+ resources->crtcs[i], i) : i;
- if (is_i915_dev) {
- struct drm_i915_get_pipe_from_crtc_id get_pipe;
-
- get_pipe.pipe = 0;
- get_pipe.crtc_id = resources->crtcs[i];
- do_ioctl(display->drm_fd,
- DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID, &get_pipe);
- pipe = &display->pipes[get_pipe.pipe];
- pipe->pipe = get_pipe.pipe;
- }
- else {
- pipe = &display->pipes[i];
- pipe->pipe = i;
- }
+ pipe = &display->pipes[pipe_enum];
+ pipe->pipe = pipe_enum;
/* pipe is enabled/disabled */
pipe->enabled = true;
--
2.40.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for lib/kms: Get pipe enum from debugfs (rev3)
2023-03-20 6:00 [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Bhanuprakash Modem
@ 2023-03-20 6:47 ` Patchwork
2023-03-20 8:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-03-20 12:49 ` [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Jani Nikula
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-03-20 6:47 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 3805 bytes --]
== Series Details ==
Series: lib/kms: Get pipe enum from debugfs (rev3)
URL : https://patchwork.freedesktop.org/series/115323/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12879 -> IGTPW_8639
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
Participating hosts (35 -> 34)
------------------------------
Missing (1): bat-atsm-1
Known issues
------------
Here are the changes found in IGTPW_8639 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [PASS][1] -> [DMESG-WARN][2] ([i915#7699])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/bat-dg2-11/igt@i915_selftest@live@migrate.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/bat-dg2-11/igt@i915_selftest@live@migrate.html
* igt@i915_selftest@live@reset:
- bat-rpls-1: NOTRUN -> [ABORT][3] ([i915#4983])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/bat-rpls-1/igt@i915_selftest@live@reset.html
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- fi-bsw-n3050: NOTRUN -> [SKIP][4] ([fdo#109271])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/fi-bsw-n3050/igt@kms_chamelium_hpd@common-hpd-after-suspend.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][5] ([i915#5354]) +2 similar issues
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html
#### Possible fixes ####
* igt@i915_selftest@live@execlists:
- fi-bsw-n3050: [INCOMPLETE][6] ([i915#6972] / [i915#7913]) -> [PASS][7]
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/fi-bsw-n3050/igt@i915_selftest@live@execlists.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/fi-bsw-n3050/igt@i915_selftest@live@execlists.html
* igt@i915_selftest@live@requests:
- bat-rpls-1: [ABORT][8] ([i915#7911]) -> [PASS][9]
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/bat-rpls-1/igt@i915_selftest@live@requests.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/bat-rpls-1/igt@i915_selftest@live@requests.html
* igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1:
- bat-adlp-9: [DMESG-WARN][10] ([i915#2867]) -> [PASS][11]
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/bat-adlp-9/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/bat-adlp-9/igt@kms_pipe_crc_basic@suspend-read-crc@pipe-c-dp-1.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#2867]: https://gitlab.freedesktop.org/drm/intel/issues/2867
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6972]: https://gitlab.freedesktop.org/drm/intel/issues/6972
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7205 -> IGTPW_8639
CI-20190529: 20190529
CI_DRM_12879: b101ddfdc98728b7ea5c8f9f6cbac5a5e5d64572 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8639: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
IGT_7205: 0d4bf61a38c7751cf7c92751c4bb64f95c9ffbe2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
[-- Attachment #2: Type: text/html, Size: 4569 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for lib/kms: Get pipe enum from debugfs (rev3)
2023-03-20 6:00 [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Bhanuprakash Modem
2023-03-20 6:47 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kms: Get pipe enum from debugfs (rev3) Patchwork
@ 2023-03-20 8:02 ` Patchwork
2023-03-20 12:49 ` [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Jani Nikula
2 siblings, 0 replies; 5+ messages in thread
From: Patchwork @ 2023-03-20 8:02 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 26607 bytes --]
== Series Details ==
Series: lib/kms: Get pipe enum from debugfs (rev3)
URL : https://patchwork.freedesktop.org/series/115323/
State : failure
== Summary ==
CI Bug Log - changes from CI_DRM_12879_full -> IGTPW_8639_full
====================================================
Summary
-------
**FAILURE**
Serious unknown changes coming with IGTPW_8639_full absolutely need to be
verified manually.
If you think the reported changes have nothing to do with the changes
introduced in IGTPW_8639_full, please notify your bug team to allow them
to document this new failure mode, which will reduce false positives in CI.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8639_full:
### IGT changes ###
#### Possible regressions ####
* igt@i915_pm_rps@reset:
- shard-snb: [PASS][1] -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-snb2/igt@i915_pm_rps@reset.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-snb4/igt@i915_pm_rps@reset.html
Known issues
------------
Here are the changes found in IGTPW_8639_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none-rrul@rcs0:
- shard-glk: [PASS][3] -> [FAIL][4] ([i915#2842]) +1 similar issue
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-glk4/igt@gem_exec_fair@basic-none-rrul@rcs0.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk9/igt@gem_exec_fair@basic-none-rrul@rcs0.html
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-apl1/igt@gem_exec_fair@basic-none-solo@rcs0.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-apl3/igt@gem_exec_fair@basic-none-solo@rcs0.html
* igt@gem_lmem_swapping@basic:
- shard-apl: NOTRUN -> [SKIP][7] ([fdo#109271] / [i915#4613])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-apl2/igt@gem_lmem_swapping@basic.html
* igt@gem_lmem_swapping@verify-ccs:
- shard-glk: NOTRUN -> [SKIP][8] ([fdo#109271] / [i915#4613])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk5/igt@gem_lmem_swapping@verify-ccs.html
* igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc:
- shard-glk: NOTRUN -> [SKIP][9] ([fdo#109271] / [i915#3886])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk5/igt@kms_ccs@pipe-a-missing-ccs-buffer-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-apl: [PASS][10] -> [FAIL][11] ([i915#2346])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-apl2/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-glk: [PASS][12] -> [FAIL][13] ([i915#2346])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-glk5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk5/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf:
- shard-glk: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#658])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk8/igt@kms_psr2_sf@overlay-plane-move-continuous-exceed-sf.html
* igt@kms_psr@psr2_sprite_blt:
- shard-glk: NOTRUN -> [SKIP][15] ([fdo#109271]) +20 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk7/igt@kms_psr@psr2_sprite_blt.html
* igt@kms_psr@psr2_sprite_plane_onoff:
- shard-apl: NOTRUN -> [SKIP][16] ([fdo#109271]) +36 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-apl7/igt@kms_psr@psr2_sprite_plane_onoff.html
#### Possible fixes ####
* igt@fbdev@info:
- {shard-tglu}: [SKIP][17] ([i915#2582]) -> [PASS][18] +1 similar issue
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@fbdev@info.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-8/igt@fbdev@info.html
* igt@gem_ctx_persistence@hang:
- {shard-rkl}: [SKIP][19] ([i915#6252]) -> [PASS][20] +1 similar issue
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-5/igt@gem_ctx_persistence@hang.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-2/igt@gem_ctx_persistence@hang.html
* igt@gem_eio@in-flight-suspend:
- {shard-rkl}: [FAIL][21] ([fdo#103375]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-3/igt@gem_eio@in-flight-suspend.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-5/igt@gem_eio@in-flight-suspend.html
* igt@gem_exec_fair@basic-none-vip@rcs0:
- shard-glk: [FAIL][23] ([i915#2842]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-glk1/igt@gem_exec_fair@basic-none-vip@rcs0.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk5/igt@gem_exec_fair@basic-none-vip@rcs0.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- {shard-tglu}: [FAIL][25] ([i915#2842]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-5/igt@gem_exec_fair@basic-pace-share@rcs0.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-2/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_exec_reloc@basic-wc-read-noreloc:
- {shard-rkl}: [SKIP][27] ([i915#3281]) -> [PASS][28] +6 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-3/igt@gem_exec_reloc@basic-wc-read-noreloc.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-5/igt@gem_exec_reloc@basic-wc-read-noreloc.html
* igt@gem_mmap_wc@set-cache-level:
- {shard-tglu}: [SKIP][29] ([i915#1850]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-9/igt@gem_mmap_wc@set-cache-level.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-5/igt@gem_mmap_wc@set-cache-level.html
* igt@gem_partial_pwrite_pread@write:
- {shard-rkl}: [SKIP][31] ([i915#3282]) -> [PASS][32] +2 similar issues
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-3/igt@gem_partial_pwrite_pread@write.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-5/igt@gem_partial_pwrite_pread@write.html
* igt@gen9_exec_parse@allowed-all:
- shard-glk: [ABORT][33] ([i915#5566]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-glk3/igt@gen9_exec_parse@allowed-all.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk6/igt@gen9_exec_parse@allowed-all.html
* igt@gen9_exec_parse@bb-start-far:
- {shard-rkl}: [SKIP][35] ([i915#2527]) -> [PASS][36] +1 similar issue
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-1/igt@gen9_exec_parse@bb-start-far.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-5/igt@gen9_exec_parse@bb-start-far.html
* igt@i915_hangman@engine-engine-error@bcs0:
- {shard-rkl}: [SKIP][37] ([i915#6258]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-5/igt@i915_hangman@engine-engine-error@bcs0.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@i915_hangman@engine-engine-error@bcs0.html
* {igt@i915_pm_dc@dc5-dpms-negative}:
- {shard-tglu}: [SKIP][39] ([i915#8018]) -> [PASS][40]
[39]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@i915_pm_dc@dc5-dpms-negative.html
[40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-7/igt@i915_pm_dc@dc5-dpms-negative.html
* igt@i915_pm_dc@dc5-psr:
- {shard-rkl}: [SKIP][41] ([i915#658]) -> [PASS][42]
[41]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-5/igt@i915_pm_dc@dc5-psr.html
[42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@i915_pm_dc@dc5-psr.html
* igt@i915_pm_rpm@modeset-lpsp:
- {shard-tglu}: [SKIP][43] ([i915#1397]) -> [PASS][44] +1 similar issue
[43]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-9/igt@i915_pm_rpm@modeset-lpsp.html
[44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-3/igt@i915_pm_rpm@modeset-lpsp.html
* igt@i915_pm_rpm@system-suspend-modeset:
- {shard-tglu}: [SKIP][45] ([i915#3547]) -> [PASS][46]
[45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@i915_pm_rpm@system-suspend-modeset.html
[46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-4/igt@i915_pm_rpm@system-suspend-modeset.html
* igt@kms_big_fb@x-tiled-8bpp-rotate-180:
- {shard-tglu}: [SKIP][47] ([i915#1845]) -> [PASS][48] +35 similar issues
[47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@kms_big_fb@x-tiled-8bpp-rotate-180.html
[48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-1/igt@kms_big_fb@x-tiled-8bpp-rotate-180.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- {shard-rkl}: [SKIP][49] ([i915#1845] / [i915#4098]) -> [PASS][50] +23 similar issues
[49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-2/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
[50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_cursor_legacy@flip-vs-cursor-atomic.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [FAIL][51] ([i915#2346]) -> [PASS][52]
[51]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-apl3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-apl6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt:
- {shard-tglu}: [SKIP][53] ([i915#1849]) -> [PASS][54] +16 similar issues
[53]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt.html
[54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-4/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-plflip-blt.html
* igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-blt:
- {shard-rkl}: [SKIP][55] ([i915#1849] / [i915#4098]) -> [PASS][56] +16 similar issues
[55]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-4/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-blt.html
[56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-blt.html
* igt@kms_plane@plane-panning-top-left@pipe-a-planes:
- {shard-rkl}: [SKIP][57] ([i915#1849]) -> [PASS][58] +3 similar issues
[57]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-4/igt@kms_plane@plane-panning-top-left@pipe-a-planes.html
[58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_plane@plane-panning-top-left@pipe-a-planes.html
* igt@kms_plane@plane-position-hole@pipe-b-planes:
- {shard-tglu}: [SKIP][59] ([i915#1849] / [i915#3558]) -> [PASS][60] +7 similar issues
[59]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-10/igt@kms_plane@plane-position-hole@pipe-b-planes.html
[60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-2/igt@kms_plane@plane-position-hole@pipe-b-planes.html
* {igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1}:
- {shard-tglu}: [FAIL][61] ([i915#8292]) -> [PASS][62]
[61]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-5/igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1.html
[62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-3/igt@kms_plane_scaling@i915-max-src-size@pipe-a-hdmi-a-1.html
* igt@kms_psr@no_drrs:
- {shard-rkl}: [SKIP][63] ([i915#1072]) -> [PASS][64]
[63]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-5/igt@kms_psr@no_drrs.html
[64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_psr@no_drrs.html
* igt@kms_psr_stress_test@flip-primary-invalidate-overlay:
- {shard-rkl}: [SKIP][65] ([i915#5461]) -> [PASS][66]
[65]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-4/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html
[66]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html
* igt@kms_universal_plane@disable-primary-vs-flip-pipe-a:
- {shard-rkl}: [SKIP][67] ([i915#1845] / [i915#4070] / [i915#4098]) -> [PASS][68] +1 similar issue
[67]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-2/igt@kms_universal_plane@disable-primary-vs-flip-pipe-a.html
[68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@kms_universal_plane@disable-primary-vs-flip-pipe-a.html
* igt@kms_universal_plane@universal-plane-pipe-c-sanity:
- {shard-tglu}: [SKIP][69] ([fdo#109274]) -> [PASS][70] +5 similar issues
[69]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-9/igt@kms_universal_plane@universal-plane-pipe-c-sanity.html
[70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-2/igt@kms_universal_plane@universal-plane-pipe-c-sanity.html
* igt@kms_vblank@pipe-c-wait-forked:
- {shard-tglu}: [SKIP][71] ([i915#1845] / [i915#7651]) -> [PASS][72] +40 similar issues
[71]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-tglu-9/igt@kms_vblank@pipe-c-wait-forked.html
[72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-tglu-4/igt@kms_vblank@pipe-c-wait-forked.html
* igt@perf@stress-open-close:
- shard-glk: [ABORT][73] ([i915#5213]) -> [PASS][74]
[73]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-glk8/igt@perf@stress-open-close.html
[74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-glk9/igt@perf@stress-open-close.html
* igt@testdisplay:
- {shard-rkl}: [SKIP][75] ([i915#4098]) -> [PASS][76]
[75]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12879/shard-rkl-4/igt@testdisplay.html
[76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/shard-rkl-6/igt@testdisplay.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#103375]: https://bugs.freedesktop.org/show_bug.cgi?id=103375
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109283]: https://bugs.freedesktop.org/show_bug.cgi?id=109283
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109302]: https://bugs.freedesktop.org/show_bug.cgi?id=109302
[fdo#109308]: https://bugs.freedesktop.org/show_bug.cgi?id=109308
[fdo#109312]: https://bugs.freedesktop.org/show_bug.cgi?id=109312
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110723]: https://bugs.freedesktop.org/show_bug.cgi?id=110723
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111656]: https://bugs.freedesktop.org/show_bug.cgi?id=111656
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112054]: https://bugs.freedesktop.org/show_bug.cgi?id=112054
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1257]: https://gitlab.freedesktop.org/drm/intel/issues/1257
[i915#132]: https://gitlab.freedesktop.org/drm/intel/issues/132
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849
[i915#1850]: https://gitlab.freedesktop.org/drm/intel/issues/1850
[i915#1937]: https://gitlab.freedesktop.org/drm/intel/issues/1937
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2436]: https://gitlab.freedesktop.org/drm/intel/issues/2436
[i915#2437]: https://gitlab.freedesktop.org/drm/intel/issues/2437
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2582]: https://gitlab.freedesktop.org/drm/intel/issues/2582
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#2920]: https://gitlab.freedesktop.org/drm/intel/issues/2920
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[i915#315]: https://gitlab.freedesktop.org/drm/intel/issues/315
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#3547]: https://gitlab.freedesktop.org/drm/intel/issues/3547
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3558]: https://gitlab.freedesktop.org/drm/intel/issues/3558
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3639]: https://gitlab.freedesktop.org/drm/intel/issues/3639
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3734]: https://gitlab.freedesktop.org/drm/intel/issues/3734
[i915#3742]: https://gitlab.freedesktop.org/drm/intel/issues/3742
[i915#3804]: https://gitlab.freedesktop.org/drm/intel/issues/3804
[i915#3825]: https://gitlab.freedesktop.org/drm/intel/issues/3825
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4070]: https://gitlab.freedesktop.org/drm/intel/issues/4070
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4098]: https://gitlab.freedesktop.org/drm/intel/issues/4098
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#426]: https://gitlab.freedesktop.org/drm/intel/issues/426
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4391]: https://gitlab.freedesktop.org/drm/intel/issues/4391
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4879]: https://gitlab.freedesktop.org/drm/intel/issues/4879
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5213]: https://gitlab.freedesktop.org/drm/intel/issues/5213
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5288]: https://gitlab.freedesktop.org/drm/intel/issues/5288
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6247]: https://gitlab.freedesktop.org/drm/intel/issues/6247
[i915#6248]: https://gitlab.freedesktop.org/drm/intel/issues/6248
[i915#6252]: https://gitlab.freedesktop.org/drm/intel/issues/6252
[i915#6258]: https://gitlab.freedesktop.org/drm/intel/issues/6258
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6334]: https://gitlab.freedesktop.org/drm/intel/issues/6334
[i915#6355]: https://gitlab.freedesktop.org/drm/intel/issues/6355
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6497]: https://gitlab.freedesktop.org/drm/intel/issues/6497
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6590]: https://gitlab.freedesktop.org/drm/intel/issues/6590
[i915#6621]: https://gitlab.freedesktop.org/drm/intel/issues/6621
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6944]: https://gitlab.freedesktop.org/drm/intel/issues/6944
[i915#6946]: https://gitlab.freedesktop.org/drm/intel/issues/6946
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7037]: https://gitlab.freedesktop.org/drm/intel/issues/7037
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7128]: https://gitlab.freedesktop.org/drm/intel/issues/7128
[i915#7294]: https://gitlab.freedesktop.org/drm/intel/issues/7294
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7651]: https://gitlab.freedesktop.org/drm/intel/issues/7651
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7949]: https://gitlab.freedesktop.org/drm/intel/issues/7949
[i915#7957]: https://gitlab.freedesktop.org/drm/intel/issues/7957
[i915#8018]: https://gitlab.freedesktop.org/drm/intel/issues/8018
[i915#8150]: https://gitlab.freedesktop.org/drm/intel/issues/8150
[i915#8152]: https://gitlab.freedesktop.org/drm/intel/issues/8152
[i915#8154]: https://gitlab.freedesktop.org/drm/intel/issues/8154
[i915#8155]: https://gitlab.freedesktop.org/drm/intel/issues/8155
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8247]: https://gitlab.freedesktop.org/drm/intel/issues/8247
[i915#8282]: https://gitlab.freedesktop.org/drm/intel/issues/8282
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7205 -> IGTPW_8639
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12879: b101ddfdc98728b7ea5c8f9f6cbac5a5e5d64572 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8639: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
IGT_7205: 0d4bf61a38c7751cf7c92751c4bb64f95c9ffbe2 @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8639/index.html
[-- Attachment #2: Type: text/html, Size: 21030 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs
2023-03-20 6:00 [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Bhanuprakash Modem
2023-03-20 6:47 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kms: Get pipe enum from debugfs (rev3) Patchwork
2023-03-20 8:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
@ 2023-03-20 12:49 ` Jani Nikula
2 siblings, 0 replies; 5+ messages in thread
From: Jani Nikula @ 2023-03-20 12:49 UTC (permalink / raw)
To: Bhanuprakash Modem, igt-dev
On Mon, 20 Mar 2023, Bhanuprakash Modem <bhanuprakash.modem@intel.com> wrote:
> The pipe may not be the same as crtc index if pipes are fused off.
> For testing purposes, IGT needs to know the pipe. There's already
> a I915_GET_PIPE_FROM_CRTC_ID IOCTL for this. However, the upcoming
> Xe driver won't have that IOCTL.
>
> Add IGT support to read the pipe from debugfs. For i915, still
> fallback to ioctl method to support older kernels.
>
> V2: Fix kmstest_get_pipe_from_crtc_id() (Bhanu)
>
> Cc: Jani Nikula <jani.nikula@intel.com>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> lib/igt_kms.c | 80 +++++++++++++++++++++++++++++++++++----------------
> 1 file changed, 56 insertions(+), 24 deletions(-)
>
> diff --git a/lib/igt_kms.c b/lib/igt_kms.c
> index 562d60bff..b3135ad7a 100644
> --- a/lib/igt_kms.c
> +++ b/lib/igt_kms.c
> @@ -1067,6 +1067,53 @@ void kmstest_dump_mode(drmModeModeInfo *mode)
> aspect ? aspect : "", aspect ? ")" : "");
> }
>
> +/*
> + * With non-contiguous pipes display, crtc mapping is not always same
> + * as pipe mapping, In i915 pipe is enum id of i915's crtc object.
> + * hence allocating upper bound igt_pipe array to support non-contiguos
> + * pipe display and reading pipe enum for a crtc using GET_PIPE_FROM_CRTC_ID
> + * ioctl for a pipe to do pipe ordering with respect to crtc list.
> + */
> +static int __intel_get_pipe_from_crtc_id(int fd, int crtc_id, int crtc_idx)
> +{
> + char buf[2];
> + int debugfs_fd, res;
> +
> + /*
> + * No GET_PIPE_FROM_CRTC_ID ioctl support for XE. Instead read
> + * from the debugfs "i915_pipe".
> + *
> + * This debugfs is applicable for both i915 & XE. For i915, still
> + * we can fallback to ioctl method to support older kernels.
> + */
> + debugfs_fd = igt_debugfs_pipe_dir(fd, crtc_idx, O_RDONLY);
> + igt_assert(debugfs_fd >= 0);
> +
> + res = igt_debugfs_simple_read(debugfs_fd, "i915_pipe", buf, sizeof(buf));
> + close(debugfs_fd);
> +
> + if (res <= 0) {
> + /* Fallback to older ioctl method. */
> + if (is_i915_device(fd)) {
> + struct drm_i915_get_pipe_from_crtc_id get_pipe;
> +
> + get_pipe.pipe = 0;
> + get_pipe.crtc_id = crtc_id;
> +
> + do_ioctl(fd, DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID,
> + &get_pipe);
> +
> + return get_pipe.pipe;
> + } else
> + igt_assert_f(false, "XE: Failed to read the debugfs i915_pipe.\n");
> + } else {
> + int pipe;
> +
> + igt_assert_eq(sscanf(buf, "%d", &pipe), 1);
Per Ville's request, the debugfs will have pipe as a letter instead of
number [1].
BR,
Jani.
[1] https://patchwork.freedesktop.org/patch/msgid/20230320124429.786985-2-jani.nikula@intel.com
> + return pipe;
> + }
> +}
> +
> /**
> * kmstest_get_pipe_from_crtc_id:
> * @fd: DRM fd
> @@ -1100,7 +1147,8 @@ int kmstest_get_pipe_from_crtc_id(int fd, int crtc_id)
>
> drmModeFreeResources(res);
>
> - return i;
> + return is_intel_device(fd) ?
> + __intel_get_pipe_from_crtc_id(fd, crtc_id, i) : i;
> }
>
> /**
> @@ -2558,14 +2606,14 @@ void igt_display_require(igt_display_t *display, int drm_fd)
> drmModeRes *resources;
> drmModePlaneRes *plane_resources;
> int i;
> - bool is_i915_dev;
> + bool is_intel_dev;
>
> memset(display, 0, sizeof(igt_display_t));
>
> LOG_INDENT(display, "init");
>
> display->drm_fd = drm_fd;
> - is_i915_dev = is_i915_device(drm_fd);
> + is_intel_dev = is_intel_device(drm_fd);
>
> drmSetClientCap(drm_fd, DRM_CLIENT_CAP_WRITEBACK_CONNECTORS, 1);
>
> @@ -2593,34 +2641,18 @@ void igt_display_require(igt_display_t *display, int drm_fd)
> if (is_xe_device(drm_fd))
> xe_device_get(drm_fd);
>
> - /*
> - * With non-contiguous pipes display, crtc mapping is not always same
> - * as pipe mapping, In i915 pipe is enum id of i915's crtc object.
> - * hence allocating upper bound igt_pipe array to support non-contiguos
> - * pipe display and reading pipe enum for a crtc using GET_PIPE_FROM_CRTC_ID ioctl
> - * for a pipe to do pipe ordering with respect to crtc list.
> - */
> display->n_pipes = IGT_MAX_PIPES;
> display->pipes = calloc(sizeof(igt_pipe_t), display->n_pipes);
> igt_assert_f(display->pipes, "Failed to allocate memory for %d pipes\n", display->n_pipes);
>
> for (i = 0; i < resources->count_crtcs; i++) {
> igt_pipe_t *pipe;
> + int pipe_enum = (is_intel_dev)?
> + __intel_get_pipe_from_crtc_id(drm_fd,
> + resources->crtcs[i], i) : i;
>
> - if (is_i915_dev) {
> - struct drm_i915_get_pipe_from_crtc_id get_pipe;
> -
> - get_pipe.pipe = 0;
> - get_pipe.crtc_id = resources->crtcs[i];
> - do_ioctl(display->drm_fd,
> - DRM_IOCTL_I915_GET_PIPE_FROM_CRTC_ID, &get_pipe);
> - pipe = &display->pipes[get_pipe.pipe];
> - pipe->pipe = get_pipe.pipe;
> - }
> - else {
> - pipe = &display->pipes[i];
> - pipe->pipe = i;
> - }
> + pipe = &display->pipes[pipe_enum];
> + pipe->pipe = pipe_enum;
>
> /* pipe is enabled/disabled */
> pipe->enabled = true;
--
Jani Nikula, Intel Open Source Graphics Center
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-03-20 12:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-20 6:00 [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Bhanuprakash Modem
2023-03-20 6:47 ` [igt-dev] ✓ Fi.CI.BAT: success for lib/kms: Get pipe enum from debugfs (rev3) Patchwork
2023-03-20 8:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-03-20 12:49 ` [igt-dev] [RFC PATCH] lib/kms: Get pipe enum from debugfs Jani Nikula
-- strict thread matches above, loose matches on Subject: below --
2023-03-17 16:50 Bhanuprakash Modem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox