* [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT
@ 2023-04-18 15:28 Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 1/5] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
` (8 more replies)
0 siblings, 9 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
Add kms tests to XE BAT and update tests to support XE device.
- kms_chamelium_*
- kms_cursor_legacy
- kms_flip
- kms_pipe_crc_basic
- kms_psr
Note: Tests are expected to fail, as intel_bb changes for XE is not
yet landed in IGT lib.
Bhanuprakash Modem (5):
lib: Use i915 namespace for XE debugfs
tests/kms_cursor_legacy: Add XE support
tests/kms_flip: Add XE support
tests/i915/kms_psr*: Add XE support
xe-fast-feedback: Add kms tests to XE BAT
lib/igt_kms.c | 4 +--
lib/igt_psr.c | 4 +--
tests/i915/kms_psr.c | 40 ++++++++++++++++++++----
tests/i915/kms_psr2_sf.c | 2 +-
tests/i915/kms_psr2_su.c | 2 +-
tests/i915/kms_psr_stress_test.c | 2 +-
tests/intel-ci/xe-fast-feedback.testlist | 31 ++++++++++++++++++
tests/kms_cursor_legacy.c | 4 +--
tests/kms_flip.c | 32 ++++++++++++++-----
9 files changed, 98 insertions(+), 23 deletions(-)
--
2.40.0
^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V2 1/5] lib: Use i915 namespace for XE debugfs
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
@ 2023-04-18 15:28 ` Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 2/5] tests/kms_cursor_legacy: Add XE support Bhanuprakash Modem
` (7 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
As of now XE is going to use i915 namespace for their debugfs.
Example: i915_current_bpc is applicable for both i915 & XE
V2: - Rebase
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Acked-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
---
lib/igt_kms.c | 4 ++--
lib/igt_psr.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/igt_kms.c b/lib/igt_kms.c
index a80b26a846b..e085e234a98 100644
--- a/lib/igt_kms.c
+++ b/lib/igt_kms.c
@@ -5706,7 +5706,7 @@ unsigned int igt_get_pipe_current_bpc(int drmfd, enum pipe pipe)
fd = igt_debugfs_pipe_dir(drmfd, pipe, O_RDONLY);
igt_assert(fd >= 0);
- if (is_i915_device(drmfd))
+ if (is_intel_device(drmfd))
strcpy(debugfs_name, "i915_current_bpc");
else if (is_amdgpu_device(drmfd))
strcpy(debugfs_name, "amdgpu_current_bpc");
@@ -5828,7 +5828,7 @@ int igt_get_max_dotclock(int fd)
char *s;
int dir, res, max_dotclock = 0;
- if (!is_i915_device(fd))
+ if (!is_intel_device(fd))
return max_dotclock;
dir = igt_debugfs_dir(fd);
diff --git a/lib/igt_psr.c b/lib/igt_psr.c
index a2d88031268..13f7c567dc9 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -277,7 +277,7 @@ bool i915_psr2_selective_fetch_check(int drm_fd)
int debugfs_fd;
bool ret;
- if (!is_i915_device(drm_fd))
+ if (!is_intel_device(drm_fd))
return false;
debugfs_fd = igt_debugfs_dir(drm_fd);
@@ -303,7 +303,7 @@ bool i915_psr2_sel_fetch_to_psr1(int drm_fd)
int debugfs_fd;
bool ret = false;
- if (!is_i915_device(drm_fd))
+ if (!is_intel_device(drm_fd))
return ret;
debugfs_fd = igt_debugfs_dir(drm_fd);
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V2 2/5] tests/kms_cursor_legacy: Add XE support
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 1/5] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
@ 2023-04-18 15:28 ` Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: " Bhanuprakash Modem
` (6 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
Add XE driver support for kms tests.
V2: - Drop redundant check for i915 device
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
---
tests/kms_cursor_legacy.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 5f430090815..7df6a61257e 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -308,7 +308,7 @@ enum flip_test {
static bool cursor_slowpath(igt_display_t *display, enum flip_test mode)
{
/* Intel display 9 and newer will handle cursor movement as fastsets */
- if (is_i915_device(display->drm_fd) &&
+ if (is_intel_device(display->drm_fd) &&
intel_display_ver(intel_get_drm_devid(display->drm_fd)) >= 9)
return true;
@@ -1465,7 +1465,6 @@ static void flip_vs_cursor_busy_crc(igt_display_t *display, bool atomic)
igt_output_t *output;
igt_plane_t *cursor;
- igt_require_intel(display->drm_fd);
ahnd = get_reloc_ahnd(display->drm_fd, 0);
if (atomic)
@@ -1708,6 +1707,7 @@ igt_main
igt_describe("this test perform a busy bo update followed by a cursor update");
igt_subtest_group {
igt_fixture {
+ igt_require_i915(display.drm_fd);
igt_require_pipe_crc(display.drm_fd);
igt_display_require_output(&display);
}
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V2 3/5] tests/kms_flip: Add XE support
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 1/5] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 2/5] tests/kms_cursor_legacy: Add XE support Bhanuprakash Modem
@ 2023-04-18 15:28 ` Bhanuprakash Modem
2023-04-19 5:18 ` Karthik B S
2023-04-19 6:30 ` [igt-dev] [i-g-t V3 " Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 4/5] tests/i915/kms_psr*: " Bhanuprakash Modem
` (5 subsequent siblings)
8 siblings, 2 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
Add XE driver support for kms tests.
V2: - Minor cleanups
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/kms_flip.c | 32 ++++++++++++++++++++++++--------
1 file changed, 24 insertions(+), 8 deletions(-)
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 5e82f4a2f84..d048f2f125a 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -44,6 +44,7 @@
#include "i915/gem_create.h"
#include "igt_stats.h"
+#include "xe/xe_query.h"
#define TEST_DPMS (1 << 0)
@@ -1347,15 +1348,21 @@ restart:
o->fb_width *= 2;
modifier = DRM_FORMAT_MOD_LINEAR;
- if (o->flags & TEST_FENCE_STRESS)
+ if (o->flags & TEST_FENCE_STRESS) {
+ igt_skip_on(is_xe_device(drm_fd));
modifier = I915_FORMAT_MOD_X_TILED;
+ }
/* 256 MB is usually the maximum mappable aperture,
* (make it 4x times that to ensure failure) */
if (o->flags & TEST_BO_TOOBIG) {
- igt_skip_on(!is_i915_device(drm_fd));
+ igt_skip_on(!is_intel_device(drm_fd));
bo_size = 4*gem_mappable_aperture_size(drm_fd);
- igt_require(bo_size < gem_global_aperture_size(drm_fd));
+
+ if (is_i915_device(drm_fd))
+ igt_require(bo_size < gem_global_aperture_size(drm_fd));
+ else
+ igt_require(bo_size < (1ULL << xe_va_bits(drm_fd)));
}
o->fb_ids[0] = igt_create_fb(drm_fd, o->fb_width, o->fb_height,
@@ -1557,9 +1564,10 @@ static int run_test(int duration, int flags)
struct test_output o;
int i, n, modes = 0;
- igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
+ igt_require((flags & TEST_HANG) == 0 ||
+ (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
igt_require(!(flags & TEST_FENCE_STRESS) ||
- gem_available_fences(drm_fd));
+ (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
resources = drmModeGetResources(drm_fd);
igt_require(resources);
@@ -1626,9 +1634,10 @@ static int run_pair(int duration, int flags)
struct test_output o;
int i, j, m, n, modes = 0;
- igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
+ igt_require((flags & TEST_HANG) == 0 ||
+ (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
igt_require(!(flags & TEST_FENCE_STRESS) ||
- gem_available_fences(drm_fd));
+ (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
resources = drmModeGetResources(drm_fd);
igt_require(resources);
@@ -1813,6 +1822,9 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
igt_install_exit_handler(kms_flip_exit_handler);
get_timestamp_format();
+ if (is_xe_device(drm_fd))
+ xe_device_get(drm_fd);
+
if (is_i915_device(drm_fd)) {
bops = buf_ops_create(drm_fd);
}
@@ -1878,6 +1890,10 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
}
igt_stop_signal_helper();
- igt_fixture
+ igt_fixture {
+ if (is_xe_device(drm_fd))
+ xe_device_put(drm_fd);
+
close(drm_fd);
+ }
}
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V2 4/5] tests/i915/kms_psr*: Add XE support
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (2 preceding siblings ...)
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: " Bhanuprakash Modem
@ 2023-04-18 15:28 ` Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 5/5] xe-fast-feedback: Add kms tests to XE BAT Bhanuprakash Modem
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
Add XE driver support for kms tests.
V2: - Fix unknown subtest error on CI
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/i915/kms_psr.c | 40 +++++++++++++++++++++++++++-----
tests/i915/kms_psr2_sf.c | 2 +-
tests/i915/kms_psr2_su.c | 2 +-
tests/i915/kms_psr_stress_test.c | 2 +-
4 files changed, 37 insertions(+), 9 deletions(-)
diff --git a/tests/i915/kms_psr.c b/tests/i915/kms_psr.c
index 3efe1faec8e..4565acd8a1e 100644
--- a/tests/i915/kms_psr.c
+++ b/tests/i915/kms_psr.c
@@ -29,6 +29,7 @@
#include <stdbool.h>
#include <stdio.h>
#include <string.h>
+#include "xe/xe_ioctl.h"
enum operations {
PAGE_FLIP,
@@ -181,7 +182,8 @@ static void fill_blt(data_t *data, const struct igt_fb *fb, unsigned char color)
intel_bb_destroy(ibb);
intel_buf_destroy(dst);
- gem_bo_busy(data->drm_fd, fb->gem_handle);
+ if (is_i915_device(data->drm_fd))
+ gem_bo_busy(data->drm_fd, fb->gem_handle);
}
static void fill_render(data_t *data, const struct igt_fb *fb,
@@ -204,7 +206,16 @@ static void fill_render(data_t *data, const struct igt_fb *fb,
src = intel_buf_create(data->bops, width, height, fb->plane_bpp[0],
0, tiling, 0);
- gem_write(data->drm_fd, src->handle, 0, buf, 4);
+
+ if (is_i915_device(data->drm_fd)) {
+ gem_write(data->drm_fd, src->handle, 0, buf, 4);
+ } else {
+ void *map = xe_bo_mmap_ext(data->drm_fd, src->handle, 4,
+ PROT_READ | PROT_WRITE);
+
+ memcpy(map, buf, 4);
+ gem_munmap(map, 4);
+ }
rendercopy(ibb,
src, 0, 0, 0xff, 0xff,
@@ -214,7 +225,8 @@ static void fill_render(data_t *data, const struct igt_fb *fb,
intel_buf_destroy(src);
intel_buf_destroy(dst);
- gem_bo_busy(data->drm_fd, fb->gem_handle);
+ if (is_i915_device(data->drm_fd))
+ gem_bo_busy(data->drm_fd, fb->gem_handle);
}
static bool sink_support(data_t *data, enum psr_mode mode)
@@ -256,6 +268,11 @@ static bool drrs_disabled(data_t *data)
{
char buf[512];
+ /*
+ * FIXME: As of now, XE's debugfs is using i915 namespace, once Kernel
+ * changes got landed, please update this logic to use XE specific
+ * debugfs.
+ */
igt_debugfs_simple_read(data->debugfs_fd, "i915_drrs_status",
buf, sizeof(buf));
@@ -388,7 +405,8 @@ static void setup_test_plane(data_t *data, int test_plane)
igt_create_color_fb(data->drm_fd,
data->mode->hdisplay, data->mode->vdisplay,
DRM_FORMAT_XRGB8888,
- I915_FORMAT_MOD_X_TILED,
+ is_i915_device(data->drm_fd) ?
+ I915_FORMAT_MOD_X_TILED : DRM_FORMAT_MOD_LINEAR,
0.0, 1.0, 0.0,
&data->fb_green);
@@ -416,7 +434,8 @@ static void setup_test_plane(data_t *data, int test_plane)
igt_create_color_fb(data->drm_fd,
white_h, white_v,
DRM_FORMAT_XRGB8888,
- I915_FORMAT_MOD_X_TILED,
+ is_i915_device(data->drm_fd) ?
+ I915_FORMAT_MOD_X_TILED : DRM_FORMAT_MOD_LINEAR,
1.0, 1.0, 1.0,
&data->fb_white);
break;
@@ -510,7 +529,7 @@ igt_main_args("", long_options, help_str, opt_handler, &data)
};
igt_fixture {
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
kmstest_set_vt_graphics_mode();
data.devid = intel_get_drm_devid(data.drm_fd);
@@ -547,6 +566,9 @@ igt_main_args("", long_options, help_str, opt_handler, &data)
igt_subtest_f("%sprimary_%s",
append_subtest_name[data.op_psr_mode],
op_str(op)) {
+ igt_skip_on(is_xe_device(data.drm_fd) &&
+ (op == MMAP_CPU || op == MMAP_GTT));
+
data.op = op;
data.test_plane_id = DRM_PLANE_TYPE_PRIMARY;
test_setup(&data);
@@ -561,6 +583,9 @@ igt_main_args("", long_options, help_str, opt_handler, &data)
igt_subtest_f("%ssprite_%s",
append_subtest_name[data.op_psr_mode],
op_str(op)) {
+ igt_skip_on(is_xe_device(data.drm_fd) &&
+ (op == MMAP_CPU || op == MMAP_GTT));
+
data.op = op;
data.test_plane_id = DRM_PLANE_TYPE_OVERLAY;
test_setup(&data);
@@ -573,6 +598,9 @@ igt_main_args("", long_options, help_str, opt_handler, &data)
igt_subtest_f("%scursor_%s",
append_subtest_name[data.op_psr_mode],
op_str(op)) {
+ igt_skip_on(is_xe_device(data.drm_fd) &&
+ (op == MMAP_CPU || op == MMAP_GTT));
+
data.op = op;
data.test_plane_id = DRM_PLANE_TYPE_CURSOR;
test_setup(&data);
diff --git a/tests/i915/kms_psr2_sf.c b/tests/i915/kms_psr2_sf.c
index ffaae68b3e6..4cf9864409c 100644
--- a/tests/i915/kms_psr2_sf.c
+++ b/tests/i915/kms_psr2_sf.c
@@ -898,7 +898,7 @@ igt_main
igt_fixture {
drmModeResPtr res;
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
kmstest_set_vt_graphics_mode();
diff --git a/tests/i915/kms_psr2_su.c b/tests/i915/kms_psr2_su.c
index 3e0a78f24b2..65e67b8c9be 100644
--- a/tests/i915/kms_psr2_su.c
+++ b/tests/i915/kms_psr2_su.c
@@ -297,7 +297,7 @@ igt_main
igt_fixture {
struct itimerspec interval;
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
kmstest_set_vt_graphics_mode();
diff --git a/tests/i915/kms_psr_stress_test.c b/tests/i915/kms_psr_stress_test.c
index 26e222a27b6..a4cb3194ebe 100644
--- a/tests/i915/kms_psr_stress_test.c
+++ b/tests/i915/kms_psr_stress_test.c
@@ -331,7 +331,7 @@ igt_main
data_t data = {};
igt_fixture {
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
data.bops = buf_ops_create(data.drm_fd);
kmstest_set_vt_graphics_mode();
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V2 5/5] xe-fast-feedback: Add kms tests to XE BAT
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (3 preceding siblings ...)
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 4/5] tests/i915/kms_psr*: " Bhanuprakash Modem
@ 2023-04-18 15:28 ` Bhanuprakash Modem
2023-04-18 16:26 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev3) Patchwork
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-18 15:28 UTC (permalink / raw)
To: igt-dev
Add kms tests to XE BAT.
- kms_chamelium_*
- kms_cursor_legacy
- kms_flip
- kms_pipe_crc_basic
- kms_psr
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
---
tests/intel-ci/xe-fast-feedback.testlist | 31 ++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/tests/intel-ci/xe-fast-feedback.testlist b/tests/intel-ci/xe-fast-feedback.testlist
index 5db27c63452..c9ab687cf13 100644
--- a/tests/intel-ci/xe-fast-feedback.testlist
+++ b/tests/intel-ci/xe-fast-feedback.testlist
@@ -165,8 +165,39 @@ igt@kms_addfb_basic@unused-handle
igt@kms_addfb_basic@unused-modifier
igt@kms_addfb_basic@unused-offsets
igt@kms_addfb_basic@unused-pitches
+igt@kms_chamelium_edid@dp-edid-read
+igt@kms_chamelium_edid@hdmi-edid-read
+igt@kms_chamelium_edid@vga-edid-read
+igt@kms_chamelium_frames@dp-crc-fast
+igt@kms_chamelium_frames@hdmi-crc-fast
+igt@kms_chamelium_hpd@common-hpd-after-suspend
+igt@kms_chamelium_hpd@dp-hpd-fast
+igt@kms_chamelium_hpd@hdmi-hpd-fast
+igt@kms_chamelium_hpd@vga-hpd-fast
+igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic
+igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy
+igt@kms_cursor_legacy@basic-flip-after-cursor-atomic
+igt@kms_cursor_legacy@basic-flip-after-cursor-legacy
+igt@kms_cursor_legacy@basic-flip-after-cursor-varying-size
+igt@kms_cursor_legacy@basic-flip-before-cursor-atomic
+igt@kms_cursor_legacy@basic-flip-before-cursor-legacy
+igt@kms_cursor_legacy@basic-flip-before-cursor-varying-size
+igt@kms_flip@basic-flip-vs-dpms
+igt@kms_flip@basic-flip-vs-modeset
+igt@kms_flip@basic-flip-vs-wf_vblank
+igt@kms_flip@basic-plain-flip
igt@kms_force_connector_basic@force-connector-state
igt@kms_force_connector_basic@force-edid
igt@kms_force_connector_basic@force-load-detect
igt@kms_force_connector_basic@prune-stale-modes
+igt@kms_pipe_crc_basic@compare-crc-sanitycheck
+igt@kms_pipe_crc_basic@hang-read-crc
+igt@kms_pipe_crc_basic@nonblocking-crc
+igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence
+igt@kms_pipe_crc_basic@read-crc
+igt@kms_pipe_crc_basic@read-crc-frame-sequence
+igt@kms_pipe_crc_basic@suspend-read-crc
igt@kms_prop_blob@basic
+igt@kms_psr@primary_page_flip
+igt@kms_psr@cursor_plane_move
+igt@kms_psr@sprite_plane_onoff
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev3)
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (4 preceding siblings ...)
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 5/5] xe-fast-feedback: Add kms tests to XE BAT Bhanuprakash Modem
@ 2023-04-18 16:26 ` Patchwork
2023-04-18 19:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-04-18 16:26 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 4666 bytes --]
== Series Details ==
Series: Enable KMS tests in XE BAT (rev3)
URL : https://patchwork.freedesktop.org/series/116449/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13026 -> IGTPW_8816
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/index.html
Participating hosts (38 -> 38)
------------------------------
Additional (1): fi-kbl-soraka
Missing (1): fi-snb-2520m
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8816:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@i915_selftest@live@gt_pm:
- {bat-mtlp-8}: [DMESG-FAIL][1] ([i915#8370]) -> [DMESG-FAIL][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/bat-mtlp-8/igt@i915_selftest@live@gt_pm.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/bat-mtlp-8/igt@i915_selftest@live@gt_pm.html
Known issues
------------
Here are the changes found in IGTPW_8816 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: [PASS][3] -> [ABORT][4] ([i915#6687] / [i915#7978])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][5] ([fdo#109271] / [i915#2190])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/fi-kbl-soraka/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#4613]) +3 similar issues
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/fi-kbl-soraka/igt@gem_lmem_swapping@basic.html
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][7] ([i915#1886])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][8] ([fdo#109271]) +16 similar issues
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/fi-kbl-soraka/igt@kms_chamelium_frames@hdmi-crc-fast.html
#### Possible fixes ####
* igt@i915_selftest@live@migrate:
- bat-dg2-11: [DMESG-WARN][9] ([i915#7699]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/bat-dg2-11/igt@i915_selftest@live@migrate.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/bat-dg2-11/igt@i915_selftest@live@migrate.html
* igt@i915_selftest@live@slpc:
- bat-rpls-1: [DMESG-FAIL][11] ([i915#6367] / [i915#6997]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/bat-rpls-1/igt@i915_selftest@live@slpc.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/bat-rpls-1/igt@i915_selftest@live@slpc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#6997]: https://gitlab.freedesktop.org/drm/intel/issues/6997
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#8370]: https://gitlab.freedesktop.org/drm/intel/issues/8370
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7259 -> IGTPW_8816
CI-20190529: 20190529
CI_DRM_13026: 45bed7de41ad8bd909a82382a8fc4cb65e04ad56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8816: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/index.html
IGT_7259: 3d3a7f1c041d3f8d84d7457abf96adef0ea071cb @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/index.html
[-- Attachment #2: Type: text/html, Size: 5460 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for Enable KMS tests in XE BAT (rev3)
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (5 preceding siblings ...)
2023-04-18 16:26 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev3) Patchwork
@ 2023-04-18 19:45 ` Patchwork
2023-04-19 7:14 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev4) Patchwork
2023-04-19 8:33 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
8 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-04-18 19:45 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 16727 bytes --]
== Series Details ==
Series: Enable KMS tests in XE BAT (rev3)
URL : https://patchwork.freedesktop.org/series/116449/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13026_full -> IGTPW_8816_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/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_8816_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@kms_flip@flip-vs-fences-interruptible:
- {shard-dg1}: [SKIP][1] ([i915#4859]) -> [SKIP][2]
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-dg1-16/igt@kms_flip@flip-vs-fences-interruptible.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-dg1-15/igt@kms_flip@flip-vs-fences-interruptible.html
* igt@kms_vblank@pipe-g-query-busy:
- {shard-tglu}: NOTRUN -> [SKIP][3] +8 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-tglu-10/igt@kms_vblank@pipe-g-query-busy.html
* igt@kms_vblank@pipe-g-query-idle:
- {shard-dg1}: NOTRUN -> [SKIP][4] +49 similar issues
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-dg1-17/igt@kms_vblank@pipe-g-query-idle.html
Known issues
------------
Here are the changes found in IGTPW_8816_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-pace-solo@rcs0:
- shard-apl: [PASS][5] -> [FAIL][6] ([i915#2842])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-apl7/igt@gem_exec_fair@basic-pace-solo@rcs0.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-apl4/igt@gem_exec_fair@basic-pace-solo@rcs0.html
* igt@gem_ppgtt@blt-vs-render-ctxn:
- shard-snb: [PASS][7] -> [DMESG-FAIL][8] ([i915#8186])
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-snb5/igt@gem_ppgtt@blt-vs-render-ctxn.html
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-snb1/igt@gem_ppgtt@blt-vs-render-ctxn.html
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][9] -> [ABORT][10] ([i915#5566])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-glk9/igt@gen9_exec_parse@allowed-single.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk6/igt@gen9_exec_parse@allowed-single.html
* igt@i915_selftest@live@gt_heartbeat:
- shard-glk: [PASS][11] -> [DMESG-FAIL][12] ([i915#5334])
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-glk4/igt@i915_selftest@live@gt_heartbeat.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk1/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-glk: NOTRUN -> [FAIL][13] ([i915#4767])
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk4/igt@kms_fbcon_fbt@fbc-suspend.html
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-valid-mode:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271]) +4 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-apl2/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-64bpp-ytile-downscaling@pipe-a-valid-mode.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-vga-1:
- shard-snb: NOTRUN -> [SKIP][15] ([fdo#109271]) +39 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-snb5/igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-vga-1.html
* igt@kms_vblank@pipe-g-query-forked:
- shard-glk: NOTRUN -> [SKIP][16] ([fdo#109271]) +8 similar issues
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk9/igt@kms_vblank@pipe-g-query-forked.html
#### Possible fixes ####
* igt@gem_barrier_race@remote-request@rcs0:
- {shard-tglu}: [ABORT][17] ([i915#8211]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-tglu-9/igt@gem_barrier_race@remote-request@rcs0.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-tglu-3/igt@gem_barrier_race@remote-request@rcs0.html
* igt@gem_exec_fair@basic-none-solo@rcs0:
- shard-apl: [FAIL][19] ([i915#2842]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-apl1/igt@gem_exec_fair@basic-none-solo@rcs0.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-apl3/igt@gem_exec_fair@basic-none-solo@rcs0.html
* igt@gem_exec_fair@basic-pace-share@rcs0:
- {shard-tglu}: [FAIL][21] ([i915#2842]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-tglu-10/igt@gem_exec_fair@basic-pace-share@rcs0.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-tglu-6/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [FAIL][23] ([i915#2842]) -> [PASS][24] +2 similar issues
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-glk5/igt@gem_exec_fair@basic-pace@vcs0.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk4/igt@gem_exec_fair@basic-pace@vcs0.html
* igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a:
- {shard-dg1}: [SKIP][25] ([i915#1937]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-dg1-17/igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-dg1-14/igt@i915_pm_lpsp@kms-lpsp@kms-lpsp-hdmi-a.html
* igt@i915_pm_rpm@dpms-non-lpsp:
- {shard-rkl}: [SKIP][27] ([i915#1397]) -> [PASS][28] +2 similar issues
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-rkl-7/igt@i915_pm_rpm@dpms-non-lpsp.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-rkl-1/igt@i915_pm_rpm@dpms-non-lpsp.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [FAIL][29] ([i915#2346]) -> [PASS][30] +1 similar issue
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-glk1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
- shard-apl: [FAIL][31] ([i915#2346]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-apl7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_cursor_legacy@forked-bo@pipe-b:
- {shard-rkl}: [INCOMPLETE][33] ([i915#8011]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-rkl-7/igt@kms_cursor_legacy@forked-bo@pipe-b.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-rkl-3/igt@kms_cursor_legacy@forked-bo@pipe-b.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2:
- shard-glk: [FAIL][35] ([i915#79]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-glk2/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-glk3/igt@kms_flip@flip-vs-expired-vblank-interruptible@c-hdmi-a2.html
* igt@perf_pmu@idle@rcs0:
- {shard-rkl}: [FAIL][37] ([i915#4349]) -> [PASS][38]
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13026/shard-rkl-3/igt@perf_pmu@idle@rcs0.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/shard-rkl-1/igt@perf_pmu@idle@rcs0.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[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#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[fdo#112283]: https://bugs.freedesktop.org/show_bug.cgi?id=112283
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[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#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[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#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#2876]: https://gitlab.freedesktop.org/drm/intel/issues/2876
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[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#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3359]: https://gitlab.freedesktop.org/drm/intel/issues/3359
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3637]: https://gitlab.freedesktop.org/drm/intel/issues/3637
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[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#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[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#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4213]: https://gitlab.freedesktop.org/drm/intel/issues/4213
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[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#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4884]: https://gitlab.freedesktop.org/drm/intel/issues/4884
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[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#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6755]: https://gitlab.freedesktop.org/drm/intel/issues/6755
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#79]: https://gitlab.freedesktop.org/drm/intel/issues/79
[i915#7967]: https://gitlab.freedesktop.org/drm/intel/issues/7967
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8150]: https://gitlab.freedesktop.org/drm/intel/issues/8150
[i915#8186]: https://gitlab.freedesktop.org/drm/intel/issues/8186
[i915#8211]: https://gitlab.freedesktop.org/drm/intel/issues/8211
[i915#8292]: https://gitlab.freedesktop.org/drm/intel/issues/8292
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7259 -> IGTPW_8816
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_13026: 45bed7de41ad8bd909a82382a8fc4cb65e04ad56 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8816: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8816/index.html
IGT_7259: 3d3a7f1c041d3f8d84d7457abf96adef0ea071cb @ 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_8816/index.html
[-- Attachment #2: Type: text/html, Size: 11386 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [igt-dev] [i-g-t V2 3/5] tests/kms_flip: Add XE support
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: " Bhanuprakash Modem
@ 2023-04-19 5:18 ` Karthik B S
2023-04-19 6:30 ` [igt-dev] [i-g-t V3 " Bhanuprakash Modem
1 sibling, 0 replies; 13+ messages in thread
From: Karthik B S @ 2023-04-19 5:18 UTC (permalink / raw)
To: Bhanuprakash Modem, igt-dev
On 4/18/2023 8:58 PM, Bhanuprakash Modem wrote:
> Add XE driver support for kms tests.
>
> V2: - Minor cleanups
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
> ---
> tests/kms_flip.c | 32 ++++++++++++++++++++++++--------
> 1 file changed, 24 insertions(+), 8 deletions(-)
>
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index 5e82f4a2f84..d048f2f125a 100755
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -44,6 +44,7 @@
>
> #include "i915/gem_create.h"
> #include "igt_stats.h"
> +#include "xe/xe_query.h"
>
> #define TEST_DPMS (1 << 0)
>
> @@ -1347,15 +1348,21 @@ restart:
> o->fb_width *= 2;
>
> modifier = DRM_FORMAT_MOD_LINEAR;
> - if (o->flags & TEST_FENCE_STRESS)
> + if (o->flags & TEST_FENCE_STRESS) {
> + igt_skip_on(is_xe_device(drm_fd));
> modifier = I915_FORMAT_MOD_X_TILED;
Hi,
Would it be possible to move this check to the main function where we
can directly skip the test if we've TEST_FENCE_STRESS flag being used?
Or do we have any case where we use the TEST_FENCE_STRESS flag without
using tiled modifiers?
Just so that we skip the test right at the beginning instead of doing
all the setup before finally skipping.
Other than this, the patch LGTM.
Thanks,
Karthik.B.S
> + }
>
> /* 256 MB is usually the maximum mappable aperture,
> * (make it 4x times that to ensure failure) */
> if (o->flags & TEST_BO_TOOBIG) {
> - igt_skip_on(!is_i915_device(drm_fd));
> + igt_skip_on(!is_intel_device(drm_fd));
> bo_size = 4*gem_mappable_aperture_size(drm_fd);
> - igt_require(bo_size < gem_global_aperture_size(drm_fd));
> +
> + if (is_i915_device(drm_fd))
> + igt_require(bo_size < gem_global_aperture_size(drm_fd));
> + else
> + igt_require(bo_size < (1ULL << xe_va_bits(drm_fd)));
> }
>
> o->fb_ids[0] = igt_create_fb(drm_fd, o->fb_width, o->fb_height,
> @@ -1557,9 +1564,10 @@ static int run_test(int duration, int flags)
> struct test_output o;
> int i, n, modes = 0;
>
> - igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
> + igt_require((flags & TEST_HANG) == 0 ||
> + (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
> igt_require(!(flags & TEST_FENCE_STRESS) ||
> - gem_available_fences(drm_fd));
> + (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
>
> resources = drmModeGetResources(drm_fd);
> igt_require(resources);
> @@ -1626,9 +1634,10 @@ static int run_pair(int duration, int flags)
> struct test_output o;
> int i, j, m, n, modes = 0;
>
> - igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
> + igt_require((flags & TEST_HANG) == 0 ||
> + (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
> igt_require(!(flags & TEST_FENCE_STRESS) ||
> - gem_available_fences(drm_fd));
> + (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
>
> resources = drmModeGetResources(drm_fd);
> igt_require(resources);
> @@ -1813,6 +1822,9 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
> igt_install_exit_handler(kms_flip_exit_handler);
> get_timestamp_format();
>
> + if (is_xe_device(drm_fd))
> + xe_device_get(drm_fd);
> +
> if (is_i915_device(drm_fd)) {
> bops = buf_ops_create(drm_fd);
> }
> @@ -1878,6 +1890,10 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
> }
> igt_stop_signal_helper();
>
> - igt_fixture
> + igt_fixture {
> + if (is_xe_device(drm_fd))
> + xe_device_put(drm_fd);
> +
> close(drm_fd);
> + }
> }
^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] [i-g-t V3 3/5] tests/kms_flip: Add XE support
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: " Bhanuprakash Modem
2023-04-19 5:18 ` Karthik B S
@ 2023-04-19 6:30 ` Bhanuprakash Modem
2023-04-19 10:22 ` Karthik B S
1 sibling, 1 reply; 13+ messages in thread
From: Bhanuprakash Modem @ 2023-04-19 6:30 UTC (permalink / raw)
To: igt-dev
Add XE driver support for kms tests.
V2: - Minor cleanups
V3: - Don't run the test instead of SKIP
Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/kms_flip.c | 42 +++++++++++++++++++++++++++++++-----------
1 file changed, 31 insertions(+), 11 deletions(-)
diff --git a/tests/kms_flip.c b/tests/kms_flip.c
index 5e82f4a2f..e4c98b8ec 100755
--- a/tests/kms_flip.c
+++ b/tests/kms_flip.c
@@ -44,6 +44,7 @@
#include "i915/gem_create.h"
#include "igt_stats.h"
+#include "xe/xe_query.h"
#define TEST_DPMS (1 << 0)
@@ -1353,9 +1354,13 @@ restart:
/* 256 MB is usually the maximum mappable aperture,
* (make it 4x times that to ensure failure) */
if (o->flags & TEST_BO_TOOBIG) {
- igt_skip_on(!is_i915_device(drm_fd));
+ igt_skip_on(!is_intel_device(drm_fd));
bo_size = 4*gem_mappable_aperture_size(drm_fd);
- igt_require(bo_size < gem_global_aperture_size(drm_fd));
+
+ if (is_i915_device(drm_fd))
+ igt_require(bo_size < gem_global_aperture_size(drm_fd));
+ else
+ igt_require(bo_size < (1ULL << xe_va_bits(drm_fd)));
}
o->fb_ids[0] = igt_create_fb(drm_fd, o->fb_width, o->fb_height,
@@ -1552,14 +1557,19 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
__run_test_on_crtc_set(o, crtc_idxs, crtc_count, duration_ms);
}
-static int run_test(int duration, int flags)
+static void run_test(int duration, int flags)
{
struct test_output o;
int i, n, modes = 0;
- igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
+ /* No tiling support in XE. */
+ if (is_xe_device(drm_fd) && flags & TEST_FENCE_STRESS)
+ return;
+
+ igt_require((flags & TEST_HANG) == 0 ||
+ (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
igt_require(!(flags & TEST_FENCE_STRESS) ||
- gem_available_fences(drm_fd));
+ (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
resources = drmModeGetResources(drm_fd);
igt_require(resources);
@@ -1618,17 +1628,21 @@ static int run_test(int duration, int flags)
}
drmModeFreeResources(resources);
- return 1;
}
-static int run_pair(int duration, int flags)
+static void run_pair(int duration, int flags)
{
struct test_output o;
int i, j, m, n, modes = 0;
- igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
+ /* No tiling support in XE. */
+ if (is_xe_device(drm_fd) && flags & TEST_FENCE_STRESS)
+ return;
+
+ igt_require((flags & TEST_HANG) == 0 ||
+ (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
igt_require(!(flags & TEST_FENCE_STRESS) ||
- gem_available_fences(drm_fd));
+ (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
resources = drmModeGetResources(drm_fd);
igt_require(resources);
@@ -1693,7 +1707,6 @@ static int run_pair(int duration, int flags)
}
drmModeFreeResources(resources);
- return 1;
}
static void get_timestamp_format(void)
@@ -1813,6 +1826,9 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
igt_install_exit_handler(kms_flip_exit_handler);
get_timestamp_format();
+ if (is_xe_device(drm_fd))
+ xe_device_get(drm_fd);
+
if (is_i915_device(drm_fd)) {
bops = buf_ops_create(drm_fd);
}
@@ -1878,6 +1894,10 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
}
igt_stop_signal_helper();
- igt_fixture
+ igt_fixture {
+ if (is_xe_device(drm_fd))
+ xe_device_put(drm_fd);
+
close(drm_fd);
+ }
}
--
2.40.0
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev4)
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (6 preceding siblings ...)
2023-04-18 19:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-04-19 7:14 ` Patchwork
2023-04-19 8:33 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
8 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-04-19 7:14 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 5585 bytes --]
== Series Details ==
Series: Enable KMS tests in XE BAT (rev4)
URL : https://patchwork.freedesktop.org/series/116449/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13027 -> IGTPW_8821
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/index.html
Participating hosts (37 -> 37)
------------------------------
Additional (1): fi-kbl-soraka
Missing (1): fi-snb-2520m
Known issues
------------
Here are the changes found in IGTPW_8821 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_suspend@basic-s3@smem:
- bat-rpls-1: NOTRUN -> [ABORT][1] ([i915#6687] / [i915#7978])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-rpls-1/igt@gem_exec_suspend@basic-s3@smem.html
* igt@gem_huc_copy@huc-copy:
- fi-kbl-soraka: NOTRUN -> [SKIP][2] ([fdo#109271] / [i915#2190])
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-kbl-soraka/igt@gem_huc_copy@huc-copy.html
* igt@gem_lmem_swapping@basic:
- fi-kbl-soraka: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#4613]) +3 similar issues
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-kbl-soraka/igt@gem_lmem_swapping@basic.html
* igt@i915_selftest@live@gt_pm:
- fi-kbl-soraka: NOTRUN -> [DMESG-FAIL][4] ([i915#1886])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-kbl-soraka/igt@i915_selftest@live@gt_pm.html
* igt@i915_selftest@live@migrate:
- bat-adlp-9: [PASS][5] -> [DMESG-FAIL][6] ([i915#7699])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/bat-adlp-9/igt@i915_selftest@live@migrate.html
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-adlp-9/igt@i915_selftest@live@migrate.html
* igt@kms_chamelium_frames@hdmi-crc-fast:
- fi-kbl-soraka: NOTRUN -> [SKIP][7] ([fdo#109271]) +16 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-kbl-soraka/igt@kms_chamelium_frames@hdmi-crc-fast.html
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- fi-glk-j4005: NOTRUN -> [SKIP][8] ([fdo#109271])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-glk-j4005/igt@kms_chamelium_hpd@common-hpd-after-suspend.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence:
- bat-dg2-11: NOTRUN -> [SKIP][9] ([i915#5354])
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html
* igt@kms_pipe_crc_basic@read-crc:
- bat-adlp-9: NOTRUN -> [SKIP][10] ([i915#3546]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-adlp-9/igt@kms_pipe_crc_basic@read-crc.html
#### Possible fixes ####
* igt@dmabuf@all-tests@dma_fence:
- fi-glk-j4005: [ABORT][11] -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/fi-glk-j4005/igt@dmabuf@all-tests@dma_fence.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-glk-j4005/igt@dmabuf@all-tests@dma_fence.html
* igt@dmabuf@all-tests@dma_fence_chain:
- fi-glk-j4005: [DMESG-FAIL][13] -> [PASS][14]
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/fi-glk-j4005/igt@dmabuf@all-tests@dma_fence_chain.html
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/fi-glk-j4005/igt@dmabuf@all-tests@dma_fence_chain.html
* igt@i915_selftest@live@requests:
- bat-rpls-1: [ABORT][15] ([i915#7911] / [i915#7982]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/bat-rpls-1/igt@i915_selftest@live@requests.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-rpls-1/igt@i915_selftest@live@requests.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1:
- bat-dg2-8: [FAIL][17] ([i915#7932]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-c-dp-1.html
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1886]: https://gitlab.freedesktop.org/drm/intel/issues/1886
[i915#2190]: https://gitlab.freedesktop.org/drm/intel/issues/2190
[i915#3546]: https://gitlab.freedesktop.org/drm/intel/issues/3546
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#6687]: https://gitlab.freedesktop.org/drm/intel/issues/6687
[i915#7699]: https://gitlab.freedesktop.org/drm/intel/issues/7699
[i915#7911]: https://gitlab.freedesktop.org/drm/intel/issues/7911
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7978]: https://gitlab.freedesktop.org/drm/intel/issues/7978
[i915#7982]: https://gitlab.freedesktop.org/drm/intel/issues/7982
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7259 -> IGTPW_8821
CI-20190529: 20190529
CI_DRM_13027: 9e1eb302fc69b5d8dc662f1ce7ed8684e87c5751 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8821: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/index.html
IGT_7259: 3d3a7f1c041d3f8d84d7457abf96adef0ea071cb @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/index.html
[-- Attachment #2: Type: text/html, Size: 6708 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for Enable KMS tests in XE BAT (rev4)
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
` (7 preceding siblings ...)
2023-04-19 7:14 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev4) Patchwork
@ 2023-04-19 8:33 ` Patchwork
8 siblings, 0 replies; 13+ messages in thread
From: Patchwork @ 2023-04-19 8:33 UTC (permalink / raw)
To: Bhanuprakash Modem; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 16332 bytes --]
== Series Details ==
Series: Enable KMS tests in XE BAT (rev4)
URL : https://patchwork.freedesktop.org/series/116449/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_13027_full -> IGTPW_8821_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/index.html
Participating hosts (8 -> 7)
------------------------------
Missing (1): shard-rkl0
Possible new issues
-------------------
Here are the unknown changes that may have been introduced in IGTPW_8821_full:
### IGT changes ###
#### Suppressed ####
The following results come from untrusted machines, tests, or statuses.
They do not affect the overall result.
* igt@kms_flip@2x-flip-vs-fences:
- {shard-dg1}: NOTRUN -> [SKIP][1] +2 similar issues
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-dg1-18/igt@kms_flip@2x-flip-vs-fences.html
* igt@kms_rotation_crc@bad-pixel-format:
- {shard-rkl}: [PASS][2] -> [ABORT][3]
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-rkl-4/igt@kms_rotation_crc@bad-pixel-format.html
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-rkl-7/igt@kms_rotation_crc@bad-pixel-format.html
Known issues
------------
Here are the changes found in IGTPW_8821_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-none-share@rcs0:
- shard-glk: [PASS][4] -> [FAIL][5] ([i915#2842])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-glk5/igt@gem_exec_fair@basic-none-share@rcs0.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk4/igt@gem_exec_fair@basic-none-share@rcs0.html
* igt@gem_workarounds@suspend-resume:
- shard-apl: [PASS][6] -> [ABORT][7] ([i915#180])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-apl3/igt@gem_workarounds@suspend-resume.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl6/igt@gem_workarounds@suspend-resume.html
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [PASS][8] -> [ABORT][9] ([i915#5566])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-apl7/igt@gen9_exec_parse@allowed-single.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl7/igt@gen9_exec_parse@allowed-single.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#2346])
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-glk8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk3/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_fbcon_fbt@fbc-suspend:
- shard-glk: NOTRUN -> [FAIL][12] ([i915#4767])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk2/igt@kms_fbcon_fbt@fbc-suspend.html
* igt@kms_flip@2x-plain-flip-fb-recreate:
- shard-apl: NOTRUN -> [SKIP][13] ([fdo#109271]) +11 similar issues
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl2/igt@kms_flip@2x-plain-flip-fb-recreate.html
* igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-vga-1:
- shard-snb: NOTRUN -> [SKIP][14] ([fdo#109271]) +44 similar issues
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-snb5/igt@kms_plane_scaling@planes-downscale-factor-0-5-unity-scaling@pipe-b-vga-1.html
* igt@kms_vblank@pipe-g-query-forked:
- shard-glk: NOTRUN -> [SKIP][15] ([fdo#109271]) +14 similar issues
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk5/igt@kms_vblank@pipe-g-query-forked.html
#### Possible fixes ####
* igt@drm_fdinfo@most-busy-check-all@rcs0:
- {shard-rkl}: [FAIL][16] ([i915#7742]) -> [PASS][17]
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-rkl-2/igt@drm_fdinfo@most-busy-check-all@rcs0.html
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-rkl-6/igt@drm_fdinfo@most-busy-check-all@rcs0.html
* igt@gem_exec_endless@dispatch@bcs0:
- {shard-dg1}: [TIMEOUT][18] ([i915#3778]) -> [PASS][19]
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-dg1-14/igt@gem_exec_endless@dispatch@bcs0.html
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-dg1-18/igt@gem_exec_endless@dispatch@bcs0.html
* igt@gem_exec_fair@basic-pace@rcs0:
- {shard-rkl}: [FAIL][20] ([i915#2842]) -> [PASS][21] +1 similar issue
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-rkl-7/igt@gem_exec_fair@basic-pace@rcs0.html
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-rkl-4/igt@gem_exec_fair@basic-pace@rcs0.html
* igt@gem_exec_fair@basic-pace@vcs0:
- shard-glk: [FAIL][22] ([i915#2842]) -> [PASS][23] +2 similar issues
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-glk9/igt@gem_exec_fair@basic-pace@vcs0.html
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk6/igt@gem_exec_fair@basic-pace@vcs0.html
* igt@i915_pm_dc@dc9-dpms:
- shard-apl: [SKIP][24] ([fdo#109271]) -> [PASS][25]
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-apl3/igt@i915_pm_dc@dc9-dpms.html
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl7/igt@i915_pm_dc@dc9-dpms.html
* igt@i915_pm_rpm@dpms-mode-unset-lpsp:
- {shard-rkl}: [SKIP][26] ([i915#1397]) -> [PASS][27]
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-rkl-2/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-rkl-7/igt@i915_pm_rpm@dpms-mode-unset-lpsp.html
* igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait:
- {shard-dg1}: [SKIP][28] ([i915#1397]) -> [PASS][29]
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-dg1-14/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-dg1-15/igt@i915_pm_rpm@modeset-non-lpsp-stress-no-wait.html
* igt@i915_suspend@forcewake:
- shard-apl: [ABORT][30] ([i915#180]) -> [PASS][31]
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-apl6/igt@i915_suspend@forcewake.html
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl1/igt@i915_suspend@forcewake.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size:
- shard-apl: [FAIL][32] ([i915#2346]) -> [PASS][33]
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-apl4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-apl1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
- shard-glk: [FAIL][34] ([i915#2346]) -> [PASS][35]
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-glk7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-glk6/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html
* igt@kms_cursor_legacy@forked-bo@pipe-b:
- {shard-rkl}: [INCOMPLETE][36] ([i915#8011]) -> [PASS][37]
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13027/shard-rkl-7/igt@kms_cursor_legacy@forked-bo@pipe-b.html
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/shard-rkl-3/igt@kms_cursor_legacy@forked-bo@pipe-b.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109274]: https://bugs.freedesktop.org/show_bug.cgi?id=109274
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109291]: https://bugs.freedesktop.org/show_bug.cgi?id=109291
[fdo#109295]: https://bugs.freedesktop.org/show_bug.cgi?id=109295
[fdo#109309]: https://bugs.freedesktop.org/show_bug.cgi?id=109309
[fdo#109313]: https://bugs.freedesktop.org/show_bug.cgi?id=109313
[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#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1825]: https://gitlab.freedesktop.org/drm/intel/issues/1825
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2433]: https://gitlab.freedesktop.org/drm/intel/issues/2433
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2856]: https://gitlab.freedesktop.org/drm/intel/issues/2856
[i915#3023]: https://gitlab.freedesktop.org/drm/intel/issues/3023
[i915#3116]: https://gitlab.freedesktop.org/drm/intel/issues/3116
[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#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3323]: https://gitlab.freedesktop.org/drm/intel/issues/3323
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[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#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#3743]: https://gitlab.freedesktop.org/drm/intel/issues/3743
[i915#3778]: https://gitlab.freedesktop.org/drm/intel/issues/3778
[i915#3840]: https://gitlab.freedesktop.org/drm/intel/issues/3840
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3955]: https://gitlab.freedesktop.org/drm/intel/issues/3955
[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#4281]: https://gitlab.freedesktop.org/drm/intel/issues/4281
[i915#4525]: https://gitlab.freedesktop.org/drm/intel/issues/4525
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4767]: https://gitlab.freedesktop.org/drm/intel/issues/4767
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4816]: https://gitlab.freedesktop.org/drm/intel/issues/4816
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#4885]: https://gitlab.freedesktop.org/drm/intel/issues/4885
[i915#4958]: https://gitlab.freedesktop.org/drm/intel/issues/4958
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#533]: https://gitlab.freedesktop.org/drm/intel/issues/533
[i915#5354]: https://gitlab.freedesktop.org/drm/intel/issues/5354
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#5784]: https://gitlab.freedesktop.org/drm/intel/issues/5784
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6230]: https://gitlab.freedesktop.org/drm/intel/issues/6230
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6335]: https://gitlab.freedesktop.org/drm/intel/issues/6335
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6768]: https://gitlab.freedesktop.org/drm/intel/issues/6768
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7118]: https://gitlab.freedesktop.org/drm/intel/issues/7118
[i915#7178]: https://gitlab.freedesktop.org/drm/intel/issues/7178
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7742]: https://gitlab.freedesktop.org/drm/intel/issues/7742
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8011]: https://gitlab.freedesktop.org/drm/intel/issues/8011
[i915#8213]: https://gitlab.freedesktop.org/drm/intel/issues/8213
[i915#8228]: https://gitlab.freedesktop.org/drm/intel/issues/8228
[i915#8371]: https://gitlab.freedesktop.org/drm/intel/issues/8371
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7259 -> IGTPW_8821
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_13027: 9e1eb302fc69b5d8dc662f1ce7ed8684e87c5751 @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8821: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8821/index.html
IGT_7259: 3d3a7f1c041d3f8d84d7457abf96adef0ea071cb @ 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_8821/index.html
[-- Attachment #2: Type: text/html, Size: 10960 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [igt-dev] [i-g-t V3 3/5] tests/kms_flip: Add XE support
2023-04-19 6:30 ` [igt-dev] [i-g-t V3 " Bhanuprakash Modem
@ 2023-04-19 10:22 ` Karthik B S
0 siblings, 0 replies; 13+ messages in thread
From: Karthik B S @ 2023-04-19 10:22 UTC (permalink / raw)
To: Bhanuprakash Modem, igt-dev
On 4/19/2023 12:00 PM, Bhanuprakash Modem wrote:
> Add XE driver support for kms tests.
>
> V2: - Minor cleanups
> V3: - Don't run the test instead of SKIP
>
> Signed-off-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
Reviewed-by: Karthik B S <karthik.b.s@intel.com>
> ---
> tests/kms_flip.c | 42 +++++++++++++++++++++++++++++++-----------
> 1 file changed, 31 insertions(+), 11 deletions(-)
>
> diff --git a/tests/kms_flip.c b/tests/kms_flip.c
> index 5e82f4a2f..e4c98b8ec 100755
> --- a/tests/kms_flip.c
> +++ b/tests/kms_flip.c
> @@ -44,6 +44,7 @@
>
> #include "i915/gem_create.h"
> #include "igt_stats.h"
> +#include "xe/xe_query.h"
>
> #define TEST_DPMS (1 << 0)
>
> @@ -1353,9 +1354,13 @@ restart:
> /* 256 MB is usually the maximum mappable aperture,
> * (make it 4x times that to ensure failure) */
> if (o->flags & TEST_BO_TOOBIG) {
> - igt_skip_on(!is_i915_device(drm_fd));
> + igt_skip_on(!is_intel_device(drm_fd));
> bo_size = 4*gem_mappable_aperture_size(drm_fd);
> - igt_require(bo_size < gem_global_aperture_size(drm_fd));
> +
> + if (is_i915_device(drm_fd))
> + igt_require(bo_size < gem_global_aperture_size(drm_fd));
> + else
> + igt_require(bo_size < (1ULL << xe_va_bits(drm_fd)));
> }
>
> o->fb_ids[0] = igt_create_fb(drm_fd, o->fb_width, o->fb_height,
> @@ -1552,14 +1557,19 @@ static void run_test_on_crtc_set(struct test_output *o, int *crtc_idxs,
> __run_test_on_crtc_set(o, crtc_idxs, crtc_count, duration_ms);
> }
>
> -static int run_test(int duration, int flags)
> +static void run_test(int duration, int flags)
> {
> struct test_output o;
> int i, n, modes = 0;
>
> - igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
> + /* No tiling support in XE. */
> + if (is_xe_device(drm_fd) && flags & TEST_FENCE_STRESS)
> + return;
> +
> + igt_require((flags & TEST_HANG) == 0 ||
> + (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
> igt_require(!(flags & TEST_FENCE_STRESS) ||
> - gem_available_fences(drm_fd));
> + (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
>
> resources = drmModeGetResources(drm_fd);
> igt_require(resources);
> @@ -1618,17 +1628,21 @@ static int run_test(int duration, int flags)
> }
>
> drmModeFreeResources(resources);
> - return 1;
> }
>
> -static int run_pair(int duration, int flags)
> +static void run_pair(int duration, int flags)
> {
> struct test_output o;
> int i, j, m, n, modes = 0;
>
> - igt_require((flags & TEST_HANG) == 0 || !is_wedged(drm_fd));
> + /* No tiling support in XE. */
> + if (is_xe_device(drm_fd) && flags & TEST_FENCE_STRESS)
> + return;
> +
> + igt_require((flags & TEST_HANG) == 0 ||
> + (is_i915_device(drm_fd) && !is_wedged(drm_fd)));
> igt_require(!(flags & TEST_FENCE_STRESS) ||
> - gem_available_fences(drm_fd));
> + (is_i915_device(drm_fd) && gem_available_fences(drm_fd)));
>
> resources = drmModeGetResources(drm_fd);
> igt_require(resources);
> @@ -1693,7 +1707,6 @@ static int run_pair(int duration, int flags)
> }
>
> drmModeFreeResources(resources);
> - return 1;
> }
>
> static void get_timestamp_format(void)
> @@ -1813,6 +1826,9 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
> igt_install_exit_handler(kms_flip_exit_handler);
> get_timestamp_format();
>
> + if (is_xe_device(drm_fd))
> + xe_device_get(drm_fd);
> +
> if (is_i915_device(drm_fd)) {
> bops = buf_ops_create(drm_fd);
> }
> @@ -1878,6 +1894,10 @@ igt_main_args("e", NULL, help_str, opt_handler, NULL)
> }
> igt_stop_signal_helper();
>
> - igt_fixture
> + igt_fixture {
> + if (is_xe_device(drm_fd))
> + xe_device_put(drm_fd);
> +
> close(drm_fd);
> + }
> }
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2023-04-19 10:22 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-18 15:28 [igt-dev] [i-g-t V2 0/5] Enable KMS tests in XE BAT Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 1/5] lib: Use i915 namespace for XE debugfs Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 2/5] tests/kms_cursor_legacy: Add XE support Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 3/5] tests/kms_flip: " Bhanuprakash Modem
2023-04-19 5:18 ` Karthik B S
2023-04-19 6:30 ` [igt-dev] [i-g-t V3 " Bhanuprakash Modem
2023-04-19 10:22 ` Karthik B S
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 4/5] tests/i915/kms_psr*: " Bhanuprakash Modem
2023-04-18 15:28 ` [igt-dev] [i-g-t V2 5/5] xe-fast-feedback: Add kms tests to XE BAT Bhanuprakash Modem
2023-04-18 16:26 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev3) Patchwork
2023-04-18 19:45 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-19 7:14 ` [igt-dev] ✓ Fi.CI.BAT: success for Enable KMS tests in XE BAT (rev4) Patchwork
2023-04-19 8:33 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox