* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests
@ 2023-11-30 9:45 Jeevan B
2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests Jeevan B
` (4 more replies)
0 siblings, 5 replies; 15+ messages in thread
From: Jeevan B @ 2023-11-30 9:45 UTC (permalink / raw)
To: igt-dev
Signed-off-by: Jeevan B <jeevan.b@intel.com>
Jeevan B (2):
tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests
tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests
lib/igt_psr.h | 5 +
tests/intel/kms_psr.c | 459 +++++++++++++++++++----------
tests/intel/kms_psr2_sf.c | 606 +++++++++++++++++++++-----------------
3 files changed, 650 insertions(+), 420 deletions(-)
--
2.25.1
^ permalink raw reply [flat|nested] 15+ messages in thread* [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-30 9:45 ` Jeevan B 2023-11-30 11:15 ` Govindapillai, Vinod 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B ` (3 subsequent siblings) 4 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-30 9:45 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR/PSR2/PR, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 459 ++++++++++++++++++++++++++++-------------- 2 files changed, 315 insertions(+), 149 deletions(-) diff --git a/lib/igt_psr.h b/lib/igt_psr.h index a30330e6c..36711c0d4 100644 --- a/lib/igt_psr.h +++ b/lib/igt_psr.h @@ -40,6 +40,11 @@ enum psr_mode { PSR_DISABLED, }; +enum fbc_mode { + FBC_DISABLED, + FBC_ENABLED, +}; + bool psr_disabled_check(int debugfs_fd); bool psr2_selective_fetch_check(int debugfs_fd); bool psr_wait_entry(int debugfs_fd, enum psr_mode mode, igt_output_t *output); diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c index 05bdd7b98..4401d52b6 100644 --- a/tests/intel/kms_psr.c +++ b/tests/intel/kms_psr.c @@ -35,6 +35,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "intel_pat.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -43,16 +44,25 @@ #include "xe/xe_query.h" /** - * SUBTEST: psr_basic + * SUBTEST: psr-basic * Description: Basic check for psr if it is detecting changes made in planes * Functionality: psr1 * - * SUBTEST: psr_%s_%s + * SUBTEST: fbc-psr-basic + * Description: Basic check for psr if it is detecting changes made in planes + * Functionality: psr, fbc + * + * SUBTEST: psr-%s-%s * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on %arg[1] * Driver requirement: i915 * Functionality: kms_core, plane, psr1 * + * SUBTEST: fbc-psr-%s-%s + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] + * Functionality: kms_core, plane, psr, fbc + * * arg[1]: * * @cursor: Cursor plane @@ -61,21 +71,31 @@ * * arg[2]: * - * @mmap_cpu: MMAP CPU - * @mmap_gtt: MMAP GTT + * @mmap-cpu: MMAP CPU + * @mmap-gtt: MMAP GTT */ /** - * SUBTEST: psr_sprite_plane_move + * SUBTEST: psr-sprite-plane-move * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on sprite planes * Functionality: plane, psr1 * - * SUBTEST: psr_%s_%s + * SUBTEST: fbc-psr-sprite-plane-move + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on sprite planes + * Functionality: plane, psr, fbc + * + * SUBTEST: psr-%s-%s * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Functionality: kms_core, plane, psr1 * + * SUBTEST: fbc-psr-%s-%s + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Functionality: kms_core, plane, psr, fbc + * * arg[1]: * * @cursor: Cursor plane @@ -85,15 +105,20 @@ * * @blt: Blitter * @render: Render - * @plane_onoff: Plane On off + * @plane-onoff: Plane On off */ /** - * SUBTEST: psr_primary_%s + * SUBTEST: psr-primary-%s * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Functionality: kms_core, psr1 * + * SUBTEST: fbc-psr-primary-%s + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Functionality: kms_core, psr, fbc + * * arg[1]: * * @blt: Blitter @@ -101,44 +126,81 @@ */ /** - * SUBTEST: psr_dpms + * SUBTEST: psr-dpms * Description: Check if psr is detecting changes when rendering operation is * performed with dpms enabled or disabled * Functionality: dpms, psr1 * - * SUBTEST: psr_no_drrs + * SUBTEST: fbc-psr-dpms + * Description: Check if fbc with psr is detecting changes when rendering operation is + * performed with dpms enabled or disabled + * Functionality: dpms, psr, fbc + * + * SUBTEST: psr-no-drrs * Description: Check if psr is detecting changes when drrs is disabled * Functionality: drrs, psr1 * - * SUBTEST: psr_suspend + * SUBTEST: fbc-psr-no-drrs + * Description: Check if fbc with psr is detecting changes when drrs is disabled + * Functionality: drrs, psr, fbc + * + * SUBTEST: psr-suspend * Description: Check if psr is detecting changes when plane operation * is performed with suspend resume cycles * Functionality: psr1, suspend * - * SUBTEST: psr2_dpms + * SUBTEST: fbc-psr-suspend + * Description: Check if fbc with psr is detecting changes when plane operation + * is performed with suspend resume cycles + * Functionality: psr, suspend, fbc + * + * SUBTEST: psr2-dpms * Description: Check if psr is detecting changes when rendering operation * is performed with dpms enabled or disabled * Functionality: dpms, psr2 * - * SUBTEST: psr2_no_drrs + * SUBTEST: fbc-psr2-dpms + * Description: Check if fbc with psr is detecting changes when rendering operation + * is performed with dpms enabled or disabled + * Functionality: dpms, psr, psr2, fbc + * + * SUBTEST: psr2-no-drrs * Description: Check if psr is detecting changes when drrs is disabled * Functionality: drrs, psr2 * - * SUBTEST: psr2_suspend + * SUBTEST: fbc-psr2-no-drrs + * Description: Check if fbc with psr is detecting changes when drrs is disabled + * Functionality: drrs, psr, psr2, fbc + * + * SUBTEST: psr2-suspend * Description: Check if psr is detecting changes when plane operation is * performed with suspend resume cycles * Functionality: psr2, suspend * - * SUBTEST: psr2_basic + * SUBTEST: fbc-psr2-suspend + * Description: Check if fbc with psr is detecting changes when plane operation is + * performed with suspend resume cycles + * Functionality: psr, psr2, suspend, fbc + * + * SUBTEST: psr2-basic * Description: Basic check for psr if it is detecting changes made in planes * Functionality: psr2 * - * SUBTEST: psr2_%s_%s + * SUBTEST: fbc-psr2-basic + * Description: Basic check for fbc with psr if it is detecting changes made in planes + * Functionality: psr, psr2, fbc + * + * SUBTEST: psr2-%s-%s * Description: Check if psr2 is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Driver requirement: i915 * Functionality: kms_core, plane, psr2 * + * SUBTEST: fbc-psr2-%s-%s + * Description: Check if fbc with psr2 is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Functionality: kms_core, plane, psr, psr2, fbc + * * arg[1]: * * @cursor: Cursor plane @@ -147,21 +209,31 @@ * * arg[2]: * - * @mmap_cpu: MMAP CPU - * @mmap_gtt: MMAP GTT + * @mmap-cpu: MMAP CPU + * @mmap-gtt: MMAP GTT */ /** - * SUBTEST: psr2_primary_page_flip + * SUBTEST: psr2-primary-page-flip * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on primary planes * Functionality: plane, psr2 * - * SUBTEST: psr2_primary_%s + * SUBTEST: fbc-psr2-primary-page-flip + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on primary planes + * Functionality: plane, psr, psr2, fbc + * + * SUBTEST: psr2-primary-%s * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on primary planes * Functionality: kms_core, plane, psr2 * + * SUBTEST: fbc-psr2-primary-%s + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane + * operations performed on primary planes + * Functionality: kms_core, plane, psr, psr2, fbc + * * arg[1]: * * @blt: Blitter @@ -169,11 +241,16 @@ */ /** - * SUBTEST: psr2_%s_%s + * SUBTEST: psr2-%s-%s * Description: Check if psr is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Functionality: kms_core, plane, psr2 * + * SUBTEST: fbc-psr2-%s-%s + * Description: Check if psr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Functionality: kms_core, plane, psr, psr2, fbc + * * arg[1]: * * @cursor: Cursor plane @@ -183,42 +260,67 @@ * * @blt: Blitter * @render: Render - * @plane_onoff: Plane On off - * @plane_move: Move plane position + * @plane-onoff: Plane On off + * @plane-move: Move plane position */ /** - * SUBTEST: pr_dpms + * SUBTEST: pr-dpms * Description: Check if pr is detecting changes when rendering operation * is performed with dpms enabled or disabled * Functionality: dpms, pr * Mega feature: Panel Replay * - * SUBTEST: pr_no_drrs + * SUBTEST: fbc-pr-dpms + * Description: Check if fbc with pr is detecting changes when rendering operation + * is performed with dpms enabled or disabled + * Functionality: dpms, pr, fbc + * + * SUBTEST: pr-no-drrs * Description: Check if pr is detecting changes when drrs is disabled * Functionality: drrs, pr * Mega feature: Panel Replay * - * SUBTEST: pr_suspend + * SUBTEST: fbc-pr-no-drrs + * Description: Check if pr is detecting changes when drrs is disabled + * Functionality: drrs, pr, fbc + * + * SUBTEST: pr-suspend * Description: Check if pr is detecting changes when plane operation is * performed with suspend resume cycles * Functionality: pr, suspend * Mega feature: Panel Replay * - * SUBTEST: pr_basic + * SUBTEST: fbc-pr-suspend + * Description: Check if fbc with pr is detecting changes when plane operation is + * performed with suspend resume cycles + * Functionality: pr, suspend, fbc + * + * SUBTEST: pr-basic * Description: Basic check for pr if it is detecting changes made in planes * Functionality: pr * Mega feature: Panel Replay + * + * SUBTEST: fbc-pr-basic + * Description: Basic check for fbc with pr if it is detecting changes made in planes + * Functionality: pr, fbc */ /** - * SUBTEST: pr_%s_%s + * SUBTEST: pr-%s-%s * Description: Check if pr is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Driver requirement: i915 * Functionality: kms_core, plane, pr * Mega feature: Panel Replay * + * SUBTEST: fbc-pr-%s-%s + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Driver requirement: i915 + * Functionality: kms_core, plane, pr, fbc + * Mega feature: Panel Replay, FBC + * Test category: functionality test * arg[1]: * * @cursor: Cursor plane @@ -227,23 +329,35 @@ * * arg[2]: * - * @mmap_cpu: MMAP CPU - * @mmap_gtt: MMAP GTT + * @mmap-cpu: MMAP CPU + * @mmap-gtt: MMAP GTT */ /** - * SUBTEST: pr_primary_page_flip + * SUBTEST: pr-primary-page-flip * Description: Check if pr is detecting memory mapping, rendering and plane * operations performed on primary planes * Functionality: plane, pr * Mega feature: Panel Replay * - * SUBTEST: pr_primary_%s + * SUBTEST: fbc-pr-primary-page-flip + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane + * operations performed on primary planes + * Functionality: plane, pr, fbc + * Mega feature: Panel Replay, FBC + * + * SUBTEST: pr-primary-%s * Description: Check if pr is detecting memory mapping, rendering and plane * operations performed on primary planes * Functionality: kms_core, plane, pr * Mega feature: Panel Replay * + * SUBTEST: fbc-pr-primary-%s + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane + * operations performed on primary planes + * Functionality: kms_core, plane, pr, fbc + * Mega feature: Panel Replay, FBC + * * arg[1]: * * @blt: Blitter @@ -251,12 +365,18 @@ */ /** - * SUBTEST: pr_%s_%s + * SUBTEST: pr-%s-%s * Description: Check if pr is detecting memory mapping, rendering and plane * operations performed on %arg[1] planes * Functionality: kms_core, plane, pr * Mega feature: Panel Replay * + * SUBTEST: fbc-pr-%s-%s + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane + * operations performed on %arg[1] planes + * Functionality: kms_core, plane, pr, fbc + * Mega feature: Panel Replay, FBC + * * arg[1]: * * @cursor: Cursor plane @@ -266,25 +386,40 @@ * * @blt: Blitter * @render: Render - * @plane_onoff: Plane On off - * @plane_move: Move plane position + * @plane-onoff: Plane On off + * @plane-move: Move plane position */ /** - * SUBTEST: psr_cursor_plane_move + * SUBTEST: psr-cursor-plane-move * Description: Check if psr is detecting the plane operations performed on * cursor planes * Functionality: psr1 * - * SUBTEST: psr_primary_page_flip + * SUBTEST: fbc-psr-cursor-plane-move + * Description: Check if fbc with psr is detecting the plane operations performed on + * cursor planes + * Functionality: psr1, fbc + * + * SUBTEST: psr-primary-page-flip * Description: Check if psr is detecting page-flipping operations performed * on primary planes * Functionality: psr1 * - * SUBTEST: psr_sprite_plane_onoff + * SUBTEST: fbc-psr-primary-page-flip + * Description: Check if psr is detecting page-flipping operations performed + * on primary planes + * Functionality: psr1, fbc + * + * SUBTEST: psr-sprite-plane-onoff * Description: Check if psr is detecting the plane operations performed on * sprite planes * Functionality: psr1 + * + * SUBTEST: fbc-psr-sprite-plane-onoff + * Description: Check if psr is detecting the plane operations performed on + * sprite planes + * Functionality: psr1, fbc */ enum operations { @@ -300,13 +435,13 @@ enum operations { static const char *op_str(enum operations op) { static const char * const name[] = { - [PAGE_FLIP] = "page_flip", - [MMAP_GTT] = "mmap_gtt", - [MMAP_CPU] = "mmap_cpu", + [PAGE_FLIP] = "page-flip", + [MMAP_GTT] = "mmap-gtt", + [MMAP_CPU] = "mmap-cpu", [BLT] = "blt", [RENDER] = "render", - [PLANE_MOVE] = "plane_move", - [PLANE_ONOFF] = "plane_onoff", + [PLANE_MOVE] = "plane-move", + [PLANE_ONOFF] = "plane-onoff", }; return name[op]; @@ -318,6 +453,7 @@ typedef struct { enum operations op; int test_plane_id; enum psr_mode op_psr_mode; + enum fbc_mode op_fbc_mode; uint32_t devid; uint32_t crtc_id; igt_display_t display; @@ -328,6 +464,7 @@ typedef struct { int mod_stride; drmModeModeInfo *mode; igt_output_t *output; + bool fbc_flag; } data_t; static void create_cursor_fb(data_t *data) @@ -725,10 +862,15 @@ static void test_setup(data_t *data) psr_enable_if_enabled(data); setup_test_plane(data, data->test_plane_id); + if (data->fbc_flag == true && data->op_fbc_mode == FBC_ENABLED) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + pipe), + "FBC still disabled"); if (psr_wait_entry_if_enabled(data)) { psr_entered = true; break; } + } igt_assert(psr_entered); @@ -746,14 +888,20 @@ data_t data = {}; igt_main { - int z; + int z, y; enum operations op; + enum pipe pipe; const char *append_subtest_name[3] = { - "psr_", - "psr2_", - "pr_" + "psr-", + "psr2-", + "pr-" + }; + const char *append_fbc_subtest[2] = { + "", + "fbc-" }; int modes[] = {PSR_MODE_1, PSR_MODE_2, PR_MODE}; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_output_t *output; igt_fixture { @@ -764,52 +912,38 @@ igt_main data.bops = buf_ops_create(data.drm_fd); igt_display_require(&data.display, data.drm_fd); igt_require_f(output_supports_psr(&data), "Sink does not support PSR/PSR2/PR\n"); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, pipe))) { + data.fbc_flag = true; + } } - for (z = 0; z < ARRAY_SIZE(modes); z++) { - data.op_psr_mode = modes[z]; - - igt_describe("Basic check for psr if it is detecting changes made in planes"); - igt_subtest_with_dynamic_f("%sbasic", append_subtest_name[z]) { - for_each_connected_output(&data.display, output) { - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, - data.op_psr_mode, output)) - continue; - igt_display_reset(&data.display); - data.output = output; - igt_dynamic_f("%s", data.output->name) { - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - test_setup(&data); - test_cleanup(&data); - } - } - } + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; + for (z = 0; z < ARRAY_SIZE(modes); z++) { + data.op_psr_mode = modes[z]; - igt_describe("Check if psr is detecting changes when drrs is disabled"); - igt_subtest_with_dynamic_f("%sno_drrs", append_subtest_name[z]) { - for_each_connected_output(&data.display, output) { - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, - data.op_psr_mode, output)) - continue; - igt_display_reset(&data.display); - data.output = output; - igt_dynamic_f("%s", data.output->name) { - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - test_setup(&data); - igt_assert(drrs_disabled(&data)); - test_cleanup(&data); + igt_describe("Basic check for psr if it is detecting changes made " + "in planes"); + igt_subtest_with_dynamic_f("%s%sbasic", append_fbc_subtest[y], + append_subtest_name[z]) { + for_each_connected_output(&data.display, output) { + if (!psr_sink_support(data.drm_fd, data.debugfs_fd, + data.op_psr_mode, output)) + continue; + igt_display_reset(&data.display); + data.output = output; + igt_dynamic_f("%s", data.output->name) { + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + test_setup(&data); + test_cleanup(&data); + } } } - } - for (op = PAGE_FLIP; op <= RENDER; op++) { - igt_describe("Check if psr is detecting page-flipping,memory mapping and " - "rendering operations performed on primary planes"); - igt_subtest_with_dynamic_f("%sprimary_%s", - append_subtest_name[z], - op_str(op)) { - igt_skip_on(is_xe_device(data.drm_fd) && - (op == MMAP_CPU || op == MMAP_GTT)); + igt_describe("Check if psr is detecting changes when drrs is disabled"); + igt_subtest_with_dynamic_f("%s%sno-drrs", append_fbc_subtest[y], + append_subtest_name[z]) { for_each_connected_output(&data.display, output) { if (!psr_sink_support(data.drm_fd, data.debugfs_fd, data.op_psr_mode, output)) @@ -817,24 +951,91 @@ igt_main igt_display_reset(&data.display); data.output = output; igt_dynamic_f("%s", data.output->name) { - data.op = op; data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; test_setup(&data); - run_test(&data); + igt_assert(drrs_disabled(&data)); test_cleanup(&data); } } } - } - for (op = MMAP_GTT; op <= PLANE_ONOFF; op++) { - igt_describe("Check if psr is detecting memory mapping,rendering " - "and plane operations performed on sprite planes"); - igt_subtest_with_dynamic_f("%ssprite_%s", - append_subtest_name[z], - op_str(op)) { - igt_skip_on(is_xe_device(data.drm_fd) && - (op == MMAP_CPU || op == MMAP_GTT)); + for (op = PAGE_FLIP; op <= RENDER; op++) { + igt_describe("Check if psr is detecting page-flipping,memory " + "mapping and rendering operations performed on " + "primary planes"); + igt_subtest_with_dynamic_f("%s%sprimary-%s", append_fbc_subtest[y], + append_subtest_name[z], + op_str(op)) { + igt_skip_on(is_xe_device(data.drm_fd) && + (op == MMAP_CPU || op == MMAP_GTT)); + for_each_connected_output(&data.display, output) { + if (!psr_sink_support(data.drm_fd, data.debugfs_fd, + data.op_psr_mode, output)) + continue; + igt_display_reset(&data.display); + data.output = output; + igt_dynamic_f("%s", data.output->name) { + data.op = op; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + test_setup(&data); + run_test(&data); + test_cleanup(&data); + } + } + } + } + + for (op = MMAP_GTT; op <= PLANE_ONOFF; op++) { + igt_describe("Check if psr is detecting memory mapping,rendering " + "and plane operations performed on sprite planes"); + igt_subtest_with_dynamic_f("%s%ssprite-%s", append_fbc_subtest[y], + append_subtest_name[z], + op_str(op)) { + igt_skip_on(is_xe_device(data.drm_fd) && + (op == MMAP_CPU || op == MMAP_GTT)); + for_each_connected_output(&data.display, output) { + if (!psr_sink_support(data.drm_fd, data.debugfs_fd, + data.op_psr_mode, output)) + continue; + igt_display_reset(&data.display); + data.output = output; + igt_dynamic_f("%s", data.output->name) { + data.op = op; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + test_setup(&data); + run_test(&data); + test_cleanup(&data); + } + } + } + + igt_describe("Check if psr is detecting memory mapping, rendering " + "and plane operations performed on cursor planes"); + igt_subtest_with_dynamic_f("%s%scursor-%s", append_fbc_subtest[y], + append_subtest_name[z], + op_str(op)) { + igt_skip_on(is_xe_device(data.drm_fd) && + (op == MMAP_CPU || op == MMAP_GTT)); + for_each_connected_output(&data.display, output) { + if (!psr_sink_support(data.drm_fd, data.debugfs_fd, + data.op_psr_mode, output)) + continue; + igt_display_reset(&data.display); + data.output = output; + igt_dynamic_f("%s", data.output->name) { + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + test_setup(&data); + run_test(&data); + test_cleanup(&data); + } + } + } + } + + igt_describe("Check if psr is detecting changes when rendering operation " + "is performed with dpms enabled or disabled"); + igt_subtest_with_dynamic_f("%s%sdpms", append_fbc_subtest[y], + append_subtest_name[z]) { for_each_connected_output(&data.display, output) { if (!psr_sink_support(data.drm_fd, data.debugfs_fd, data.op_psr_mode, output)) @@ -842,22 +1043,20 @@ igt_main igt_display_reset(&data.display); data.output = output; igt_dynamic_f("%s", data.output->name) { - data.op = op; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.op = igt_get_render_copyfunc(data.devid) ? RENDER : BLT; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; test_setup(&data); + dpms_off_on(&data); run_test(&data); test_cleanup(&data); } } } - igt_describe("Check if psr is detecting memory mapping, rendering " - "and plane operations performed on cursor planes"); - igt_subtest_with_dynamic_f("%scursor_%s", - append_subtest_name[z], - op_str(op)) { - igt_skip_on(is_xe_device(data.drm_fd) && - (op == MMAP_CPU || op == MMAP_GTT)); + igt_describe("Check if psr is detecting changes when plane operation is " + "performed with suspend resume cycles"); + igt_subtest_with_dynamic_f("%s%ssuspend", append_fbc_subtest[y], + append_subtest_name[z]) { for_each_connected_output(&data.display, output) { if (!psr_sink_support(data.drm_fd, data.debugfs_fd, data.op_psr_mode, output)) @@ -865,56 +1064,18 @@ igt_main igt_display_reset(&data.display); data.output = output; igt_dynamic_f("%s", data.output->name) { + data.op = PLANE_ONOFF; data.test_plane_id = DRM_PLANE_TYPE_CURSOR; test_setup(&data); + igt_system_suspend_autoresume(SUSPEND_STATE_MEM, + SUSPEND_TEST_NONE); + igt_assert(psr_wait_entry_if_enabled(&data)); run_test(&data); test_cleanup(&data); } } } } - - igt_describe("Check if psr is detecting changes when rendering operation is performed" - " with dpms enabled or disabled"); - igt_subtest_with_dynamic_f("%sdpms", append_subtest_name[z]) { - for_each_connected_output(&data.display, output) { - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, - data.op_psr_mode, output)) - continue; - igt_display_reset(&data.display); - data.output = output; - igt_dynamic_f("%s", data.output->name) { - data.op = igt_get_render_copyfunc(data.devid) ? RENDER : BLT; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - test_setup(&data); - dpms_off_on(&data); - run_test(&data); - test_cleanup(&data); - } - } - } - - igt_describe("Check if psr is detecting changes when plane operation is performed " - "with suspend resume cycles"); - igt_subtest_with_dynamic_f("%ssuspend", append_subtest_name[z]) { - for_each_connected_output(&data.display, output) { - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, - data.op_psr_mode, output)) - continue; - igt_display_reset(&data.display); - data.output = output; - igt_dynamic_f("%s", data.output->name) { - data.op = PLANE_ONOFF; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - test_setup(&data); - igt_system_suspend_autoresume(SUSPEND_STATE_MEM, - SUSPEND_TEST_NONE); - igt_assert(psr_wait_entry_if_enabled(&data)); - run_test(&data); - test_cleanup(&data); - } - } - } } igt_fixture { -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* Re: [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests Jeevan B @ 2023-11-30 11:15 ` Govindapillai, Vinod 0 siblings, 0 replies; 15+ messages in thread From: Govindapillai, Vinod @ 2023-11-30 11:15 UTC (permalink / raw) To: igt-dev@lists.freedesktop.org, B, Jeevan Hi jeevan, Thanks for the patches.. some comments inline.. Otherwise, logic wise combining FBC with existing PSR tests seems ok to me. So with addressing those comments, Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com> On Thu, 2023-11-30 at 15:15 +0530, Jeevan B wrote: > For LunarLake (intel_display_ver 20), FBC can be enabled along with > PSR/PSR2/PR, thereby adding FBC checks to validate this scenario. > > Signed-off-by: Jeevan B <jeevan.b@intel.com> > --- > lib/igt_psr.h | 5 + > tests/intel/kms_psr.c | 459 ++++++++++++++++++++++++++++-------------- > 2 files changed, 315 insertions(+), 149 deletions(-) > > diff --git a/lib/igt_psr.h b/lib/igt_psr.h > index a30330e6c..36711c0d4 100644 > --- a/lib/igt_psr.h > +++ b/lib/igt_psr.h > @@ -40,6 +40,11 @@ enum psr_mode { > PSR_DISABLED, > }; > > +enum fbc_mode { > + FBC_DISABLED, > + FBC_ENABLED, > +}; > + > bool psr_disabled_check(int debugfs_fd); > bool psr2_selective_fetch_check(int debugfs_fd); > bool psr_wait_entry(int debugfs_fd, enum psr_mode mode, igt_output_t *output); > diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c > index 05bdd7b98..4401d52b6 100644 > --- a/tests/intel/kms_psr.c > +++ b/tests/intel/kms_psr.c > @@ -35,6 +35,7 @@ > #include "igt_sysfs.h" > #include "igt_psr.h" > #include "intel_pat.h" > +#include "i915/intel_fbc.h" > #include <errno.h> > #include <stdbool.h> > #include <stdio.h> > @@ -43,16 +44,25 @@ > #include "xe/xe_query.h" > > /** > - * SUBTEST: psr_basic > + * SUBTEST: psr-basic > * Description: Basic check for psr if it is detecting changes made in planes > * Functionality: psr1 > * > - * SUBTEST: psr_%s_%s > + * SUBTEST: fbc-psr-basic > + * Description: Basic check for psr if it is detecting changes made in planes > + * Functionality: psr, fbc > + * > + * SUBTEST: psr-%s-%s > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] > * Driver requirement: i915 > * Functionality: kms_core, plane, psr1 > * > + * SUBTEST: fbc-psr-%s-%s > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] > + * Functionality: kms_core, plane, psr, fbc > + * > * arg[1]: > * > * @cursor: Cursor plane > @@ -61,21 +71,31 @@ > * > * arg[2]: > * > - * @mmap_cpu: MMAP CPU > - * @mmap_gtt: MMAP GTT > + * @mmap-cpu: MMAP CPU > + * @mmap-gtt: MMAP GTT > */ > > /** > - * SUBTEST: psr_sprite_plane_move > + * SUBTEST: psr-sprite-plane-move > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on sprite planes > * Functionality: plane, psr1 > * > - * SUBTEST: psr_%s_%s > + * SUBTEST: fbc-psr-sprite-plane-move > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on sprite planes > + * Functionality: plane, psr, fbc > + * > + * SUBTEST: psr-%s-%s > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Functionality: kms_core, plane, psr1 > * > + * SUBTEST: fbc-psr-%s-%s > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Functionality: kms_core, plane, psr, fbc > + * > * arg[1]: > * > * @cursor: Cursor plane > @@ -85,15 +105,20 @@ > * > * @blt: Blitter > * @render: Render > - * @plane_onoff: Plane On off > + * @plane-onoff: Plane On off > */ > > /** > - * SUBTEST: psr_primary_%s > + * SUBTEST: psr-primary-%s > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Functionality: kms_core, psr1 > * > + * SUBTEST: fbc-psr-primary-%s > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Functionality: kms_core, psr, fbc > + * > * arg[1]: > * > * @blt: Blitter > @@ -101,44 +126,81 @@ > */ > > /** > - * SUBTEST: psr_dpms > + * SUBTEST: psr-dpms > * Description: Check if psr is detecting changes when rendering operation is > * performed with dpms enabled or disabled > * Functionality: dpms, psr1 > * > - * SUBTEST: psr_no_drrs > + * SUBTEST: fbc-psr-dpms > + * Description: Check if fbc with psr is detecting changes when rendering operation is > + * performed with dpms enabled or disabled > + * Functionality: dpms, psr, fbc > + * > + * SUBTEST: psr-no-drrs > * Description: Check if psr is detecting changes when drrs is disabled > * Functionality: drrs, psr1 > * > - * SUBTEST: psr_suspend > + * SUBTEST: fbc-psr-no-drrs > + * Description: Check if fbc with psr is detecting changes when drrs is disabled > + * Functionality: drrs, psr, fbc > + * > + * SUBTEST: psr-suspend > * Description: Check if psr is detecting changes when plane operation > * is performed with suspend resume cycles > * Functionality: psr1, suspend > * > - * SUBTEST: psr2_dpms > + * SUBTEST: fbc-psr-suspend > + * Description: Check if fbc with psr is detecting changes when plane operation > + * is performed with suspend resume cycles > + * Functionality: psr, suspend, fbc > + * > + * SUBTEST: psr2-dpms > * Description: Check if psr is detecting changes when rendering operation > * is performed with dpms enabled or disabled > * Functionality: dpms, psr2 > * > - * SUBTEST: psr2_no_drrs > + * SUBTEST: fbc-psr2-dpms > + * Description: Check if fbc with psr is detecting changes when rendering operation > + * is performed with dpms enabled or disabled > + * Functionality: dpms, psr, psr2, fbc > + * > + * SUBTEST: psr2-no-drrs > * Description: Check if psr is detecting changes when drrs is disabled > * Functionality: drrs, psr2 > * > - * SUBTEST: psr2_suspend > + * SUBTEST: fbc-psr2-no-drrs > + * Description: Check if fbc with psr is detecting changes when drrs is disabled > + * Functionality: drrs, psr, psr2, fbc > + * > + * SUBTEST: psr2-suspend > * Description: Check if psr is detecting changes when plane operation is > * performed with suspend resume cycles > * Functionality: psr2, suspend > * > - * SUBTEST: psr2_basic > + * SUBTEST: fbc-psr2-suspend > + * Description: Check if fbc with psr is detecting changes when plane operation is > + * performed with suspend resume cycles > + * Functionality: psr, psr2, suspend, fbc > + * > + * SUBTEST: psr2-basic > * Description: Basic check for psr if it is detecting changes made in planes > * Functionality: psr2 > * > - * SUBTEST: psr2_%s_%s > + * SUBTEST: fbc-psr2-basic > + * Description: Basic check for fbc with psr if it is detecting changes made in planes > + * Functionality: psr, psr2, fbc > + * > + * SUBTEST: psr2-%s-%s > * Description: Check if psr2 is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Driver requirement: i915 > * Functionality: kms_core, plane, psr2 > * > + * SUBTEST: fbc-psr2-%s-%s > + * Description: Check if fbc with psr2 is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Functionality: kms_core, plane, psr, psr2, fbc > + * > * arg[1]: > * > * @cursor: Cursor plane > @@ -147,21 +209,31 @@ > * > * arg[2]: > * > - * @mmap_cpu: MMAP CPU > - * @mmap_gtt: MMAP GTT > + * @mmap-cpu: MMAP CPU > + * @mmap-gtt: MMAP GTT > */ > > /** > - * SUBTEST: psr2_primary_page_flip > + * SUBTEST: psr2-primary-page-flip > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on primary planes > * Functionality: plane, psr2 > * > - * SUBTEST: psr2_primary_%s > + * SUBTEST: fbc-psr2-primary-page-flip > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on primary planes > + * Functionality: plane, psr, psr2, fbc > + * > + * SUBTEST: psr2-primary-%s > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on primary planes > * Functionality: kms_core, plane, psr2 > * > + * SUBTEST: fbc-psr2-primary-%s > + * Description: Check if fbc with psr is detecting memory mapping, rendering and plane > + * operations performed on primary planes > + * Functionality: kms_core, plane, psr, psr2, fbc > + * > * arg[1]: > * > * @blt: Blitter > @@ -169,11 +241,16 @@ > */ > > /** > - * SUBTEST: psr2_%s_%s > + * SUBTEST: psr2-%s-%s > * Description: Check if psr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Functionality: kms_core, plane, psr2 > * > + * SUBTEST: fbc-psr2-%s-%s > + * Description: Check if psr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Functionality: kms_core, plane, psr, psr2, fbc > + * > * arg[1]: > * > * @cursor: Cursor plane > @@ -183,42 +260,67 @@ > * > * @blt: Blitter > * @render: Render > - * @plane_onoff: Plane On off > - * @plane_move: Move plane position > + * @plane-onoff: Plane On off > + * @plane-move: Move plane position > */ > > /** > - * SUBTEST: pr_dpms > + * SUBTEST: pr-dpms > * Description: Check if pr is detecting changes when rendering operation > * is performed with dpms enabled or disabled > * Functionality: dpms, pr > * Mega feature: Panel Replay > * > - * SUBTEST: pr_no_drrs > + * SUBTEST: fbc-pr-dpms > + * Description: Check if fbc with pr is detecting changes when rendering operation > + * is performed with dpms enabled or disabled > + * Functionality: dpms, pr, fbc > + * > + * SUBTEST: pr-no-drrs > * Description: Check if pr is detecting changes when drrs is disabled > * Functionality: drrs, pr > * Mega feature: Panel Replay > * > - * SUBTEST: pr_suspend > + * SUBTEST: fbc-pr-no-drrs > + * Description: Check if pr is detecting changes when drrs is disabled > + * Functionality: drrs, pr, fbc > + * > + * SUBTEST: pr-suspend > * Description: Check if pr is detecting changes when plane operation is > * performed with suspend resume cycles > * Functionality: pr, suspend > * Mega feature: Panel Replay > * > - * SUBTEST: pr_basic > + * SUBTEST: fbc-pr-suspend > + * Description: Check if fbc with pr is detecting changes when plane operation is > + * performed with suspend resume cycles > + * Functionality: pr, suspend, fbc > + * > + * SUBTEST: pr-basic > * Description: Basic check for pr if it is detecting changes made in planes > * Functionality: pr > * Mega feature: Panel Replay > + * > + * SUBTEST: fbc-pr-basic > + * Description: Basic check for fbc with pr if it is detecting changes made in planes > + * Functionality: pr, fbc > */ > > /** > - * SUBTEST: pr_%s_%s > + * SUBTEST: pr-%s-%s > * Description: Check if pr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Driver requirement: i915 > * Functionality: kms_core, plane, pr > * Mega feature: Panel Replay > * > + * SUBTEST: fbc-pr-%s-%s > + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Driver requirement: i915 > + * Functionality: kms_core, plane, pr, fbc > + * Mega feature: Panel Replay, FBC > + * Test category: functionality test > * arg[1]: > * > * @cursor: Cursor plane > @@ -227,23 +329,35 @@ > * > * arg[2]: > * > - * @mmap_cpu: MMAP CPU > - * @mmap_gtt: MMAP GTT > + * @mmap-cpu: MMAP CPU > + * @mmap-gtt: MMAP GTT > */ > > /** > - * SUBTEST: pr_primary_page_flip > + * SUBTEST: pr-primary-page-flip > * Description: Check if pr is detecting memory mapping, rendering and plane > * operations performed on primary planes > * Functionality: plane, pr > * Mega feature: Panel Replay > * > - * SUBTEST: pr_primary_%s > + * SUBTEST: fbc-pr-primary-page-flip > + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane > + * operations performed on primary planes > + * Functionality: plane, pr, fbc > + * Mega feature: Panel Replay, FBC > + * > + * SUBTEST: pr-primary-%s > * Description: Check if pr is detecting memory mapping, rendering and plane > * operations performed on primary planes > * Functionality: kms_core, plane, pr > * Mega feature: Panel Replay > * > + * SUBTEST: fbc-pr-primary-%s > + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane > + * operations performed on primary planes > + * Functionality: kms_core, plane, pr, fbc > + * Mega feature: Panel Replay, FBC > + * > * arg[1]: > * > * @blt: Blitter > @@ -251,12 +365,18 @@ > */ > > /** > - * SUBTEST: pr_%s_%s > + * SUBTEST: pr-%s-%s > * Description: Check if pr is detecting memory mapping, rendering and plane > * operations performed on %arg[1] planes > * Functionality: kms_core, plane, pr > * Mega feature: Panel Replay > * > + * SUBTEST: fbc-pr-%s-%s > + * Description: Check if fbc with pr is detecting memory mapping, rendering and plane > + * operations performed on %arg[1] planes > + * Functionality: kms_core, plane, pr, fbc > + * Mega feature: Panel Replay, FBC > + * > * arg[1]: > * > * @cursor: Cursor plane > @@ -266,25 +386,40 @@ > * > * @blt: Blitter > * @render: Render > - * @plane_onoff: Plane On off > - * @plane_move: Move plane position > + * @plane-onoff: Plane On off > + * @plane-move: Move plane position > */ > > /** > - * SUBTEST: psr_cursor_plane_move > + * SUBTEST: psr-cursor-plane-move > * Description: Check if psr is detecting the plane operations performed on > * cursor planes > * Functionality: psr1 > * > - * SUBTEST: psr_primary_page_flip > + * SUBTEST: fbc-psr-cursor-plane-move > + * Description: Check if fbc with psr is detecting the plane operations performed on > + * cursor planes > + * Functionality: psr1, fbc > + * > + * SUBTEST: psr-primary-page-flip > * Description: Check if psr is detecting page-flipping operations performed > * on primary planes > * Functionality: psr1 > * > - * SUBTEST: psr_sprite_plane_onoff > + * SUBTEST: fbc-psr-primary-page-flip > + * Description: Check if psr is detecting page-flipping operations performed > + * on primary planes > + * Functionality: psr1, fbc > + * > + * SUBTEST: psr-sprite-plane-onoff > * Description: Check if psr is detecting the plane operations performed on > * sprite planes > * Functionality: psr1 > + * > + * SUBTEST: fbc-psr-sprite-plane-onoff > + * Description: Check if psr is detecting the plane operations performed on > + * sprite planes > + * Functionality: psr1, fbc > */ > > enum operations { > @@ -300,13 +435,13 @@ enum operations { > static const char *op_str(enum operations op) > { > static const char * const name[] = { > - [PAGE_FLIP] = "page_flip", > - [MMAP_GTT] = "mmap_gtt", > - [MMAP_CPU] = "mmap_cpu", > + [PAGE_FLIP] = "page-flip", > + [MMAP_GTT] = "mmap-gtt", > + [MMAP_CPU] = "mmap-cpu", > [BLT] = "blt", > [RENDER] = "render", > - [PLANE_MOVE] = "plane_move", > - [PLANE_ONOFF] = "plane_onoff", > + [PLANE_MOVE] = "plane-move", > + [PLANE_ONOFF] = "plane-onoff", > }; > > return name[op]; > @@ -318,6 +453,7 @@ typedef struct { > enum operations op; > int test_plane_id; > enum psr_mode op_psr_mode; > + enum fbc_mode op_fbc_mode; > uint32_t devid; > uint32_t crtc_id; > igt_display_t display; > @@ -328,6 +464,7 @@ typedef struct { > int mod_stride; > drmModeModeInfo *mode; > igt_output_t *output; > + bool fbc_flag; > } data_t; > > static void create_cursor_fb(data_t *data) > @@ -725,10 +862,15 @@ static void test_setup(data_t *data) > > psr_enable_if_enabled(data); > setup_test_plane(data, data->test_plane_id); > + if (data->fbc_flag == true && data->op_fbc_mode == FBC_ENABLED) > + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, > + pipe), > + "FBC still disabled"); May be move this after the next statement, to ensure that FBC is enabled after the PSR? > if (psr_wait_entry_if_enabled(data)) { > psr_entered = true; > break; > } > + > } > > igt_assert(psr_entered); > @@ -746,14 +888,20 @@ data_t data = {}; > > igt_main > { > - int z; > + int z, y; > enum operations op; > + enum pipe pipe; > const char *append_subtest_name[3] = { > - "psr_", > - "psr2_", > - "pr_" > + "psr-", > + "psr2-", > + "pr-" > + }; > + const char *append_fbc_subtest[2] = { > + "", > + "fbc-" > }; > int modes[] = {PSR_MODE_1, PSR_MODE_2, PR_MODE}; > + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; > igt_output_t *output; > > igt_fixture { > @@ -764,52 +912,38 @@ igt_main > data.bops = buf_ops_create(data.drm_fd); > igt_display_require(&data.display, data.drm_fd); > igt_require_f(output_supports_psr(&data), "Sink does not support PSR/PSR2/PR\n"); > + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && > + (intel_fbc_supported_on_chipset(data.drm_fd, pipe))) { > + data.fbc_flag = true; > + } > } > > - for (z = 0; z < ARRAY_SIZE(modes); z++) { > - data.op_psr_mode = modes[z]; > - > - igt_describe("Basic check for psr if it is detecting changes made in planes"); > - igt_subtest_with_dynamic_f("%sbasic", append_subtest_name[z]) { > - for_each_connected_output(&data.display, output) { > - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > - data.op_psr_mode, output)) > - continue; > - igt_display_reset(&data.display); > - data.output = output; > - igt_dynamic_f("%s", data.output->name) { > - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > - test_setup(&data); > - test_cleanup(&data); > - } > - } > - } > + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { > + data.op_fbc_mode = fbc_status[y]; > + for (z = 0; z < ARRAY_SIZE(modes); z++) { > + data.op_psr_mode = modes[z]; > > - igt_describe("Check if psr is detecting changes when drrs is disabled"); > - igt_subtest_with_dynamic_f("%sno_drrs", append_subtest_name[z]) { > - for_each_connected_output(&data.display, output) { > - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > - data.op_psr_mode, output)) > - continue; > - igt_display_reset(&data.display); > - data.output = output; > - igt_dynamic_f("%s", data.output->name) { > - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > - test_setup(&data); > - igt_assert(drrs_disabled(&data)); > - test_cleanup(&data); > + igt_describe("Basic check for psr if it is detecting changes made " > + "in planes"); > + igt_subtest_with_dynamic_f("%s%sbasic", append_fbc_subtest[y], > + append_subtest_name[z]) { > + for_each_connected_output(&data.display, output) { > + if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > + data.op_psr_mode, output)) > + continue; > + igt_display_reset(&data.display); > + data.output = output; > + igt_dynamic_f("%s", data.output->name) { > + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > + test_setup(&data); > + test_cleanup(&data); > + } > } > } > - } > > - for (op = PAGE_FLIP; op <= RENDER; op++) { > - igt_describe("Check if psr is detecting page-flipping,memory mapping and " > - "rendering operations performed on primary planes"); > - igt_subtest_with_dynamic_f("%sprimary_%s", > - append_subtest_name[z], > - op_str(op)) { > - igt_skip_on(is_xe_device(data.drm_fd) && > - (op == MMAP_CPU || op == MMAP_GTT)); > + igt_describe("Check if psr is detecting changes when drrs is disabled"); > + igt_subtest_with_dynamic_f("%s%sno-drrs", append_fbc_subtest[y], > + append_subtest_name[z]) { > for_each_connected_output(&data.display, output) { > if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > data.op_psr_mode, output)) > @@ -817,24 +951,91 @@ igt_main > igt_display_reset(&data.display); > data.output = output; > igt_dynamic_f("%s", data.output->name) { > - data.op = op; > data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > test_setup(&data); > - run_test(&data); > + igt_assert(drrs_disabled(&data)); I think this is not related to this patch? > test_cleanup(&data); > } > } > } > - } > > - for (op = MMAP_GTT; op <= PLANE_ONOFF; op++) { > - igt_describe("Check if psr is detecting memory mapping,rendering " > - "and plane operations performed on sprite planes"); > - igt_subtest_with_dynamic_f("%ssprite_%s", > - append_subtest_name[z], > - op_str(op)) { > - igt_skip_on(is_xe_device(data.drm_fd) && > - (op == MMAP_CPU || op == MMAP_GTT)); > + for (op = PAGE_FLIP; op <= RENDER; op++) { > + igt_describe("Check if psr is detecting page-flipping,memory " > + "mapping and rendering operations performed on " > + "primary planes"); > + igt_subtest_with_dynamic_f("%s%sprimary-%s", > append_fbc_subtest[y], > + append_subtest_name[z], > + op_str(op)) { > + igt_skip_on(is_xe_device(data.drm_fd) && > + (op == MMAP_CPU || op == MMAP_GTT)); > + for_each_connected_output(&data.display, output) { > + if (!psr_sink_support(data.drm_fd, > data.debugfs_fd, > + data.op_psr_mode, output)) > + continue; > + igt_display_reset(&data.display); > + data.output = output; > + igt_dynamic_f("%s", data.output->name) { > + data.op = op; > + data.test_plane_id = > DRM_PLANE_TYPE_PRIMARY; > + test_setup(&data); > + run_test(&data); > + test_cleanup(&data); > + } > + } > + } > + } > + > + for (op = MMAP_GTT; op <= PLANE_ONOFF; op++) { > + igt_describe("Check if psr is detecting memory mapping,rendering " > + "and plane operations performed on sprite > planes"); > + igt_subtest_with_dynamic_f("%s%ssprite-%s", append_fbc_subtest[y], > + append_subtest_name[z], > + op_str(op)) { > + igt_skip_on(is_xe_device(data.drm_fd) && > + (op == MMAP_CPU || op == MMAP_GTT)); > + for_each_connected_output(&data.display, output) { > + if (!psr_sink_support(data.drm_fd, > data.debugfs_fd, > + data.op_psr_mode, output)) > + continue; > + igt_display_reset(&data.display); > + data.output = output; > + igt_dynamic_f("%s", data.output->name) { > + data.op = op; > + data.test_plane_id = > DRM_PLANE_TYPE_OVERLAY; > + test_setup(&data); > + run_test(&data); > + test_cleanup(&data); > + } > + } > + } > + > + igt_describe("Check if psr is detecting memory mapping, rendering > " > + "and plane operations performed on cursor > planes"); > + igt_subtest_with_dynamic_f("%s%scursor-%s", append_fbc_subtest[y], > + append_subtest_name[z], > + op_str(op)) { > + igt_skip_on(is_xe_device(data.drm_fd) && > + (op == MMAP_CPU || op == MMAP_GTT)); > + for_each_connected_output(&data.display, output) { > + if (!psr_sink_support(data.drm_fd, > data.debugfs_fd, > + data.op_psr_mode, output)) > + continue; > + igt_display_reset(&data.display); > + data.output = output; > + igt_dynamic_f("%s", data.output->name) { > + data.test_plane_id = > DRM_PLANE_TYPE_CURSOR; > + test_setup(&data); > + run_test(&data); > + test_cleanup(&data); > + } > + } > + } > + } > + > + igt_describe("Check if psr is detecting changes when rendering operation " > + "is performed with dpms enabled or disabled"); > + igt_subtest_with_dynamic_f("%s%sdpms", append_fbc_subtest[y], > + append_subtest_name[z]) { > for_each_connected_output(&data.display, output) { > if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > data.op_psr_mode, output)) > @@ -842,22 +1043,20 @@ igt_main > igt_display_reset(&data.display); > data.output = output; > igt_dynamic_f("%s", data.output->name) { > - data.op = op; > - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; > + data.op = igt_get_render_copyfunc(data.devid) ? > RENDER : BLT; > + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > test_setup(&data); > + dpms_off_on(&data); > run_test(&data); > test_cleanup(&data); > } > } > } > > - igt_describe("Check if psr is detecting memory mapping, rendering " > - "and plane operations performed on cursor planes"); > - igt_subtest_with_dynamic_f("%scursor_%s", > - append_subtest_name[z], > - op_str(op)) { > - igt_skip_on(is_xe_device(data.drm_fd) && > - (op == MMAP_CPU || op == MMAP_GTT)); > + igt_describe("Check if psr is detecting changes when plane operation is " > + "performed with suspend resume cycles"); > + igt_subtest_with_dynamic_f("%s%ssuspend", append_fbc_subtest[y], > + append_subtest_name[z]) { > for_each_connected_output(&data.display, output) { > if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > data.op_psr_mode, output)) > @@ -865,56 +1064,18 @@ igt_main > igt_display_reset(&data.display); > data.output = output; > igt_dynamic_f("%s", data.output->name) { > + data.op = PLANE_ONOFF; > data.test_plane_id = DRM_PLANE_TYPE_CURSOR; > test_setup(&data); > + igt_system_suspend_autoresume(SUSPEND_STATE_MEM, > + SUSPEND_TEST_NONE); > + igt_assert(psr_wait_entry_if_enabled(&data)); > run_test(&data); > test_cleanup(&data); > } > } > } > } > - > - igt_describe("Check if psr is detecting changes when rendering operation is > performed" > - " with dpms enabled or disabled"); > - igt_subtest_with_dynamic_f("%sdpms", append_subtest_name[z]) { > - for_each_connected_output(&data.display, output) { > - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > - data.op_psr_mode, output)) > - continue; > - igt_display_reset(&data.display); > - data.output = output; > - igt_dynamic_f("%s", data.output->name) { > - data.op = igt_get_render_copyfunc(data.devid) ? RENDER : > BLT; > - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; > - test_setup(&data); > - dpms_off_on(&data); > - run_test(&data); > - test_cleanup(&data); > - } > - } > - } > - > - igt_describe("Check if psr is detecting changes when plane operation is performed > " > - "with suspend resume cycles"); > - igt_subtest_with_dynamic_f("%ssuspend", append_subtest_name[z]) { > - for_each_connected_output(&data.display, output) { > - if (!psr_sink_support(data.drm_fd, data.debugfs_fd, > - data.op_psr_mode, output)) > - continue; > - igt_display_reset(&data.display); > - data.output = output; > - igt_dynamic_f("%s", data.output->name) { > - data.op = PLANE_ONOFF; > - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; > - test_setup(&data); > - igt_system_suspend_autoresume(SUSPEND_STATE_MEM, > - SUSPEND_TEST_NONE); > - igt_assert(psr_wait_entry_if_enabled(&data)); > - run_test(&data); > - test_cleanup(&data); > - } > - } > - } > } > > igt_fixture { ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests Jeevan B @ 2023-11-30 9:45 ` Jeevan B 2023-11-30 10:56 ` [igt-dev] ✓ Fi.CI.BAT: success for Add FBC support to PSR/PSR2 tests (rev11) Patchwork ` (2 subsequent siblings) 4 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-30 9:45 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 606 +++++++++++++++++++++----------------- 1 file changed, 335 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 27faa93d9..77bc23213 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -37,6 +37,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -47,6 +48,10 @@ * Description: Test that selective fetch works on moving %arg[1] plane %arg[2] * visible area (no update) * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * * arg[1]: * * @cursor: Cursor @@ -63,24 +68,46 @@ * SUBTEST: cursor-plane-update-sf * Description: Test that selective fetch works on cursor plane * + * SUBTEST: fbc-cursor-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on cursor plane + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb + * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -131,10 +158,12 @@ typedef struct { struct drm_mode_rect plane_move_clip; struct drm_mode_rect cursor_clip; enum operations op; + enum fbc_mode op_fbc_mode; enum plane_move_postion pos; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -840,6 +869,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag == true && data->op_fbc_mode == FBC_ENABLED) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -942,10 +976,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc-" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -961,6 +1000,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -995,54 +1039,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1050,28 +1156,25 @@ igt_main } } } - } - - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1079,130 +1182,137 @@ igt_main } } } - } - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1210,103 +1320,88 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1317,37 +1412,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for Add FBC support to PSR/PSR2 tests (rev11) 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests Jeevan B 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B @ 2023-11-30 10:56 ` Patchwork 2023-11-30 11:00 ` [igt-dev] ✓ CI.xeBAT: " Patchwork 2023-12-01 18:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 4 siblings, 0 replies; 15+ messages in thread From: Patchwork @ 2023-11-30 10:56 UTC (permalink / raw) To: Jeevan B; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 5570 bytes --] == Series Details == Series: Add FBC support to PSR/PSR2 tests (rev11) URL : https://patchwork.freedesktop.org/series/126689/ State : success == Summary == CI Bug Log - changes from CI_DRM_13953 -> IGTPW_10301 ==================================================== Summary ------- **SUCCESS** No regressions found. External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/index.html Participating hosts (38 -> 38) ------------------------------ Additional (2): bat-kbl-2 fi-pnv-d510 Missing (2): bat-rpls-1 fi-snb-2520m Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_10301: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * {igt@kms_psr@psr_cursor_plane_move}: - bat-mtlp-8: NOTRUN -> [SKIP][1] +3 other tests skip [1]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-mtlp-8/igt@kms_psr@psr_cursor_plane_move.html * {igt@kms_psr@psr_primary_mmap_gtt}: - bat-adls-5: NOTRUN -> [SKIP][2] +3 other tests skip [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-adls-5/igt@kms_psr@psr_primary_mmap_gtt.html Known issues ------------ Here are the changes found in IGTPW_10301 that come from known issues: ### IGT changes ### #### Issues hit #### * igt@fbdev@info: - bat-kbl-2: NOTRUN -> [SKIP][3] ([fdo#109271] / [i915#1849]) [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-kbl-2/igt@fbdev@info.html * igt@gem_exec_suspend@basic-s0@smem: - bat-dg2-9: [PASS][4] -> [INCOMPLETE][5] ([i915#9275]) [4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/bat-dg2-9/igt@gem_exec_suspend@basic-s0@smem.html [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-dg2-9/igt@gem_exec_suspend@basic-s0@smem.html * igt@gem_lmem_swapping@basic: - fi-pnv-d510: NOTRUN -> [SKIP][6] ([fdo#109271]) +25 other tests skip [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/fi-pnv-d510/igt@gem_lmem_swapping@basic.html * igt@gem_lmem_swapping@parallel-random-engines: - bat-kbl-2: NOTRUN -> [SKIP][7] ([fdo#109271]) +20 other tests skip [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-kbl-2/igt@gem_lmem_swapping@parallel-random-engines.html * igt@gem_lmem_swapping@random-engines: - fi-bsw-n3050: NOTRUN -> [SKIP][8] ([fdo#109271]) +14 other tests skip [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/fi-bsw-n3050/igt@gem_lmem_swapping@random-engines.html * igt@kms_hdmi_inject@inject-audio: - fi-bsw-n3050: NOTRUN -> [FAIL][9] ([IGT#152]) [9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/fi-bsw-n3050/igt@kms_hdmi_inject@inject-audio.html * igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence: - bat-dg2-11: NOTRUN -> [SKIP][10] ([i915#1845] / [i915#9197]) +1 other test skip [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-dg2-11/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence.html * igt@kms_pipe_crc_basic@read-crc-frame-sequence: - bat-kbl-2: NOTRUN -> [SKIP][11] ([fdo#109271] / [i915#1845]) +14 other tests skip [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-kbl-2/igt@kms_pipe_crc_basic@read-crc-frame-sequence.html #### Possible fixes #### * igt@kms_hdmi_inject@inject-audio: - fi-kbl-guc: [FAIL][12] ([IGT#3]) -> [PASS][13] [12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/fi-kbl-guc/igt@kms_hdmi_inject@inject-audio.html [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/fi-kbl-guc/igt@kms_hdmi_inject@inject-audio.html * igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1: - bat-rplp-1: [ABORT][14] ([i915#8668]) -> [PASS][15] [14]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/bat-rplp-1/igt@kms_pipe_crc_basic@read-crc-frame-sequence@pipe-d-edp-1.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [IGT#152]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/152 [IGT#3]: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/3 [fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271 [fdo#112080]: https://bugs.freedesktop.org/show_bug.cgi?id=112080 [i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845 [i915#1849]: https://gitlab.freedesktop.org/drm/intel/issues/1849 [i915#7359]: https://gitlab.freedesktop.org/drm/intel/issues/7359 [i915#8668]: https://gitlab.freedesktop.org/drm/intel/issues/8668 [i915#8981]: https://gitlab.freedesktop.org/drm/intel/issues/8981 [i915#9197]: https://gitlab.freedesktop.org/drm/intel/issues/9197 [i915#9275]: https://gitlab.freedesktop.org/drm/intel/issues/9275 Build changes ------------- * CI: CI-20190529 -> None * IGT: IGT_7611 -> IGTPW_10301 CI-20190529: 20190529 CI_DRM_13953: f5e546eca33c967f73ab6c9ebdcea0e1ec7cd9df @ git://anongit.freedesktop.org/gfx-ci/linux IGTPW_10301: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/index.html IGT_7611: 7611 Testlist changes ---------------- +++ 139 lines --- 63 lines == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/index.html [-- Attachment #2: Type: text/html, Size: 6630 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] ✓ CI.xeBAT: success for Add FBC support to PSR/PSR2 tests (rev11) 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B ` (2 preceding siblings ...) 2023-11-30 10:56 ` [igt-dev] ✓ Fi.CI.BAT: success for Add FBC support to PSR/PSR2 tests (rev11) Patchwork @ 2023-11-30 11:00 ` Patchwork 2023-12-01 18:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork 4 siblings, 0 replies; 15+ messages in thread From: Patchwork @ 2023-11-30 11:00 UTC (permalink / raw) To: Jeevan B; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 3721 bytes --] == Series Details == Series: Add FBC support to PSR/PSR2 tests (rev11) URL : https://patchwork.freedesktop.org/series/126689/ State : success == Summary == CI Bug Log - changes from XEIGT_7611_BAT -> XEIGTPW_10301_BAT ==================================================== Summary ------- **SUCCESS** No regressions found. Participating hosts (4 -> 4) ------------------------------ No changes in participating hosts Possible new issues ------------------- Here are the unknown changes that may have been introduced in XEIGTPW_10301_BAT: ### IGT changes ### #### Suppressed #### The following results come from untrusted machines, tests, or statuses. They do not affect the overall result. * {igt@kms_psr@psr_cursor_plane_move}: - bat-adlp-7: [PASS][1] -> [SKIP][2] +2 other tests skip [1]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7611/bat-adlp-7/igt@kms_psr@psr_cursor_plane_move.html [2]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/bat-adlp-7/igt@kms_psr@psr_cursor_plane_move.html Known issues ------------ Here are the changes found in XEIGTPW_10301_BAT that come from known issues: ### IGT changes ### #### Issues hit #### * igt@kms_cursor_legacy@basic-flip-before-cursor-legacy: - bat-adlp-7: [PASS][3] -> [FAIL][4] ([i915#2346]) [3]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7611/bat-adlp-7/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html [4]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/bat-adlp-7/igt@kms_cursor_legacy@basic-flip-before-cursor-legacy.html * igt@kms_flip@basic-flip-vs-wf_vblank@c-dp3: - bat-dg2-oem2: [PASS][5] -> [FAIL][6] ([Intel XE#480]) +1 other test fail [5]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7611/bat-dg2-oem2/igt@kms_flip@basic-flip-vs-wf_vblank@c-dp3.html [6]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/bat-dg2-oem2/igt@kms_flip@basic-flip-vs-wf_vblank@c-dp3.html #### Possible fixes #### * igt@kms_cursor_legacy@basic-flip-after-cursor-legacy: - bat-dg2-oem2: [FAIL][7] ([Intel XE#773]) -> [PASS][8] [7]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7611/bat-dg2-oem2/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html [8]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/bat-dg2-oem2/igt@kms_cursor_legacy@basic-flip-after-cursor-legacy.html * {igt@xe_create@create-execqueues-leak}: - bat-atsm-2: [FAIL][9] ([Intel XE#524]) -> [PASS][10] [9]: https://intel-gfx-ci.01.org/tree/intel-xe/IGT_7611/bat-atsm-2/igt@xe_create@create-execqueues-leak.html [10]: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/bat-atsm-2/igt@xe_create@create-execqueues-leak.html {name}: This element is suppressed. This means it is ignored when computing the status of the difference (SUCCESS, WARNING, or FAILURE). [Intel XE#480]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/480 [Intel XE#524]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/524 [Intel XE#773]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/773 [i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346 Build changes ------------- * IGT: IGT_7611 -> IGTPW_10301 * Linux: xe-537-ff1db4de1e4054052fbf99ef307757fd2bc74df5 -> xe-538-afdc645350a4b30d1ba6c52deed4ecc11bf7c083 IGTPW_10301: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/index.html IGT_7611: 7611 xe-537-ff1db4de1e4054052fbf99ef307757fd2bc74df5: ff1db4de1e4054052fbf99ef307757fd2bc74df5 xe-538-afdc645350a4b30d1ba6c52deed4ecc11bf7c083: afdc645350a4b30d1ba6c52deed4ecc11bf7c083 == Logs == For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/IGTPW_10301/index.html [-- Attachment #2: Type: text/html, Size: 4433 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] ✗ Fi.CI.IGT: failure for Add FBC support to PSR/PSR2 tests (rev11) 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B ` (3 preceding siblings ...) 2023-11-30 11:00 ` [igt-dev] ✓ CI.xeBAT: " Patchwork @ 2023-12-01 18:02 ` Patchwork 4 siblings, 0 replies; 15+ messages in thread From: Patchwork @ 2023-12-01 18:02 UTC (permalink / raw) To: Jeevan B; +Cc: igt-dev [-- Attachment #1: Type: text/plain, Size: 100261 bytes --] == Series Details == Series: Add FBC support to PSR/PSR2 tests (rev11) URL : https://patchwork.freedesktop.org/series/126689/ State : failure == Summary == CI Bug Log - changes from CI_DRM_13953_full -> IGTPW_10301_full ==================================================== Summary ------- **FAILURE** Serious unknown changes coming with IGTPW_10301_full absolutely need to be verified manually. If you think the reported changes have nothing to do with the changes introduced in IGTPW_10301_full, please notify your bug team (I915-ci-infra@lists.freedesktop.org) 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_10301/index.html Participating hosts (12 -> 10) ------------------------------ Missing (2): shard-mtlp0 shard-tglu0 Possible new issues ------------------- Here are the unknown changes that may have been introduced in IGTPW_10301_full: ### IGT changes ### #### Possible regressions #### * igt@kms_busy@extended-modeset-hang-newfb@pipe-a: - shard-glk: [PASS][1] -> [INCOMPLETE][2] [1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-glk9/igt@kms_busy@extended-modeset-hang-newfb@pipe-a.html [2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-glk7/igt@kms_busy@extended-modeset-hang-newfb@pipe-a.html * {igt@kms_psr@fbc-pr-primary-blt} (NEW): - shard-mtlp: NOTRUN -> [SKIP][3] +41 other tests skip [3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_psr@fbc-pr-primary-blt.html * {igt@kms_psr@fbc-psr-no-drrs} (NEW): - shard-tglu: NOTRUN -> [SKIP][4] +137 other tests skip [4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@kms_psr@fbc-psr-no-drrs.html * {igt@kms_psr@fbc-psr2-cursor-blt@edp-1} (NEW): - shard-mtlp: NOTRUN -> [FAIL][5] +45 other tests fail [5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_psr@fbc-psr2-cursor-blt@edp-1.html * {igt@kms_psr@fbc-psr2-sprite-render} (NEW): - shard-rkl: NOTRUN -> [SKIP][6] +81 other tests skip [6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_psr@fbc-psr2-sprite-render.html * {igt@kms_psr@psr2-primary-mmap-gtt} (NEW): - shard-dg2: NOTRUN -> [SKIP][7] +88 other tests skip [7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_psr@psr2-primary-mmap-gtt.html * {igt@kms_psr@psr2-sprite-mmap-gtt} (NEW): - shard-dg1: NOTRUN -> [SKIP][8] +130 other tests skip [8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-13/igt@kms_psr@psr2-sprite-mmap-gtt.html #### Warnings #### * igt@gem_create@create-ext-cpu-access-big: - shard-dg2: [INCOMPLETE][9] ([i915#9364]) -> [ABORT][10] [9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-11/igt@gem_create@create-ext-cpu-access-big.html [10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-7/igt@gem_create@create-ext-cpu-access-big.html New tests --------- New tests have been introduced between CI_DRM_13953_full and IGTPW_10301_full: ### New IGT tests (249) ### * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-fully-sf: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-fully-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-exceed-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-sf: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-move-continuous-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-update-continuous-sf: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-update-continuous-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-cursor-plane-update-continuous-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-fully-sf: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-fully-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-fully-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-sf: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-exceed-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-sf: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-move-continuous-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf-dmg-area: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf-dmg-area@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf-dmg-area@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-plane-update-continuous-sf@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-primary-update-sf-dmg-area: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-primary-update-sf-dmg-area@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-overlay-primary-update-sf-dmg-area@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-plane-move-sf-dmg-area: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-plane-move-sf-dmg-area@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-plane-move-sf-dmg-area@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area-big-fb: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area-big-fb@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area-big-fb@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area@pipe-a-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr2_sf@fbc-primary-plane-update-continuous-sf-dmg-area@pipe-b-edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-basic: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-mmap-gtt: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-plane-onoff: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-cursor-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-dpms: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-no-drrs: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-primary-blt: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-primary-mmap-cpu: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-primary-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-primary-page-flip: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-primary-render: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-plane-onoff: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-sprite-render: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-pr-suspend: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-basic: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-basic@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-blt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-mmap-cpu: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-mmap-gtt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-plane-onoff: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-render: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-cursor-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-dpms: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-dpms@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-no-drrs: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-no-drrs@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-blt: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-mmap-cpu: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-page-flip: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-page-flip@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-primary-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-plane-onoff: - Statuses : 3 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-sprite-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-suspend: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr-suspend@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-basic: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-basic@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-blt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-blt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-mmap-cpu@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-mmap-gtt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-plane-move: - Statuses : 3 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-plane-move@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-plane-onoff: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-plane-onoff@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-cursor-render@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-dpms: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-dpms@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-no-drrs: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-no-drrs@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-blt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-mmap-cpu: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-mmap-cpu@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-mmap-gtt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-page-flip: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-page-flip@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-render: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-primary-render@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-blt: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-blt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-mmap-cpu: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-mmap-cpu@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-mmap-gtt@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-plane-move: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-plane-move@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-plane-onoff: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-plane-onoff@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-sprite-render@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-suspend: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@fbc-psr2-suspend@edp-1: - Statuses : 1 fail(s) - Exec time: [0.0] s * igt@kms_psr@pr-basic: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-blt: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-mmap-cpu: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-plane-onoff: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-cursor-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-dpms: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-no-drrs: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-primary-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-primary-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-primary-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-primary-page-flip: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-primary-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-blt: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-mmap-cpu: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-mmap-gtt: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-plane-move: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-plane-onoff: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-sprite-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@pr-suspend: - Statuses : 7 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-basic: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-basic@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-blt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-mmap-gtt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-plane-onoff: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-render: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-cursor-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-dpms: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-dpms@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-no-drrs: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-no-drrs@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-page-flip: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-page-flip@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-primary-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-blt: - Statuses : 3 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-mmap-cpu: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-plane-move: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-plane-onoff: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-render: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-sprite-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr-suspend: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr-suspend@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-basic: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-basic@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-blt: - Statuses : 3 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-mmap-gtt: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-mmap-gtt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-plane-move: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-plane-onoff: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-cursor-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-dpms: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-dpms@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-no-drrs: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-no-drrs@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-blt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-mmap-cpu: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-mmap-gtt: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-page-flip: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-page-flip@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-render: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-primary-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-blt: - Statuses : 4 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-blt@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-mmap-cpu: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-mmap-cpu@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-mmap-gtt: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-mmap-gtt@edp-1: - Statuses : 1 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-plane-move: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-plane-move@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-plane-onoff: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-plane-onoff@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-render: - Statuses : 6 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-sprite-render@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s * igt@kms_psr@psr2-suspend: - Statuses : 5 skip(s) - Exec time: [0.0] s * igt@kms_psr@psr2-suspend@edp-1: - Statuses : 1 pass(s) - Exec time: [0.0] s Known issues ------------ Here are the changes found in IGTPW_10301_full that come from known issues: ### IGT changes ### #### Issues hit #### * igt@api_intel_bb@blit-reloc-purge-cache: - shard-rkl: NOTRUN -> [SKIP][11] ([i915#8411]) +2 other tests skip [11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@api_intel_bb@blit-reloc-purge-cache.html * igt@api_intel_bb@crc32: - shard-rkl: NOTRUN -> [SKIP][12] ([i915#6230]) [12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@api_intel_bb@crc32.html * igt@device_reset@cold-reset-bound: - shard-dg2: NOTRUN -> [SKIP][13] ([i915#7701]) +1 other test skip [13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@device_reset@cold-reset-bound.html * igt@drm_fdinfo@busy-check-all@ccs0: - shard-mtlp: NOTRUN -> [SKIP][14] ([i915#8414]) +5 other tests skip [14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@drm_fdinfo@busy-check-all@ccs0.html * igt@drm_fdinfo@most-busy-idle-check-all@vecs1: - shard-dg2: NOTRUN -> [SKIP][15] ([i915#8414]) +40 other tests skip [15]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@drm_fdinfo@most-busy-idle-check-all@vecs1.html * igt@drm_fdinfo@virtual-busy-idle: - shard-dg1: NOTRUN -> [SKIP][16] ([i915#8414]) [16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-15/igt@drm_fdinfo@virtual-busy-idle.html * igt@drm_fdinfo@virtual-idle: - shard-rkl: NOTRUN -> [FAIL][17] ([i915#7742]) +1 other test fail [17]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@drm_fdinfo@virtual-idle.html * igt@gem_ccs@ctrl-surf-copy-new-ctx: - shard-mtlp: NOTRUN -> [SKIP][18] ([i915#9323]) [18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@gem_ccs@ctrl-surf-copy-new-ctx.html * igt@gem_ccs@suspend-resume: - shard-rkl: NOTRUN -> [SKIP][19] ([i915#9323]) [19]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_ccs@suspend-resume.html - shard-tglu: NOTRUN -> [SKIP][20] ([i915#9323]) [20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-3/igt@gem_ccs@suspend-resume.html * igt@gem_close_race@multigpu-basic-process: - shard-mtlp: NOTRUN -> [SKIP][21] ([i915#7697]) [21]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-4/igt@gem_close_race@multigpu-basic-process.html * igt@gem_close_race@multigpu-basic-threads: - shard-rkl: NOTRUN -> [SKIP][22] ([i915#7697]) [22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_close_race@multigpu-basic-threads.html * igt@gem_create@create-ext-cpu-access-big: - shard-rkl: NOTRUN -> [SKIP][23] ([i915#6335]) [23]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_create@create-ext-cpu-access-big.html * igt@gem_create@create-ext-set-pat: - shard-dg2: NOTRUN -> [SKIP][24] ([i915#8562]) [24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@gem_create@create-ext-set-pat.html - shard-rkl: NOTRUN -> [SKIP][25] ([i915#8562]) [25]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@gem_create@create-ext-set-pat.html * igt@gem_ctx_exec@basic-nohangcheck: - shard-tglu: [PASS][26] -> [FAIL][27] ([i915#6268]) [26]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-10/igt@gem_ctx_exec@basic-nohangcheck.html [27]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@gem_ctx_exec@basic-nohangcheck.html * igt@gem_ctx_param@set-priority-not-supported: - shard-dg2: NOTRUN -> [SKIP][28] ([fdo#109314]) [28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@gem_ctx_param@set-priority-not-supported.html * igt@gem_ctx_persistence@saturated-hostile-nopreempt@vcs1: - shard-mtlp: NOTRUN -> [SKIP][29] ([i915#5882]) +5 other tests skip [29]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@gem_ctx_persistence@saturated-hostile-nopreempt@vcs1.html * igt@gem_ctx_sseu@invalid-sseu: - shard-dg2: NOTRUN -> [SKIP][30] ([i915#280]) [30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@gem_ctx_sseu@invalid-sseu.html - shard-rkl: NOTRUN -> [SKIP][31] ([i915#280]) +2 other tests skip [31]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@gem_ctx_sseu@invalid-sseu.html - shard-mtlp: NOTRUN -> [SKIP][32] ([i915#280]) [32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@gem_ctx_sseu@invalid-sseu.html * igt@gem_eio@reset-stress: - shard-dg1: [PASS][33] -> [FAIL][34] ([i915#5784]) [33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg1-13/igt@gem_eio@reset-stress.html [34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-15/igt@gem_eio@reset-stress.html * igt@gem_exec_balancer@invalid-bonds: - shard-dg2: NOTRUN -> [SKIP][35] ([i915#4036]) [35]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@gem_exec_balancer@invalid-bonds.html - shard-mtlp: NOTRUN -> [SKIP][36] ([i915#4036]) [36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@gem_exec_balancer@invalid-bonds.html * igt@gem_exec_balancer@parallel-balancer: - shard-rkl: NOTRUN -> [SKIP][37] ([i915#4525]) +2 other tests skip [37]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@gem_exec_balancer@parallel-balancer.html * igt@gem_exec_balancer@parallel-ordering: - shard-tglu: NOTRUN -> [FAIL][38] ([i915#6117]) [38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-5/igt@gem_exec_balancer@parallel-ordering.html * igt@gem_exec_capture@capture-recoverable: - shard-rkl: NOTRUN -> [SKIP][39] ([i915#6344]) [39]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_exec_capture@capture-recoverable.html * igt@gem_exec_capture@many-4k-zero: - shard-rkl: NOTRUN -> [FAIL][40] ([i915#9606]) [40]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@gem_exec_capture@many-4k-zero.html * igt@gem_exec_fair@basic-none: - shard-mtlp: NOTRUN -> [SKIP][41] ([i915#4473] / [i915#4771]) [41]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@gem_exec_fair@basic-none.html * igt@gem_exec_fair@basic-none-solo: - shard-dg1: NOTRUN -> [SKIP][42] ([i915#3539] / [i915#4852]) [42]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-18/igt@gem_exec_fair@basic-none-solo.html * igt@gem_exec_fair@basic-none-solo@rcs0: - shard-tglu: NOTRUN -> [FAIL][43] ([i915#2842]) [43]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-7/igt@gem_exec_fair@basic-none-solo@rcs0.html * igt@gem_exec_fair@basic-none-vip@rcs0: - shard-rkl: NOTRUN -> [FAIL][44] ([i915#2842]) +4 other tests fail [44]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_exec_fair@basic-none-vip@rcs0.html * igt@gem_exec_fair@basic-pace-share@rcs0: - shard-glk: [PASS][45] -> [FAIL][46] ([i915#2842]) +1 other test fail [45]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-glk3/igt@gem_exec_fair@basic-pace-share@rcs0.html [46]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html - shard-rkl: [PASS][47] -> [FAIL][48] ([i915#2842]) [47]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-4/igt@gem_exec_fair@basic-pace-share@rcs0.html [48]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_exec_fair@basic-pace-share@rcs0.html - shard-tglu: [PASS][49] -> [FAIL][50] ([i915#2842]) [49]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-4/igt@gem_exec_fair@basic-pace-share@rcs0.html [50]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-4/igt@gem_exec_fair@basic-pace-share@rcs0.html * igt@gem_exec_fair@basic-throttle: - shard-dg2: NOTRUN -> [SKIP][51] ([i915#3539]) [51]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@gem_exec_fair@basic-throttle.html * igt@gem_exec_fence@submit: - shard-dg2: NOTRUN -> [SKIP][52] ([i915#4812]) [52]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_exec_fence@submit.html * igt@gem_exec_fence@submit3: - shard-mtlp: NOTRUN -> [SKIP][53] ([i915#4812]) [53]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@gem_exec_fence@submit3.html * igt@gem_exec_flush@basic-uc-pro-default: - shard-dg2: NOTRUN -> [SKIP][54] ([i915#3539] / [i915#4852]) +2 other tests skip [54]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_exec_flush@basic-uc-pro-default.html * igt@gem_exec_gttfill@multigpu-basic: - shard-dg2: NOTRUN -> [SKIP][55] ([i915#7697]) [55]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_exec_gttfill@multigpu-basic.html * igt@gem_exec_params@rsvd2-dirt: - shard-rkl: NOTRUN -> [SKIP][56] ([fdo#109283]) [56]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_exec_params@rsvd2-dirt.html * igt@gem_exec_reloc@basic-cpu-gtt: - shard-rkl: NOTRUN -> [SKIP][57] ([i915#3281]) +20 other tests skip [57]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_exec_reloc@basic-cpu-gtt.html * igt@gem_exec_reloc@basic-cpu-wc-noreloc: - shard-mtlp: NOTRUN -> [SKIP][58] ([i915#3281]) +9 other tests skip [58]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-5/igt@gem_exec_reloc@basic-cpu-wc-noreloc.html * igt@gem_exec_reloc@basic-gtt-cpu: - shard-dg1: NOTRUN -> [SKIP][59] ([i915#3281]) [59]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-19/igt@gem_exec_reloc@basic-gtt-cpu.html * igt@gem_exec_reloc@basic-gtt-cpu-active: - shard-dg2: NOTRUN -> [SKIP][60] ([i915#3281]) +14 other tests skip [60]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_exec_reloc@basic-gtt-cpu-active.html * igt@gem_exec_schedule@preempt-queue-chain: - shard-dg2: NOTRUN -> [SKIP][61] ([i915#4537] / [i915#4812]) [61]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@gem_exec_schedule@preempt-queue-chain.html * igt@gem_fence_thrash@bo-write-verify-y: - shard-dg2: NOTRUN -> [SKIP][62] ([i915#4860]) +1 other test skip [62]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_fence_thrash@bo-write-verify-y.html * igt@gem_fenced_exec_thrash@no-spare-fences-interruptible: - shard-mtlp: NOTRUN -> [SKIP][63] ([i915#4860]) [63]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@gem_fenced_exec_thrash@no-spare-fences-interruptible.html * igt@gem_lmem_swapping@parallel-random-verify-ccs: - shard-rkl: NOTRUN -> [SKIP][64] ([i915#4613]) +10 other tests skip [64]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@gem_lmem_swapping@parallel-random-verify-ccs.html * igt@gem_lmem_swapping@random: - shard-tglu: NOTRUN -> [SKIP][65] ([i915#4613]) +2 other tests skip [65]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@gem_lmem_swapping@random.html * igt@gem_lmem_swapping@smem-oom@lmem0: - shard-dg2: [PASS][66] -> [TIMEOUT][67] ([i915#5493]) [66]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-5/igt@gem_lmem_swapping@smem-oom@lmem0.html [67]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-3/igt@gem_lmem_swapping@smem-oom@lmem0.html * igt@gem_lmem_swapping@verify-random-ccs: - shard-mtlp: NOTRUN -> [SKIP][68] ([i915#4613]) +1 other test skip [68]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@gem_lmem_swapping@verify-random-ccs.html * igt@gem_mmap@bad-object: - shard-mtlp: NOTRUN -> [SKIP][69] ([i915#4083]) [69]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@gem_mmap@bad-object.html * igt@gem_mmap_gtt@zero-extend: - shard-dg2: NOTRUN -> [SKIP][70] ([i915#4077]) +14 other tests skip [70]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-3/igt@gem_mmap_gtt@zero-extend.html * igt@gem_mmap_wc@close: - shard-dg2: NOTRUN -> [SKIP][71] ([i915#4083]) +6 other tests skip [71]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_mmap_wc@close.html * igt@gem_mmap_wc@pf-nonblock: - shard-dg1: NOTRUN -> [SKIP][72] ([i915#4083]) [72]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-13/igt@gem_mmap_wc@pf-nonblock.html * igt@gem_mmap_wc@set-cache-level: - shard-rkl: NOTRUN -> [SKIP][73] ([i915#1850]) [73]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_mmap_wc@set-cache-level.html * igt@gem_partial_pwrite_pread@writes-after-reads-uncached: - shard-mtlp: NOTRUN -> [SKIP][74] ([i915#3282]) [74]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@gem_partial_pwrite_pread@writes-after-reads-uncached.html * igt@gem_pwrite@basic-random: - shard-dg2: NOTRUN -> [SKIP][75] ([i915#3282]) +1 other test skip [75]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-10/igt@gem_pwrite@basic-random.html * igt@gem_pxp@create-regular-buffer: - shard-tglu: NOTRUN -> [SKIP][76] ([i915#4270]) [76]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@gem_pxp@create-regular-buffer.html * igt@gem_pxp@display-protected-crc: - shard-dg2: NOTRUN -> [SKIP][77] ([i915#4270]) +3 other tests skip [77]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@gem_pxp@display-protected-crc.html * igt@gem_pxp@dmabuf-shared-protected-dst-is-context-refcounted: - shard-rkl: NOTRUN -> [SKIP][78] ([i915#4270]) +4 other tests skip [78]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_pxp@dmabuf-shared-protected-dst-is-context-refcounted.html * igt@gem_pxp@protected-raw-src-copy-not-readible: - shard-mtlp: NOTRUN -> [SKIP][79] ([i915#4270]) +1 other test skip [79]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@gem_pxp@protected-raw-src-copy-not-readible.html * igt@gem_render_copy@y-tiled-ccs-to-yf-tiled-ccs: - shard-mtlp: NOTRUN -> [SKIP][80] ([i915#8428]) +2 other tests skip [80]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@gem_render_copy@y-tiled-ccs-to-yf-tiled-ccs.html * igt@gem_set_tiling_vs_blt@tiled-to-tiled: - shard-mtlp: NOTRUN -> [SKIP][81] ([i915#4079]) [81]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-1/igt@gem_set_tiling_vs_blt@tiled-to-tiled.html * igt@gem_set_tiling_vs_blt@tiled-to-untiled: - shard-dg2: NOTRUN -> [SKIP][82] ([i915#4079]) +1 other test skip [82]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-2/igt@gem_set_tiling_vs_blt@tiled-to-untiled.html * igt@gem_set_tiling_vs_pwrite: - shard-rkl: NOTRUN -> [SKIP][83] ([i915#3282]) +7 other tests skip [83]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_set_tiling_vs_pwrite.html * igt@gem_softpin@evict-snoop: - shard-rkl: NOTRUN -> [SKIP][84] ([fdo#109312]) [84]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@gem_softpin@evict-snoop.html * igt@gem_userptr_blits@access-control: - shard-mtlp: NOTRUN -> [SKIP][85] ([i915#3297]) +4 other tests skip [85]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@gem_userptr_blits@access-control.html * igt@gem_userptr_blits@coherency-sync: - shard-rkl: NOTRUN -> [SKIP][86] ([fdo#110542]) [86]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@gem_userptr_blits@coherency-sync.html * igt@gem_userptr_blits@create-destroy-unsync: - shard-rkl: NOTRUN -> [SKIP][87] ([i915#3297]) +5 other tests skip [87]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@gem_userptr_blits@create-destroy-unsync.html * igt@gem_userptr_blits@dmabuf-sync: - shard-rkl: NOTRUN -> [SKIP][88] ([i915#3323]) [88]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@gem_userptr_blits@dmabuf-sync.html * igt@gem_userptr_blits@map-fixed-invalidate-overlap: - shard-dg2: NOTRUN -> [SKIP][89] ([i915#3297] / [i915#4880]) [89]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gem_userptr_blits@map-fixed-invalidate-overlap.html * igt@gem_userptr_blits@sd-probe: - shard-dg2: NOTRUN -> [SKIP][90] ([i915#3297] / [i915#4958]) [90]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@gem_userptr_blits@sd-probe.html * igt@gem_userptr_blits@unsync-unmap-after-close: - shard-dg2: NOTRUN -> [SKIP][91] ([i915#3297]) [91]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@gem_userptr_blits@unsync-unmap-after-close.html * igt@gen7_exec_parse@basic-allowed: - shard-tglu: NOTRUN -> [SKIP][92] ([fdo#109289]) +2 other tests skip [92]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-9/igt@gen7_exec_parse@basic-allowed.html - shard-dg2: NOTRUN -> [SKIP][93] ([fdo#109289]) [93]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@gen7_exec_parse@basic-allowed.html - shard-dg1: NOTRUN -> [SKIP][94] ([fdo#109289]) [94]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-12/igt@gen7_exec_parse@basic-allowed.html * igt@gen7_exec_parse@oacontrol-tracking: - shard-mtlp: NOTRUN -> [SKIP][95] ([fdo#109289]) [95]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@gen7_exec_parse@oacontrol-tracking.html * igt@gen9_exec_parse@batch-zero-length: - shard-tglu: NOTRUN -> [SKIP][96] ([i915#2527] / [i915#2856]) +2 other tests skip [96]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-6/igt@gen9_exec_parse@batch-zero-length.html - shard-dg2: NOTRUN -> [SKIP][97] ([i915#2856]) +2 other tests skip [97]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@gen9_exec_parse@batch-zero-length.html * igt@gen9_exec_parse@bb-large: - shard-mtlp: NOTRUN -> [SKIP][98] ([i915#2856]) [98]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-4/igt@gen9_exec_parse@bb-large.html * igt@gen9_exec_parse@shadow-peek: - shard-rkl: NOTRUN -> [SKIP][99] ([i915#2527]) +6 other tests skip [99]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@gen9_exec_parse@shadow-peek.html * igt@i915_pipe_stress@stress-xrgb8888-ytiled: - shard-dg2: NOTRUN -> [SKIP][100] ([i915#7091]) [100]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@i915_pipe_stress@stress-xrgb8888-ytiled.html * igt@i915_pm_freq_api@freq-suspend: - shard-rkl: NOTRUN -> [SKIP][101] ([i915#8399]) +1 other test skip [101]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@i915_pm_freq_api@freq-suspend.html * igt@i915_pm_freq_mult@media-freq@gt0: - shard-rkl: NOTRUN -> [SKIP][102] ([i915#6590]) [102]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@i915_pm_freq_mult@media-freq@gt0.html * igt@i915_pm_rps@min-max-config-idle: - shard-dg2: NOTRUN -> [SKIP][103] ([i915#6621]) [103]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@i915_pm_rps@min-max-config-idle.html * igt@i915_pm_rps@min-max-config-loaded: - shard-mtlp: NOTRUN -> [SKIP][104] ([i915#6621]) [104]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@i915_pm_rps@min-max-config-loaded.html * igt@i915_pm_rps@waitboost: - shard-mtlp: NOTRUN -> [FAIL][105] ([i915#8346]) [105]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@i915_pm_rps@waitboost.html * igt@i915_pm_sseu@full-enable: - shard-dg2: NOTRUN -> [SKIP][106] ([i915#4387]) [106]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@i915_pm_sseu@full-enable.html - shard-rkl: NOTRUN -> [SKIP][107] ([i915#4387]) [107]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@i915_pm_sseu@full-enable.html * igt@i915_query@query-topology-coherent-slice-mask: - shard-dg2: NOTRUN -> [SKIP][108] ([i915#6188]) [108]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@i915_query@query-topology-coherent-slice-mask.html * igt@i915_selftest@mock@memory_region: - shard-rkl: NOTRUN -> [DMESG-WARN][109] ([i915#9311]) [109]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@i915_selftest@mock@memory_region.html * igt@kms_addfb_basic@invalid-smem-bo-on-discrete: - shard-rkl: NOTRUN -> [SKIP][110] ([i915#3826]) [110]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_addfb_basic@invalid-smem-bo-on-discrete.html * igt@kms_async_flips@crc@pipe-a-hdmi-a-3: - shard-dg2: NOTRUN -> [FAIL][111] ([i915#8247]) +3 other tests fail [111]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@kms_async_flips@crc@pipe-a-hdmi-a-3.html * igt@kms_async_flips@invalid-async-flip: - shard-dg2: NOTRUN -> [SKIP][112] ([i915#6228]) [112]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_async_flips@invalid-async-flip.html * igt@kms_async_flips@test-cursor: - shard-mtlp: NOTRUN -> [SKIP][113] ([i915#6229]) [113]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@kms_async_flips@test-cursor.html * igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels: - shard-dg2: NOTRUN -> [SKIP][114] ([i915#1769] / [i915#3555]) [114]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_atomic_transition@plane-all-modeset-transition-fencing-internal-panels.html * igt@kms_big_fb@4-tiled-16bpp-rotate-0: - shard-rkl: NOTRUN -> [SKIP][115] ([i915#1845] / [i915#4098]) +35 other tests skip [115]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_big_fb@4-tiled-16bpp-rotate-0.html * igt@kms_big_fb@4-tiled-16bpp-rotate-90: - shard-dg2: NOTRUN -> [SKIP][116] ([fdo#111614]) +6 other tests skip [116]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_big_fb@4-tiled-16bpp-rotate-90.html * igt@kms_big_fb@4-tiled-64bpp-rotate-180: - shard-rkl: NOTRUN -> [SKIP][117] ([i915#5286]) +4 other tests skip [117]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html - shard-mtlp: NOTRUN -> [FAIL][118] ([i915#5138]) [118]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-1/igt@kms_big_fb@4-tiled-64bpp-rotate-180.html * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-tglu: NOTRUN -> [SKIP][119] ([fdo#111615] / [i915#5286]) +2 other tests skip [119]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-4/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0: - shard-mtlp: [PASS][120] -> [FAIL][121] ([i915#5138]) [120]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-2/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0.html [121]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_big_fb@4-tiled-max-hw-stride-64bpp-rotate-0.html * igt@kms_big_fb@linear-32bpp-rotate-90: - shard-tglu: NOTRUN -> [SKIP][122] ([fdo#111614]) +2 other tests skip [122]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@kms_big_fb@linear-32bpp-rotate-90.html * igt@kms_big_fb@linear-64bpp-rotate-90: - shard-mtlp: NOTRUN -> [SKIP][123] ([fdo#111614]) [123]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@kms_big_fb@linear-64bpp-rotate-90.html * igt@kms_big_fb@y-tiled-64bpp-rotate-0: - shard-dg2: NOTRUN -> [SKIP][124] ([i915#5190]) +18 other tests skip [124]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_big_fb@y-tiled-64bpp-rotate-0.html * igt@kms_big_fb@y-tiled-8bpp-rotate-270: - shard-rkl: NOTRUN -> [SKIP][125] ([fdo#111614] / [i915#3638]) +3 other tests skip [125]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_big_fb@y-tiled-8bpp-rotate-270.html * igt@kms_big_fb@y-tiled-8bpp-rotate-90: - shard-dg1: NOTRUN -> [SKIP][126] ([i915#3638]) [126]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-19/igt@kms_big_fb@y-tiled-8bpp-rotate-90.html * igt@kms_big_fb@yf-tiled-16bpp-rotate-180: - shard-rkl: NOTRUN -> [SKIP][127] ([fdo#110723]) +6 other tests skip [127]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_big_fb@yf-tiled-16bpp-rotate-180.html * igt@kms_big_fb@yf-tiled-16bpp-rotate-90: - shard-dg2: NOTRUN -> [SKIP][128] ([i915#4538] / [i915#5190]) +4 other tests skip [128]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_big_fb@yf-tiled-16bpp-rotate-90.html - shard-tglu: NOTRUN -> [SKIP][129] ([fdo#111615]) +2 other tests skip [129]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-6/igt@kms_big_fb@yf-tiled-16bpp-rotate-90.html * igt@kms_big_fb@yf-tiled-32bpp-rotate-0: - shard-mtlp: NOTRUN -> [SKIP][130] ([fdo#111615]) +5 other tests skip [130]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_big_fb@yf-tiled-32bpp-rotate-0.html * igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow: - shard-rkl: NOTRUN -> [SKIP][131] ([fdo#111615]) [131]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_big_fb@yf-tiled-addfb-size-offset-overflow.html * igt@kms_big_joiner@invalid-modeset: - shard-rkl: NOTRUN -> [SKIP][132] ([i915#2705]) [132]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_big_joiner@invalid-modeset.html * igt@kms_cdclk@mode-transition: - shard-rkl: NOTRUN -> [SKIP][133] ([i915#3742]) +1 other test skip [133]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_cdclk@mode-transition.html * igt@kms_cdclk@plane-scaling@pipe-c-edp-1: - shard-mtlp: NOTRUN -> [SKIP][134] ([i915#4087]) +3 other tests skip [134]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_cdclk@plane-scaling@pipe-c-edp-1.html * igt@kms_chamelium_color@ctm-limited-range: - shard-dg2: NOTRUN -> [SKIP][135] ([fdo#111827]) [135]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_chamelium_color@ctm-limited-range.html * igt@kms_chamelium_color@ctm-negative: - shard-mtlp: NOTRUN -> [SKIP][136] ([fdo#111827]) [136]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@kms_chamelium_color@ctm-negative.html * igt@kms_chamelium_color@degamma: - shard-rkl: NOTRUN -> [SKIP][137] ([fdo#111827]) +2 other tests skip [137]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_chamelium_color@degamma.html * igt@kms_chamelium_color@gamma: - shard-tglu: NOTRUN -> [SKIP][138] ([fdo#111827]) +1 other test skip [138]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-10/igt@kms_chamelium_color@gamma.html * igt@kms_chamelium_edid@hdmi-edid-read: - shard-rkl: NOTRUN -> [SKIP][139] ([i915#7828]) +14 other tests skip [139]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@kms_chamelium_edid@hdmi-edid-read.html * igt@kms_chamelium_frames@hdmi-crc-fast: - shard-mtlp: NOTRUN -> [SKIP][140] ([i915#7828]) +3 other tests skip [140]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-5/igt@kms_chamelium_frames@hdmi-crc-fast.html * igt@kms_chamelium_hpd@dp-hpd-storm: - shard-dg2: NOTRUN -> [SKIP][141] ([i915#7828]) +10 other tests skip [141]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@kms_chamelium_hpd@dp-hpd-storm.html * igt@kms_chamelium_hpd@vga-hpd-without-ddc: - shard-tglu: NOTRUN -> [SKIP][142] ([i915#7828]) +2 other tests skip [142]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-3/igt@kms_chamelium_hpd@vga-hpd-without-ddc.html * igt@kms_content_protection@atomic: - shard-dg2: NOTRUN -> [SKIP][143] ([i915#7118]) [143]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-10/igt@kms_content_protection@atomic.html * igt@kms_content_protection@dp-mst-lic-type-0: - shard-tglu: NOTRUN -> [SKIP][144] ([i915#3116] / [i915#3299]) [144]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@kms_content_protection@dp-mst-lic-type-0.html * igt@kms_content_protection@dp-mst-lic-type-1: - shard-mtlp: NOTRUN -> [SKIP][145] ([i915#3299]) [145]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_content_protection@dp-mst-lic-type-1.html * igt@kms_content_protection@type1: - shard-rkl: NOTRUN -> [SKIP][146] ([i915#7118]) +1 other test skip [146]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@kms_content_protection@type1.html * igt@kms_cursor_crc@cursor-offscreen-512x170: - shard-rkl: NOTRUN -> [SKIP][147] ([fdo#109279] / [i915#3359]) [147]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_cursor_crc@cursor-offscreen-512x170.html * igt@kms_cursor_crc@cursor-random-512x512: - shard-rkl: NOTRUN -> [SKIP][148] ([i915#3359]) +1 other test skip [148]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_cursor_crc@cursor-random-512x512.html * igt@kms_cursor_crc@cursor-rapid-movement-32x10: - shard-rkl: NOTRUN -> [SKIP][149] ([i915#3555]) +14 other tests skip [149]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_cursor_crc@cursor-rapid-movement-32x10.html * igt@kms_cursor_crc@cursor-sliding-32x10: - shard-dg2: NOTRUN -> [SKIP][150] ([i915#3555]) +3 other tests skip [150]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_cursor_crc@cursor-sliding-32x10.html * igt@kms_cursor_crc@cursor-sliding-512x170: - shard-mtlp: NOTRUN -> [SKIP][151] ([i915#3359]) [151]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_cursor_crc@cursor-sliding-512x170.html - shard-dg2: NOTRUN -> [SKIP][152] ([i915#3359]) [152]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_cursor_crc@cursor-sliding-512x170.html * igt@kms_cursor_crc@cursor-sliding-max-size: - shard-mtlp: NOTRUN -> [SKIP][153] ([i915#3555] / [i915#8814]) +1 other test skip [153]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-1/igt@kms_cursor_crc@cursor-sliding-max-size.html * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic: - shard-mtlp: NOTRUN -> [SKIP][154] ([fdo#111767] / [i915#3546]) [154]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html * igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic: - shard-mtlp: NOTRUN -> [SKIP][155] ([i915#3546]) +3 other tests skip [155]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_cursor_legacy@2x-nonblocking-modeset-vs-cursor-atomic.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy: - shard-tglu: NOTRUN -> [SKIP][156] ([i915#4103]) +1 other test skip [156]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-9/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-legacy.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size: - shard-rkl: NOTRUN -> [SKIP][157] ([i915#4103]) +1 other test skip [157]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-varying-size.html * igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size: - shard-dg2: NOTRUN -> [SKIP][158] ([fdo#109274] / [i915#5354]) +1 other test skip [158]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@kms_cursor_legacy@cursorb-vs-flipa-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size: - shard-tglu: NOTRUN -> [SKIP][159] ([fdo#109274]) [159]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-2/igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size: - shard-rkl: [PASS][160] -> [SKIP][161] ([i915#1845] / [i915#4098]) +4 other tests skip [160]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html [161]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions-varying-size.html * igt@kms_cursor_legacy@single-bo@all-pipes: - shard-mtlp: [PASS][162] -> [DMESG-WARN][163] ([i915#2017]) [162]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-1/igt@kms_cursor_legacy@single-bo@all-pipes.html [163]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-4/igt@kms_cursor_legacy@single-bo@all-pipes.html * igt@kms_display_modes@mst-extended-mode-negative: - shard-dg2: NOTRUN -> [SKIP][164] ([i915#8588]) [164]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_display_modes@mst-extended-mode-negative.html - shard-rkl: NOTRUN -> [SKIP][165] ([i915#8588]) [165]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@kms_display_modes@mst-extended-mode-negative.html * igt@kms_draw_crc@draw-method-mmap-wc: - shard-dg2: NOTRUN -> [SKIP][166] ([i915#8812]) [166]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_draw_crc@draw-method-mmap-wc.html - shard-dg1: NOTRUN -> [SKIP][167] ([i915#8812]) [167]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-19/igt@kms_draw_crc@draw-method-mmap-wc.html * igt@kms_dsc@dsc-basic: - shard-dg2: NOTRUN -> [SKIP][168] ([i915#3555] / [i915#3840] / [i915#4098]) [168]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-2/igt@kms_dsc@dsc-basic.html * igt@kms_dsc@dsc-with-bpc: - shard-mtlp: NOTRUN -> [SKIP][169] ([i915#3555] / [i915#3840] / [i915#4098]) [169]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@kms_dsc@dsc-with-bpc.html * igt@kms_dsc@dsc-with-formats: - shard-tglu: NOTRUN -> [SKIP][170] ([i915#3555] / [i915#3840]) [170]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-9/igt@kms_dsc@dsc-with-formats.html * igt@kms_fbcon_fbt@fbc-suspend: - shard-rkl: NOTRUN -> [SKIP][171] ([i915#1849] / [i915#4098]) [171]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_fbcon_fbt@fbc-suspend.html * igt@kms_fbcon_fbt@psr: - shard-tglu: NOTRUN -> [SKIP][172] ([i915#3469]) [172]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-10/igt@kms_fbcon_fbt@psr.html * igt@kms_fbcon_fbt@psr-suspend: - shard-rkl: NOTRUN -> [SKIP][173] ([fdo#110189] / [i915#3955]) [173]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_fbcon_fbt@psr-suspend.html * igt@kms_flip@2x-blocking-wf_vblank: - shard-dg2: NOTRUN -> [SKIP][174] ([fdo#109274]) +8 other tests skip [174]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_flip@2x-blocking-wf_vblank.html * igt@kms_flip@2x-flip-vs-fences: - shard-tglu: NOTRUN -> [SKIP][175] ([fdo#109274] / [i915#3637]) +1 other test skip [175]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-3/igt@kms_flip@2x-flip-vs-fences.html * igt@kms_flip@2x-flip-vs-rmfb: - shard-mtlp: NOTRUN -> [SKIP][176] ([i915#3637]) +3 other tests skip [176]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_flip@2x-flip-vs-rmfb.html * igt@kms_flip@2x-flip-vs-rmfb-interruptible: - shard-dg2: NOTRUN -> [SKIP][177] ([fdo#109274] / [fdo#111767]) [177]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_flip@2x-flip-vs-rmfb-interruptible.html * igt@kms_flip@2x-plain-flip: - shard-rkl: NOTRUN -> [SKIP][178] ([fdo#111825]) +21 other tests skip [178]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_flip@2x-plain-flip.html * igt@kms_flip@flip-vs-fences: - shard-dg2: NOTRUN -> [SKIP][179] ([i915#8381]) [179]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_flip@flip-vs-fences.html * igt@kms_flip@flip-vs-fences-interruptible: - shard-mtlp: NOTRUN -> [SKIP][180] ([i915#8381]) [180]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-5/igt@kms_flip@flip-vs-fences-interruptible.html * igt@kms_flip@flip-vs-suspend: - shard-rkl: NOTRUN -> [SKIP][181] ([i915#3637] / [i915#4098]) +5 other tests skip [181]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_flip@flip-vs-suspend.html * igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode: - shard-rkl: NOTRUN -> [SKIP][182] ([i915#2672]) +5 other tests skip [182]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_flip_scaled_crc@flip-32bpp-yftile-to-32bpp-yftileccs-downscaling@pipe-a-valid-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode: - shard-dg1: NOTRUN -> [SKIP][183] ([i915#2587] / [i915#2672]) +1 other test skip [183]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-14/igt@kms_flip_scaled_crc@flip-32bpp-yftileccs-to-64bpp-yftile-downscaling@pipe-a-valid-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling@pipe-a-valid-mode: - shard-tglu: NOTRUN -> [SKIP][184] ([i915#2587] / [i915#2672]) +1 other test skip [184]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-5/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytileccs-downscaling@pipe-a-valid-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode: - shard-mtlp: NOTRUN -> [SKIP][185] ([i915#2672]) +1 other test skip [185]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-default-mode.html * igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode: - shard-dg2: NOTRUN -> [SKIP][186] ([i915#2672]) +4 other tests skip [186]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-upscaling@pipe-a-valid-mode.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move: - shard-dg2: NOTRUN -> [FAIL][187] ([i915#6880]) [187]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-cur-indfb-move.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt: - shard-rkl: [PASS][188] -> [SKIP][189] ([i915#1849] / [i915#4098] / [i915#5354]) +1 other test skip [188]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-2/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt.html [189]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render: - shard-dg2: [PASS][190] -> [FAIL][191] ([i915#6880]) [190]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-10/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render.html [191]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-render.html * igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc: - shard-dg1: NOTRUN -> [SKIP][192] ([i915#8708]) [192]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-15/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-spr-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt: - shard-mtlp: NOTRUN -> [SKIP][193] ([i915#8708]) +5 other tests skip [193]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-move: - shard-rkl: NOTRUN -> [SKIP][194] ([i915#1849] / [i915#4098] / [i915#5354]) +26 other tests skip [194]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-cur-indfb-move.html * igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt: - shard-tglu: NOTRUN -> [SKIP][195] ([fdo#110189]) +13 other tests skip [195]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-9/igt@kms_frontbuffer_tracking@fbcpsr-1p-primscrn-indfb-plflip-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc: - shard-dg2: NOTRUN -> [SKIP][196] ([i915#8708]) +24 other tests skip [196]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-pri-indfb-draw-mmap-wc.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt: - shard-dg2: NOTRUN -> [SKIP][197] ([i915#5354]) +30 other tests skip [197]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-primscrn-shrfb-pgflip-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-blt: - shard-mtlp: NOTRUN -> [SKIP][198] ([i915#1825]) +18 other tests skip [198]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-5/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-pri-indfb-draw-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt: - shard-rkl: NOTRUN -> [SKIP][199] ([fdo#111825] / [i915#1825]) +62 other tests skip [199]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@kms_frontbuffer_tracking@fbcpsr-2p-scndscrn-shrfb-pgflip-blt.html * igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt: - shard-rkl: NOTRUN -> [SKIP][200] ([i915#3023]) +26 other tests skip [200]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_frontbuffer_tracking@fbcpsr-rgb565-draw-mmap-gtt.html * igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu: - shard-dg1: NOTRUN -> [SKIP][201] ([i915#3458]) +3 other tests skip [201]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-12/igt@kms_frontbuffer_tracking@psr-1p-offscren-pri-shrfb-draw-mmap-cpu.html * igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-move: - shard-dg2: NOTRUN -> [SKIP][202] ([i915#3458]) +20 other tests skip [202]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_frontbuffer_tracking@psr-1p-primscrn-cur-indfb-move.html * igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-pwrite: - shard-dg1: NOTRUN -> [SKIP][203] ([fdo#111825]) +1 other test skip [203]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-15/igt@kms_frontbuffer_tracking@psr-2p-primscrn-spr-indfb-draw-pwrite.html * igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-wc: - shard-tglu: NOTRUN -> [SKIP][204] ([fdo#109280]) +21 other tests skip [204]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-4/igt@kms_frontbuffer_tracking@psr-2p-scndscrn-pri-shrfb-draw-mmap-wc.html * igt@kms_hdr@bpc-switch: - shard-tglu: NOTRUN -> [SKIP][205] ([i915#3555] / [i915#8228]) [205]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-7/igt@kms_hdr@bpc-switch.html * igt@kms_hdr@static-toggle: - shard-dg2: NOTRUN -> [SKIP][206] ([i915#3555] / [i915#8228]) +1 other test skip [206]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_hdr@static-toggle.html * igt@kms_hdr@static-toggle-suspend: - shard-rkl: NOTRUN -> [SKIP][207] ([i915#3555] / [i915#8228]) +1 other test skip [207]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_hdr@static-toggle-suspend.html * igt@kms_invalid_mode@zero-clock: - shard-rkl: NOTRUN -> [SKIP][208] ([i915#3555] / [i915#4098]) +1 other test skip [208]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_invalid_mode@zero-clock.html * igt@kms_multipipe_modeset@basic-max-pipe-crc-check: - shard-rkl: NOTRUN -> [SKIP][209] ([i915#4816]) [209]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_multipipe_modeset@basic-max-pipe-crc-check.html * igt@kms_panel_fitting@legacy: - shard-dg2: NOTRUN -> [SKIP][210] ([i915#6301]) [210]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_panel_fitting@legacy.html * igt@kms_pipe_b_c_ivb@from-pipe-c-to-b-with-3-lanes: - shard-rkl: NOTRUN -> [SKIP][211] ([fdo#109289]) +3 other tests skip [211]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_pipe_b_c_ivb@from-pipe-c-to-b-with-3-lanes.html * igt@kms_plane_lowres@tiling-yf: - shard-dg2: NOTRUN -> [SKIP][212] ([i915#3555] / [i915#8821]) [212]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-6/igt@kms_plane_lowres@tiling-yf.html * igt@kms_plane_multiple@tiling-y: - shard-dg2: NOTRUN -> [SKIP][213] ([i915#8806]) [213]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-10/igt@kms_plane_multiple@tiling-y.html * igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4: - shard-dg2: NOTRUN -> [FAIL][214] ([i915#8292]) [214]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_plane_scaling@intel-max-src-size@pipe-a-dp-4.html * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1: - shard-tglu: [PASS][215] -> [FAIL][216] ([i915#8292]) [215]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-6/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1.html [216]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-6/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-1.html * igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-4: - shard-dg1: NOTRUN -> [FAIL][217] ([i915#8292]) [217]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-14/igt@kms_plane_scaling@intel-max-src-size@pipe-a-hdmi-a-4.html * igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats: - shard-rkl: NOTRUN -> [SKIP][218] ([i915#3555] / [i915#4098] / [i915#8152]) +1 other test skip [218]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_plane_scaling@plane-scaler-with-clipping-clamping-pixel-formats.html * igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-c-dp-4: - shard-dg2: NOTRUN -> [SKIP][219] ([i915#5235]) +7 other tests skip [219]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_plane_scaling@planes-downscale-factor-0-25-upscale-20x20@pipe-c-dp-4.html * igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-a-edp-1: - shard-mtlp: NOTRUN -> [SKIP][220] ([i915#5235]) +8 other tests skip [220]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-a-edp-1.html * igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-b-hdmi-a-1: - shard-rkl: NOTRUN -> [SKIP][221] ([i915#5235]) +9 other tests skip [221]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-b-hdmi-a-1.html * igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-d-edp-1: - shard-mtlp: NOTRUN -> [SKIP][222] ([i915#3555] / [i915#5235]) +2 other tests skip [222]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@kms_plane_scaling@planes-unity-scaling-downscale-factor-0-25@pipe-d-edp-1.html * igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4: - shard-dg1: NOTRUN -> [SKIP][223] ([i915#5235]) +11 other tests skip [223]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-19/igt@kms_plane_scaling@planes-upscale-factor-0-25-downscale-factor-0-25@pipe-d-hdmi-a-4.html * igt@kms_prime@basic-crc-hybrid: - shard-dg2: NOTRUN -> [SKIP][224] ([i915#6524] / [i915#6805]) [224]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_prime@basic-crc-hybrid.html - shard-rkl: NOTRUN -> [SKIP][225] ([i915#6524]) [225]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_prime@basic-crc-hybrid.html * igt@kms_psr2_sf@cursor-plane-update-sf: - shard-dg1: NOTRUN -> [SKIP][226] ([fdo#111068] / [i915#9683]) [226]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-17/igt@kms_psr2_sf@cursor-plane-update-sf.html * igt@kms_psr2_su@page_flip-nv12: - shard-rkl: NOTRUN -> [SKIP][227] ([fdo#111068] / [i915#9683]) +1 other test skip [227]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_psr2_su@page_flip-nv12.html * igt@kms_psr2_su@page_flip-xrgb8888: - shard-dg2: NOTRUN -> [SKIP][228] ([i915#9683]) +3 other tests skip [228]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_psr2_su@page_flip-xrgb8888.html - shard-mtlp: NOTRUN -> [SKIP][229] ([i915#4348]) [229]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@kms_psr2_su@page_flip-xrgb8888.html * {igt@kms_psr@fbc-psr2-cursor-mmap-cpu@edp-1} (NEW): - shard-mtlp: NOTRUN -> [FAIL][230] ([i915#9646]) [230]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_psr@fbc-psr2-cursor-mmap-cpu@edp-1.html * {igt@kms_psr@fbc-psr2-cursor-mmap-gtt} (NEW): - shard-glk: NOTRUN -> [SKIP][231] ([fdo#109271]) +171 other tests skip [231]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-glk5/igt@kms_psr@fbc-psr2-cursor-mmap-gtt.html * {igt@kms_psr@psr-sprite-blt} (NEW): - shard-snb: NOTRUN -> [SKIP][232] ([fdo#109271]) +143 other tests skip [232]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-snb6/igt@kms_psr@psr-sprite-blt.html * {igt@kms_psr@psr2-primary-mmap-gtt@edp-1} (NEW): - shard-mtlp: NOTRUN -> [SKIP][233] ([i915#4077]) +12 other tests skip [233]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_psr@psr2-primary-mmap-gtt@edp-1.html * igt@kms_psr_stress_test@flip-primary-invalidate-overlay: - shard-rkl: NOTRUN -> [SKIP][234] ([i915#9685]) [234]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_psr_stress_test@flip-primary-invalidate-overlay.html * igt@kms_psr_stress_test@invalidate-primary-flip-overlay: - shard-dg2: NOTRUN -> [SKIP][235] ([i915#9685]) [235]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_psr_stress_test@invalidate-primary-flip-overlay.html * igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180: - shard-rkl: NOTRUN -> [SKIP][236] ([fdo#111615] / [i915#5289]) +2 other tests skip [236]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180.html * igt@kms_rotation_crc@sprite-rotation-270: - shard-mtlp: NOTRUN -> [SKIP][237] ([i915#4235]) +1 other test skip [237]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@kms_rotation_crc@sprite-rotation-270.html * igt@kms_scaling_modes@scaling-mode-full: - shard-tglu: NOTRUN -> [SKIP][238] ([i915#3555]) +3 other tests skip [238]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-10/igt@kms_scaling_modes@scaling-mode-full.html * igt@kms_setmode@basic-clone-single-crtc: - shard-dg2: NOTRUN -> [SKIP][239] ([i915#3555] / [i915#4098]) +2 other tests skip [239]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-5/igt@kms_setmode@basic-clone-single-crtc.html * igt@kms_setmode@basic@pipe-a-vga-1: - shard-snb: NOTRUN -> [FAIL][240] ([i915#5465]) +1 other test fail [240]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-snb4/igt@kms_setmode@basic@pipe-a-vga-1.html * igt@kms_tv_load_detect@load-detect: - shard-rkl: NOTRUN -> [SKIP][241] ([fdo#109309]) [241]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_tv_load_detect@load-detect.html * igt@kms_universal_plane@cursor-fb-leak@pipe-d-edp-1: - shard-mtlp: [PASS][242] -> [FAIL][243] ([i915#9196]) +1 other test fail [242]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-5/igt@kms_universal_plane@cursor-fb-leak@pipe-d-edp-1.html [243]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_universal_plane@cursor-fb-leak@pipe-d-edp-1.html * igt@kms_vblank@wait-forked-busy-hang: - shard-rkl: NOTRUN -> [SKIP][244] ([i915#4098]) +9 other tests skip [244]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_vblank@wait-forked-busy-hang.html * igt@kms_vrr@flip-basic: - shard-mtlp: NOTRUN -> [SKIP][245] ([i915#3555] / [i915#8808]) [245]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_vrr@flip-basic.html * igt@kms_writeback@writeback-check-output: - shard-rkl: NOTRUN -> [SKIP][246] ([i915#2437]) [246]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_writeback@writeback-check-output.html - shard-mtlp: NOTRUN -> [SKIP][247] ([i915#2437]) [247]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-2/igt@kms_writeback@writeback-check-output.html * igt@perf@global-sseu-config: - shard-dg2: NOTRUN -> [SKIP][248] ([i915#7387]) [248]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@perf@global-sseu-config.html * igt@perf_pmu@busy-double-start@bcs0: - shard-mtlp: [PASS][249] -> [FAIL][250] ([i915#4349]) [249]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-5/igt@perf_pmu@busy-double-start@bcs0.html [250]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@perf_pmu@busy-double-start@bcs0.html * igt@perf_pmu@busy-double-start@vecs1: - shard-dg2: NOTRUN -> [FAIL][251] ([i915#4349]) +3 other tests fail [251]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-10/igt@perf_pmu@busy-double-start@vecs1.html * igt@perf_pmu@rc6-all-gts: - shard-rkl: NOTRUN -> [SKIP][252] ([i915#8516]) [252]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@perf_pmu@rc6-all-gts.html * igt@perf_pmu@rc6@other-idle-gt0: - shard-dg2: NOTRUN -> [SKIP][253] ([i915#8516]) [253]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@perf_pmu@rc6@other-idle-gt0.html - shard-tglu: NOTRUN -> [SKIP][254] ([i915#8516]) [254]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-5/igt@perf_pmu@rc6@other-idle-gt0.html * igt@prime_vgem@basic-fence-mmap: - shard-dg1: NOTRUN -> [SKIP][255] ([i915#3708] / [i915#4077]) [255]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-12/igt@prime_vgem@basic-fence-mmap.html * igt@prime_vgem@basic-write: - shard-mtlp: NOTRUN -> [SKIP][256] ([i915#3708]) [256]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-8/igt@prime_vgem@basic-write.html * igt@prime_vgem@coherency-gtt: - shard-rkl: NOTRUN -> [SKIP][257] ([fdo#109295] / [fdo#111656] / [i915#3708]) [257]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@prime_vgem@coherency-gtt.html * igt@prime_vgem@fence-read-hang: - shard-dg2: NOTRUN -> [SKIP][258] ([i915#3708]) [258]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@prime_vgem@fence-read-hang.html - shard-rkl: NOTRUN -> [SKIP][259] ([fdo#109295] / [i915#3708]) [259]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@prime_vgem@fence-read-hang.html * igt@prime_vgem@fence-write-hang: - shard-tglu: NOTRUN -> [SKIP][260] ([fdo#109295]) +1 other test skip [260]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-6/igt@prime_vgem@fence-write-hang.html * igt@v3d/v3d_create_bo@create-bo-zeroed: - shard-dg1: NOTRUN -> [SKIP][261] ([i915#2575]) +1 other test skip [261]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-13/igt@v3d/v3d_create_bo@create-bo-zeroed.html * igt@v3d/v3d_perfmon@create-perfmon-0: - shard-rkl: NOTRUN -> [SKIP][262] ([fdo#109315]) +24 other tests skip [262]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@v3d/v3d_perfmon@create-perfmon-0.html * igt@v3d/v3d_perfmon@create-perfmon-invalid-counters: - shard-dg2: NOTRUN -> [SKIP][263] ([i915#2575]) +15 other tests skip [263]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@v3d/v3d_perfmon@create-perfmon-invalid-counters.html * igt@v3d/v3d_perfmon@destroy-valid-perfmon: - shard-mtlp: NOTRUN -> [SKIP][264] ([i915#2575]) +5 other tests skip [264]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@v3d/v3d_perfmon@destroy-valid-perfmon.html * igt@v3d/v3d_wait_bo@used-bo-1ns: - shard-tglu: NOTRUN -> [SKIP][265] ([fdo#109315] / [i915#2575]) +7 other tests skip [265]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-8/igt@v3d/v3d_wait_bo@used-bo-1ns.html * igt@vc4/vc4_tiling@get-after-free: - shard-tglu: NOTRUN -> [SKIP][266] ([i915#2575]) +3 other tests skip [266]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-6/igt@vc4/vc4_tiling@get-after-free.html * igt@vc4/vc4_tiling@get-bad-modifier: - shard-rkl: NOTRUN -> [SKIP][267] ([i915#7711]) +15 other tests skip [267]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@vc4/vc4_tiling@get-bad-modifier.html * igt@vc4/vc4_tiling@set-get: - shard-dg2: NOTRUN -> [SKIP][268] ([i915#7711]) +9 other tests skip [268]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@vc4/vc4_tiling@set-get.html * igt@vc4/vc4_wait_bo@used-bo-0ns: - shard-mtlp: NOTRUN -> [SKIP][269] ([i915#7711]) +4 other tests skip [269]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-7/igt@vc4/vc4_wait_bo@used-bo-0ns.html #### Possible fixes #### * igt@drm_read@short-buffer-nonblock: - shard-rkl: [SKIP][270] ([i915#4098]) -> [PASS][271] +2 other tests pass [270]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@drm_read@short-buffer-nonblock.html [271]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@drm_read@short-buffer-nonblock.html * igt@gem_eio@kms: - shard-dg1: [FAIL][272] ([i915#5784]) -> [PASS][273] [272]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg1-19/igt@gem_eio@kms.html [273]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-17/igt@gem_eio@kms.html * igt@gem_eio@wait-10ms: - shard-mtlp: [ABORT][274] ([i915#9262]) -> [PASS][275] [274]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-4/igt@gem_eio@wait-10ms.html [275]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@gem_eio@wait-10ms.html * igt@gem_exec_fair@basic-none-share@rcs0: - shard-tglu: [FAIL][276] ([i915#2842]) -> [PASS][277] +3 other tests pass [276]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-4/igt@gem_exec_fair@basic-none-share@rcs0.html [277]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-7/igt@gem_exec_fair@basic-none-share@rcs0.html * {igt@i915_pm_rc6_residency@rc6-idle@gt0-vecs0}: - shard-dg1: [FAIL][278] ([i915#3591]) -> [PASS][279] +1 other test pass [278]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg1-15/igt@i915_pm_rc6_residency@rc6-idle@gt0-vecs0.html [279]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-19/igt@i915_pm_rc6_residency@rc6-idle@gt0-vecs0.html * igt@kms_cursor_legacy@cursor-vs-flip-toggle: - shard-rkl: [SKIP][280] ([i915#1845] / [i915#4098]) -> [PASS][281] +8 other tests pass [280]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_cursor_legacy@cursor-vs-flip-toggle.html [281]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_cursor_legacy@cursor-vs-flip-toggle.html * igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions: - shard-glk: [FAIL][282] ([i915#2346]) -> [PASS][283] [282]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-glk1/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html [283]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-glk7/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html * igt@kms_flip@flip-vs-suspend@a-hdmi-a1: - shard-tglu: [INCOMPLETE][284] -> [PASS][285] [284]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-2/igt@kms_flip@flip-vs-suspend@a-hdmi-a1.html [285]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-7/igt@kms_flip@flip-vs-suspend@a-hdmi-a1.html * igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt: - shard-dg2: [FAIL][286] ([i915#6880]) -> [PASS][287] [286]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-6/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt.html [287]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-1/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-indfb-msflip-blt.html * igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt: - shard-rkl: [SKIP][288] ([i915#1849] / [i915#4098] / [i915#5354]) -> [PASS][289] +3 other tests pass [288]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt.html [289]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_frontbuffer_tracking@fbc-rgb101010-draw-mmap-gtt.html * {igt@kms_pm_dc@dc9-dpms}: - shard-tglu: [SKIP][290] ([i915#4281]) -> [PASS][291] [290]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-6/igt@kms_pm_dc@dc9-dpms.html [291]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-2/igt@kms_pm_dc@dc9-dpms.html * {igt@kms_pm_rpm@modeset-non-lpsp}: - shard-dg2: [SKIP][292] ([i915#9519]) -> [PASS][293] [292]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-10/igt@kms_pm_rpm@modeset-non-lpsp.html [293]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_pm_rpm@modeset-non-lpsp.html * igt@kms_rotation_crc@primary-rotation-270: - shard-rkl: [INCOMPLETE][294] ([i915#9569]) -> [PASS][295] [294]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-2/igt@kms_rotation_crc@primary-rotation-270.html [295]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_rotation_crc@primary-rotation-270.html * {igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-4}: - shard-dg1: [FAIL][296] ([i915#9196]) -> [PASS][297] [296]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg1-16/igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-4.html [297]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-14/igt@kms_universal_plane@cursor-fb-leak@pipe-c-hdmi-a-4.html * igt@kms_universal_plane@cursor-fb-leak@pipe-d-hdmi-a-1: - shard-tglu: [FAIL][298] ([i915#9196]) -> [PASS][299] [298]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-tglu-3/igt@kms_universal_plane@cursor-fb-leak@pipe-d-hdmi-a-1.html [299]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-tglu-4/igt@kms_universal_plane@cursor-fb-leak@pipe-d-hdmi-a-1.html * igt@perf_pmu@busy-double-start@rcs0: - shard-mtlp: [FAIL][300] ([i915#4349]) -> [PASS][301] [300]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-5/igt@perf_pmu@busy-double-start@rcs0.html [301]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-3/igt@perf_pmu@busy-double-start@rcs0.html * igt@perf_pmu@busy-idle@vcs0: - shard-dg1: [FAIL][302] ([i915#4349]) -> [PASS][303] +2 other tests pass [302]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg1-19/igt@perf_pmu@busy-idle@vcs0.html [303]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg1-16/igt@perf_pmu@busy-idle@vcs0.html #### Warnings #### * igt@kms_async_flips@crc@pipe-d-edp-1: - shard-mtlp: [FAIL][304] ([i915#8247]) -> [DMESG-FAIL][305] ([i915#8561]) +1 other test dmesg-fail [304]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-mtlp-4/igt@kms_async_flips@crc@pipe-d-edp-1.html [305]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-mtlp-6/igt@kms_async_flips@crc@pipe-d-edp-1.html * igt@kms_big_fb@4-tiled-32bpp-rotate-180: - shard-rkl: [SKIP][306] ([i915#5286]) -> [SKIP][307] ([i915#1845] / [i915#4098]) [306]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-2/igt@kms_big_fb@4-tiled-32bpp-rotate-180.html [307]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_big_fb@4-tiled-32bpp-rotate-180.html * igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip: - shard-rkl: [SKIP][308] ([i915#1845] / [i915#4098]) -> [SKIP][309] ([i915#5286]) +1 other test skip [308]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip.html [309]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-2/igt@kms_big_fb@4-tiled-max-hw-stride-32bpp-rotate-0-hflip.html * igt@kms_big_fb@linear-8bpp-rotate-270: - shard-rkl: [SKIP][310] ([i915#1845] / [i915#4098]) -> [SKIP][311] ([fdo#111614] / [i915#3638]) +1 other test skip [310]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_big_fb@linear-8bpp-rotate-270.html [311]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_big_fb@linear-8bpp-rotate-270.html * igt@kms_big_fb@x-tiled-32bpp-rotate-270: - shard-rkl: [SKIP][312] ([fdo#111614] / [i915#3638]) -> [SKIP][313] ([i915#1845] / [i915#4098]) +1 other test skip [312]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-2/igt@kms_big_fb@x-tiled-32bpp-rotate-270.html [313]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_big_fb@x-tiled-32bpp-rotate-270.html * igt@kms_big_fb@yf-tiled-8bpp-rotate-90: - shard-rkl: [SKIP][314] ([i915#1845] / [i915#4098]) -> [SKIP][315] ([fdo#110723]) +2 other tests skip [314]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_big_fb@yf-tiled-8bpp-rotate-90.html [315]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_big_fb@yf-tiled-8bpp-rotate-90.html * igt@kms_content_protection@lic: - shard-rkl: [SKIP][316] ([i915#1845] / [i915#4098]) -> [SKIP][317] ([i915#7118]) [316]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_content_protection@lic.html [317]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-6/igt@kms_content_protection@lic.html * igt@kms_content_protection@type1: - shard-dg2: [SKIP][318] ([i915#7118]) -> [SKIP][319] ([i915#7118] / [i915#7162]) [318]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-dg2-7/igt@kms_content_protection@type1.html [319]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-dg2-11/igt@kms_content_protection@type1.html * igt@kms_cursor_crc@cursor-sliding-32x10: - shard-rkl: [SKIP][320] ([i915#1845] / [i915#4098]) -> [SKIP][321] ([i915#3555]) [320]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_cursor_crc@cursor-sliding-32x10.html [321]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-4/igt@kms_cursor_crc@cursor-sliding-32x10.html * igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic: - shard-rkl: [SKIP][322] ([i915#1845] / [i915#4098]) -> [SKIP][323] ([fdo#111767] / [fdo#111825]) [322]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html [323]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_cursor_legacy@2x-flip-vs-cursor-atomic.html * igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic: - shard-rkl: [SKIP][324] ([i915#1845] / [i915#4098]) -> [SKIP][325] ([i915#4103]) [324]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html [325]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-7/igt@kms_cursor_legacy@basic-busy-flip-before-cursor-atomic.html * igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions: - shard-rkl: [SKIP][326] ([fdo#111767] / [fdo#111825]) -> [SKIP][327] ([i915#1845] / [i915#4098]) [326]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-4/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html [327]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/shard-rkl-1/igt@kms_cursor_legacy@cursorb-vs-flipb-atomic-transitions.html * igt@kms_cursor_legacy@cursorb-vs-flipb-varying-size: - shard-rkl: [SKIP][328] ([i915#1845] / [i915#4098]) -> [SKIP][329] ([fdo#111825]) +1 other test skip [328]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_13953/shard-rkl-1/igt@kms_cursor_legacy@cursorb-vs-f == Logs == For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_10301/index.html [-- Attachment #2: Type: text/html, Size: 115866 bytes --] ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-30 7:23 Jeevan B 2023-11-30 7:23 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-30 7:23 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 459 +++++++++++++++++++---------- tests/intel/kms_psr2_sf.c | 606 +++++++++++++++++++++----------------- 3 files changed, 650 insertions(+), 420 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-30 7:23 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-30 7:23 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-30 7:23 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 606 +++++++++++++++++++++----------------- 1 file changed, 335 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 27faa93d9..77bc23213 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -37,6 +37,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -47,6 +48,10 @@ * Description: Test that selective fetch works on moving %arg[1] plane %arg[2] * visible area (no update) * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * * arg[1]: * * @cursor: Cursor @@ -63,24 +68,46 @@ * SUBTEST: cursor-plane-update-sf * Description: Test that selective fetch works on cursor plane * + * SUBTEST: fbc-cursor-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on cursor plane + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb + * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -131,10 +158,12 @@ typedef struct { struct drm_mode_rect plane_move_clip; struct drm_mode_rect cursor_clip; enum operations op; + enum fbc_mode op_fbc_mode; enum plane_move_postion pos; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -840,6 +869,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag == true && data->op_fbc_mode == FBC_ENABLED) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -942,10 +976,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc-" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -961,6 +1000,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -995,54 +1039,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1050,28 +1156,25 @@ igt_main } } } - } - - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1079,130 +1182,137 @@ igt_main } } } - } - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1210,103 +1320,88 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1317,37 +1412,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-29 14:46 Jeevan B 2023-11-29 14:46 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-29 14:46 UTC (permalink / raw) To: igt-dev; +Cc: Kunal Joshi From: Kunal Joshi <kunal1.joshi@intel.com> Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 464 +++++++++++++++++++---------- tests/intel/kms_psr2_sf.c | 607 +++++++++++++++++++++----------------- 3 files changed, 652 insertions(+), 424 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-29 14:46 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-29 14:46 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-29 14:46 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 607 +++++++++++++++++++++----------------- 1 file changed, 336 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 27faa93d9..f7c7536b8 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -37,6 +37,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -47,6 +48,10 @@ * Description: Test that selective fetch works on moving %arg[1] plane %arg[2] * visible area (no update) * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * * arg[1]: * * @cursor: Cursor @@ -63,24 +68,46 @@ * SUBTEST: cursor-plane-update-sf * Description: Test that selective fetch works on cursor plane * + * SUBTEST: fbc-cursor-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on cursor plane + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb + * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -132,9 +159,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -840,6 +869,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag == true && data->op_fbc_mode == FBC_ENABLED) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -942,10 +976,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc-" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -961,6 +1000,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -995,54 +1039,117 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1050,28 +1157,25 @@ igt_main } } } - } - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1079,130 +1183,137 @@ igt_main } } } - } - - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1210,103 +1321,88 @@ igt_main } } } - } - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1317,37 +1413,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-29 5:35 Jeevan B 2023-11-29 5:36 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-29 5:35 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 468 +++++++++++++++++++---------- tests/intel/kms_psr2_sf.c | 609 +++++++++++++++++++++----------------- 3 files changed, 657 insertions(+), 425 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-29 5:35 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-29 5:36 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-29 5:36 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 609 +++++++++++++++++++++----------------- 1 file changed, 338 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 27faa93d9..c4393a6ba 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -37,6 +37,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -47,6 +48,10 @@ * Description: Test that selective fetch works on moving %arg[1] plane %arg[2] * visible area (no update) * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * * arg[1]: * * @cursor: Cursor @@ -63,24 +68,46 @@ * SUBTEST: cursor-plane-update-sf * Description: Test that selective fetch works on cursor plane * + * SUBTEST: fbc-cursor-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on cursor plane + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb + * + * SUBTEST: fbc-primary-plane-update-continuous-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -132,9 +159,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -840,6 +869,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -942,10 +976,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc-" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -961,6 +1000,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -995,54 +1039,119 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; + + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1050,28 +1159,25 @@ igt_main } } } - } - - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1079,130 +1185,137 @@ igt_main } } } - } - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1210,103 +1323,88 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1317,37 +1415,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-28 17:40 Jeevan B 2023-11-28 17:40 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-28 17:40 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 446 +++++++++++++++++++--------- tests/intel/kms_psr2_sf.c | 609 +++++++++++++++++++++----------------- 3 files changed, 646 insertions(+), 414 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-28 17:40 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-28 17:40 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-28 17:40 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 609 +++++++++++++++++++++----------------- 1 file changed, 338 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index 27faa93d9..936edbf5c 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -37,6 +37,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -47,6 +48,10 @@ * Description: Test that selective fetch works on moving %arg[1] plane %arg[2] * visible area (no update) * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * * arg[1]: * * @cursor: Cursor @@ -63,24 +68,46 @@ * SUBTEST: cursor-plane-update-sf * Description: Test that selective fetch works on cursor plane * + * SUBTEST: fbc-cursor-plane-update-sf + * Description: Test that fbc with selective fetch works on cursor plane + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * + * SUBTEST: fbc-overlay-plane-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * + * SUBTEST: fbc-primary-plane-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb + * + * SUBTEST: fbc-primary-plane-update-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -132,9 +159,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -840,6 +869,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -942,10 +976,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc_" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -961,6 +1000,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -995,54 +1039,119 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; + + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1050,28 +1159,25 @@ igt_main } } } - } - - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1079,130 +1185,137 @@ igt_main } } } - } - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding " + "fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1210,103 +1323,88 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully " + "exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], + op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1317,37 +1415,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-28 11:37 Jeevan B 2023-11-28 11:37 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-28 11:37 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 488 ++++++++++++++++++++--------- tests/intel/kms_psr2_sf.c | 625 +++++++++++++++++++++----------------- 3 files changed, 711 insertions(+), 407 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-28 11:37 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-28 11:37 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-28 11:37 UTC (permalink / raw) To: igt-dev For LunarLake (intel_display_ver 20), FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 625 +++++++++++++++++++++----------------- 1 file changed, 354 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index a597c8701..64e8b289b 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -26,6 +26,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -44,6 +45,14 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-%s-plane-move-continuous-%s + * Description: Test that fbc with selective fetch works on moving %arg[1] plane %arg[2] + * visible area (no update) + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * arg[1]: * * @cursor: Cursor @@ -64,6 +73,13 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-cursor-plane-update-sf + * Description: Test that fbc with selective fetch works on cursor plane + * Driver requirement: i915, xe + * Functionality: cursor, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: overlay-plane-update-continuous-sf * Description: Test that selective fetch works on overlay plane * Driver requirement: i915, xe @@ -71,6 +87,13 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-overlay-plane-update-continuous-sf + * Description: Test that fbc with selective fetch works on overlay plane + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: overlay-plane-update-sf-dmg-area * Description: Test that selective fetch works on overlay plane * Driver requirement: i915, xe @@ -78,6 +101,13 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-overlay-plane-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on overlay plane + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: overlay-primary-update-sf-dmg-area * Description: Test that selective fetch works on primary plane with blended * overlay plane @@ -86,6 +116,14 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-overlay-primary-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane with blended + * overlay plane + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: plane-move-sf-dmg-area * Description: Test that selective fetch works on moving overlay plane * Driver requirement: i915, xe @@ -93,6 +131,13 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-plane-move-sf-dmg-area + * Description: Test that fbc with selective fetch works on moving overlay plane + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: primary-plane-update-sf-dmg-area * Description: Test that selective fetch works on primary plane * Driver requirement: i915, xe @@ -100,12 +145,26 @@ * Mega feature: PSR * Test category: functionality test * + * SUBTEST: fbc-primary-plane-update-sf-dmg-area + * Description: Test that fbc with selective fetch works on primary plane + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test + * * SUBTEST: primary-plane-update-sf-dmg-area-big-fb * Description: Test that selective fetch works on primary plane with big fb * Driver requirement: i915, xe * Functionality: plane, psr2, selective_fetch * Mega feature: PSR * Test category: functionality test + * + * SUBTEST: fbc-primary-plane-update-sf-dmg-area-big-fb + * Description: Test that fbc with selective fetch works on primary plane with big fb + * Driver requirement: i915, xe + * Functionality: plane, psr2, selective_fetch, fbc + * Mega feature: PSR, FBC + * Test category: functionality test */ IGT_TEST_DESCRIPTION("Tests to varify PSR2 selective fetch by sending multiple" @@ -157,9 +216,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -865,6 +926,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -967,10 +1033,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc_" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -986,6 +1057,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -1020,54 +1096,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { + + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1075,28 +1213,24 @@ igt_main } } } - } - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1104,130 +1238,129 @@ igt_main } } } - } - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1235,103 +1368,84 @@ igt_main } } } - } - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1342,37 +1456,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-27 5:55 Jeevan B 2023-11-27 5:55 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-27 5:55 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2 tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 238 +++++++++------- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 3 files changed, 435 insertions(+), 375 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-27 5:55 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-27 5:55 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-27 5:55 UTC (permalink / raw) To: igt-dev For intel_display_ver 20, FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 1 file changed, 296 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index a597c8701..d935b0097 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -26,6 +26,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -157,9 +158,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -865,6 +868,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -967,10 +975,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc_" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -986,6 +999,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -1020,54 +1038,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; + + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1075,28 +1155,24 @@ igt_main } } } - } - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1104,130 +1180,129 @@ igt_main } } } - } - - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1235,103 +1310,84 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1342,37 +1398,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-24 16:04 Jeevan B 2023-11-24 16:04 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-24 16:04 UTC (permalink / raw) To: igt-dev Signed-off-by: Jeevan B <jeevan.b@intel.com> Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2 tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 240 +++++++++------- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 3 files changed, 438 insertions(+), 374 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-24 16:04 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-24 16:04 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-24 16:04 UTC (permalink / raw) To: igt-dev For intel_display_ver 20, FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr.c | 4 +- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 2 files changed, 298 insertions(+), 273 deletions(-) diff --git a/tests/intel/kms_psr.c b/tests/intel/kms_psr.c index c1d987415..95cb9164f 100644 --- a/tests/intel/kms_psr.c +++ b/tests/intel/kms_psr.c @@ -840,7 +840,7 @@ igt_main "fbc_" }; int modes[] = {PSR_MODE_1, PSR_MODE_2, PR_MODE}; - int fbc_status[] = {FBC_ENABLED, FBC_DISABLED}; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_output_t *output; igt_fixture { @@ -860,7 +860,7 @@ igt_main for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { data.op_fbc_mode = fbc_status[y]; - if (data.op_fbc_mode == FBC_ENABLED) + if (data.op_fbc_mode == FBC_DISABLED) data.fbc_flag = false; for (z = 0; z < ARRAY_SIZE(modes); z++) { diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index a597c8701..d935b0097 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -26,6 +26,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -157,9 +158,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -865,6 +868,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -967,10 +975,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc_" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -986,6 +999,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -1020,54 +1038,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; + + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1075,28 +1155,24 @@ igt_main } } } - } - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1104,130 +1180,129 @@ igt_main } } } - } - - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1235,103 +1310,84 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1342,37 +1398,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests @ 2023-11-24 16:00 Jeevan B 2023-11-24 16:00 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 0 siblings, 1 reply; 15+ messages in thread From: Jeevan B @ 2023-11-24 16:00 UTC (permalink / raw) To: igt-dev Add FBC support to PSR/PSR2 tests Jeevan B (2): tests/intel/kms_psr: Add FBC support to PSR/PSR2 tests tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests lib/igt_psr.h | 5 + tests/intel/kms_psr.c | 240 +++++++++------- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 3 files changed, 438 insertions(+), 374 deletions(-) -- 2.25.1 ^ permalink raw reply [flat|nested] 15+ messages in thread
* [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests 2023-11-24 16:00 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B @ 2023-11-24 16:00 ` Jeevan B 0 siblings, 0 replies; 15+ messages in thread From: Jeevan B @ 2023-11-24 16:00 UTC (permalink / raw) To: igt-dev For intel_display_ver 20, FBC can be enabled along with PSR2, thereby adding FBC checks to validate this scenario. Signed-off-by: Jeevan B <jeevan.b@intel.com> --- tests/intel/kms_psr2_sf.c | 567 ++++++++++++++++++++------------------ 1 file changed, 296 insertions(+), 271 deletions(-) diff --git a/tests/intel/kms_psr2_sf.c b/tests/intel/kms_psr2_sf.c index a597c8701..d935b0097 100644 --- a/tests/intel/kms_psr2_sf.c +++ b/tests/intel/kms_psr2_sf.c @@ -26,6 +26,7 @@ #include "igt_sysfs.h" #include "igt_psr.h" #include "kms_dsc_helper.h" +#include "i915/intel_fbc.h" #include <errno.h> #include <stdbool.h> #include <stdio.h> @@ -157,9 +158,11 @@ typedef struct { struct drm_mode_rect cursor_clip; enum operations op; enum plane_move_postion pos; + enum fbc_mode op_fbc_mode; int test_plane_id; igt_plane_t *test_plane; bool big_fb_test; + bool fbc_flag; cairo_t *cr; uint32_t screen_changes; int cur_x, cur_y; @@ -865,6 +868,11 @@ static void run(data_t *data) igt_assert(psr_wait_entry(data->debugfs_fd, PSR_MODE_2, NULL)); + if (data->fbc_flag) + igt_assert_f(intel_fbc_wait_until_enabled(data->drm_fd, + data->pipe), + "FBC still disabled"); + data->screen_changes = 0; switch (data->op) { @@ -967,10 +975,15 @@ igt_main { data_t data = {}; igt_output_t *outputs[IGT_MAX_PIPES * IGT_MAX_PIPES]; - int i, j, k; + int i, j, k, y; int pipes[IGT_MAX_PIPES * IGT_MAX_PIPES]; int n_pipes = 0; int coexist_features[IGT_MAX_PIPES * IGT_MAX_PIPES]; + const char *append_fbc_subtest[2] = { + "", + "fbc_" + }; + int fbc_status[] = {FBC_DISABLED, FBC_ENABLED}; igt_fixture { drmModeResPtr res; @@ -986,6 +999,11 @@ igt_main display_init(&data); + if ((intel_display_ver(intel_get_drm_devid(data.drm_fd) == 20)) && + (intel_fbc_supported_on_chipset(data.drm_fd, data.pipe))) { + data.fbc_flag = true; + } + /* Test if PSR2 can be enabled */ igt_require_f(psr_enable(data.drm_fd, data.debugfs_fd, PSR_MODE_2_SEL_FETCH), @@ -1020,54 +1038,116 @@ igt_main } } - /* Verify primary plane selective fetch */ - igt_describe("Test that selective fetch works on primary plane"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + for (y = 0; y < ARRAY_SIZE(fbc_status); y++) { - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op_fbc_mode = fbc_status[y]; + if (data.op_fbc_mode == FBC_DISABLED) + data.fbc_flag = false; + + /* Verify primary plane selective fetch */ + igt_describe("Test that selective fetch works on primary plane"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } } } } } - } - /* Verify primary plane selective fetch with big fb */ - data.big_fb_test = 1; - igt_describe("Test that selective fetch works on primary plane with big fb"); - igt_subtest_with_dynamic_f("primary-%s-sf-dmg-area-big-fb", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; + /* Verify primary plane selective fetch with big fb */ + data.big_fb_test = 1; + igt_describe("Test that selective fetch works on primary plane with big fb"); + igt_subtest_with_dynamic_f("%sprimary-%s-sf-dmg-area-big-fb", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.big_fb_test = 0; + /* Verify overlay plane selective fetch */ + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } + } + } + } + + data.damage_area_count = 1; + /* Verify cursor plane selective fetch */ + igt_describe("Test that selective fetch works on cursor plane"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) + continue; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1075,28 +1155,24 @@ igt_main } } } - } - data.big_fb_test = 0; - /* Verify overlay plane selective fetch */ - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving cursor plane (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1104,130 +1180,129 @@ igt_main } } } - } - - data.damage_area_count = 1; - /* Verify cursor plane selective fetch */ - igt_describe("Test that selective fetch works on cursor plane"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving cursor plane (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); + igt_subtest_with_dynamic_f("%scursor-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving cursor plane exceeding partially visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Only for overlay plane */ + data.op = PLANE_MOVE; + /* Verify overlay plane move selective fetch */ + igt_describe("Test that selective fetch works on moving overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { + data.pos = k; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving cursor plane exceeding fully visible area (no update)"); - igt_subtest_with_dynamic_f("cursor-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS; + igt_describe("Test that selective fetch works on moving overlay plane (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { data.pipe = pipes[i]; data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_CURSOR; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); + } } } } - } - /* Only for overlay plane */ - data.op = PLANE_MOVE; - /* Verify overlay plane move selective fetch */ - igt_describe("Test that selective fetch works on moving overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED; + igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - for (k = POS_TOP_LEFT; k <= POS_BOTTOM_RIGHT ; k++) { - data.pos = k; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; prepare(&data); run(&data); cleanup(&data); @@ -1235,103 +1310,84 @@ igt_main } } } - } - - data.op = PLANE_MOVE_CONTINUOUS; - igt_describe("Test that selective fetch works on moving overlay plane (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; + igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - data.op = PLANE_MOVE_CONTINUOUS_EXCEED; - igt_describe("Test that selective fetch works on moving overlay plane partially exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } } } } - } - - data.op = PLANE_MOVE_CONTINUOUS_EXCEED_FULLY; - igt_describe("Test that selective fetch works on moving overlay plane fully exceeding visible area (no update)"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* Verify primary plane selective fetch with overplay plane blended */ + data.op = OVERLAY_PRIM_UPDATE; + igt_describe("Test that selective fetch works on primary plane " + "with blended overlay plane"); + igt_subtest_with_dynamic_f("%s%s-sf-dmg-area", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { + data.damage_area_count = k; + data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + data.coexist_feature = j; + prepare(&data); + run(&data); + cleanup(&data); + } + } } } } - } - /* Verify primary plane selective fetch with overplay plane blended */ - data.op = OVERLAY_PRIM_UPDATE; - igt_describe("Test that selective fetch works on primary plane " - "with blended overlay plane"); - igt_subtest_with_dynamic_f("%s-sf-dmg-area", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) + /* + * Verify overlay plane selective fetch using NV12 primary + * plane and continuous updates. + */ + data.op = PLANE_UPDATE_CONTINUOUS; + data.primary_format = DRM_FORMAT_NV12; + igt_describe("Test that selective fetch works on overlay plane"); + igt_subtest_with_dynamic_f("%soverlay-%s-sf", append_fbc_subtest[y], op_str(data.op)) { + for (i = 0; i < n_pipes; i++) { + if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - for (k = 1; k <= MAX_DAMAGE_AREAS; k++) { - data.damage_area_count = k; - data.test_plane_id = DRM_PLANE_TYPE_PRIMARY; + + for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { + if (j != FEATURE_NONE && !(coexist_features[i] & j)) + continue; + igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), + igt_output_name(outputs[i]), + coexist_feature_str(j)) { + data.pipe = pipes[i]; + data.output = outputs[i]; + data.damage_area_count = 1; + data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; data.coexist_feature = j; prepare(&data); run(&data); @@ -1342,37 +1398,6 @@ igt_main } } - /* - * Verify overlay plane selective fetch using NV12 primary - * plane and continuous updates. - */ - data.op = PLANE_UPDATE_CONTINUOUS; - data.primary_format = DRM_FORMAT_NV12; - igt_describe("Test that selective fetch works on overlay plane"); - igt_subtest_with_dynamic_f("overlay-%s-sf", op_str(data.op)) { - for (i = 0; i < n_pipes; i++) { - if (!pipe_output_combo_valid(&data.display, pipes[i], outputs[i])) - continue; - - for (j = FEATURE_NONE; j < FEATURE_COUNT; j++) { - if (j != FEATURE_NONE && !(coexist_features[i] & j)) - continue; - igt_dynamic_f("pipe-%s-%s%s", kmstest_pipe_name(pipes[i]), - igt_output_name(outputs[i]), - coexist_feature_str(j)) { - data.pipe = pipes[i]; - data.output = outputs[i]; - data.damage_area_count = 1; - data.test_plane_id = DRM_PLANE_TYPE_OVERLAY; - data.coexist_feature = j; - prepare(&data); - run(&data); - cleanup(&data); - } - } - } - } - igt_fixture { close(data.debugfs_fd); display_fini(&data); -- 2.25.1 ^ permalink raw reply related [flat|nested] 15+ messages in thread
end of thread, other threads:[~2023-12-01 18:02 UTC | newest] Thread overview: 15+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-11-30 9:45 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 1/2] tests/intel/kms_psr: Add FBC support to PSR/PSR2/PR tests Jeevan B 2023-11-30 11:15 ` Govindapillai, Vinod 2023-11-30 9:45 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-30 10:56 ` [igt-dev] ✓ Fi.CI.BAT: success for Add FBC support to PSR/PSR2 tests (rev11) Patchwork 2023-11-30 11:00 ` [igt-dev] ✓ CI.xeBAT: " Patchwork 2023-12-01 18:02 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork -- strict thread matches above, loose matches on Subject: below -- 2023-11-30 7:23 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-30 7:23 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-29 14:46 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-29 14:46 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-29 5:35 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-29 5:36 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-28 17:40 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-28 17:40 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-28 11:37 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-28 11:37 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-27 5:55 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-27 5:55 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-24 16:04 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-24 16:04 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B 2023-11-24 16:00 [igt-dev] [PATCH i-g-t 0/2] Add FBC support to PSR/PSR2 tests Jeevan B 2023-11-24 16:00 ` [igt-dev] [PATCH i-g-t 2/2] tests/intel/kms_psr2_sf: Add FBC support to PSR2 tests Jeevan B
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox