summaryrefslogtreecommitdiff
path: root/tests/kms_cursor_legacy.c
diff options
context:
space:
mode:
authorKunal Joshi <kunal1.joshi@intel.com>2024-02-21 14:31:46 +0530
committerKunal Joshi <kunal1.joshi@intel.com>2024-02-22 18:14:21 +0530
commitd5809216faa7d4b3c5887471cb2a6dcbc16a2524 (patch)
tree0ad494325ab11e774377162d3f667e2c0b9cb7c5 /tests/kms_cursor_legacy.c
parent48196ef379a77675ea6af82a82da62b2ad2d9ded (diff)
lib/igt_psr: modify library to support multiple PSR/PR outputs
We can have multiple panels connected to the system so PSR information should be exposed per output. changes provide support for multiple PSR/PR to be tested simultaneously. v2: Use macro instead of function (Jouni) v3: keep psr_enable in igt_fixture (Jouni) Cc: Jouni Högander <jouni.hogander@intel.com> Cc: Animesh Manna <animesh.manna@intel.com> Cc: Arun R Murthy <arun.r.murthy@intel.com> Signed-off-by: Kunal Joshi <kunal1.joshi@intel.com> Reviewed-by: Jouni Högander <jouni.hogander@intel.com>
Diffstat (limited to 'tests/kms_cursor_legacy.c')
-rw-r--r--tests/kms_cursor_legacy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_cursor_legacy.c b/tests/kms_cursor_legacy.c
index 0017659d4..a430f735a 100644
--- a/tests/kms_cursor_legacy.c
+++ b/tests/kms_cursor_legacy.c
@@ -1849,7 +1849,7 @@ igt_main
* page flip with cursor legacy APIS when Intel's PSR2 selective
* fetch is enabled, so switching PSR1 for this whole test.
*/
- intel_psr2_restore = i915_psr2_sel_fetch_to_psr1(display.drm_fd);
+ intel_psr2_restore = i915_psr2_sel_fetch_to_psr1(display.drm_fd, NULL);
}
igt_describe("Test checks how many cursor updates we can fit between vblanks "
@@ -2074,7 +2074,7 @@ igt_main
igt_fixture {
if (intel_psr2_restore)
- i915_psr2_sel_fetch_restore(display.drm_fd);
+ i915_psr2_sel_fetch_restore(display.drm_fd, NULL);
igt_display_fini(&display);
drm_close_driver(display.drm_fd);
}