From: Swati Sharma <swati2.sharma@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH i-g-t 2/5] tests/intel/kms_pm_lpsp: Add XE support
Date: Thu, 14 Sep 2023 19:33:58 +0530 [thread overview]
Message-ID: <20230914140401.11101-3-swati2.sharma@intel.com> (raw)
In-Reply-To: <20230914140401.11101-1-swati2.sharma@intel.com>
Add XE driver support for kms pm tests.
Signed-off-by: Swati Sharma <swati2.sharma@intel.com>
Reviewed-by: Bhanuprakash Modem <bhanuprakash.modem@intel.com>
---
tests/intel/kms_pm_lpsp.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/intel/kms_pm_lpsp.c b/tests/intel/kms_pm_lpsp.c
index 9093f728c..14f4b77f5 100644
--- a/tests/intel/kms_pm_lpsp.c
+++ b/tests/intel/kms_pm_lpsp.c
@@ -39,7 +39,7 @@
*
* SUBTEST: kms-lpsp
* Description: This test validates lpsp on all connected outputs on low power PIPE_A
- * Driver requirement: i915
+ * Driver requirement: i915, xe
* Functionality: pm_lpsp
* Mega feature: Display Power
* Test category: functionality test
@@ -192,8 +192,7 @@ igt_main
data_t data = {};
igt_fixture {
-
- data.drm_fd = drm_open_driver_master(DRIVER_INTEL);
+ data.drm_fd = drm_open_driver_master(DRIVER_INTEL | DRIVER_XE);
igt_require(data.drm_fd >= 0);
data.debugfs_fd = igt_debugfs_dir(data.drm_fd);
igt_require(data.debugfs_fd >= 0);
@@ -206,6 +205,7 @@ igt_main
igt_describe("This test validates lpsp while all crtc are disabled");
igt_subtest("screens-disabled") {
+ igt_require_i915(data.drm_fd);
igt_require_f(!dmc_supported(data.debugfs_fd),
"DC states supported platform don't have ROI for this subtest\n");
screens_disabled_subtest(&data);
--
2.25.1
next prev parent reply other threads:[~2023-09-14 14:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-14 14:03 [igt-dev] [PATCH i-g-t 0/5] Add XE support for display PM tests Swati Sharma
2023-09-14 14:03 ` [igt-dev] [PATCH i-g-t 1/5] tests/intel/kms_pm_backlight: Add XE support Swati Sharma
2023-09-14 14:03 ` Swati Sharma [this message]
2023-09-14 14:03 ` [igt-dev] [PATCH i-g-t 3/5] tests/intel/kms_pm_dc: Use linear modifier to set primary plane Swati Sharma
2023-09-14 14:04 ` [igt-dev] [PATCH i-g-t 4/5] tests/intel/kms_pm_dc: Use gem_has_lmem() Swati Sharma
2023-09-14 14:04 ` [igt-dev] [PATCH i-g-t 5/5] tests/intel/kms_pm_dc: Add XE support Swati Sharma
2023-09-14 14:47 ` Modem, Bhanuprakash
2023-09-14 15:16 ` [igt-dev] ✓ Fi.CI.BAT: success for Add XE support for display PM tests (rev2) Patchwork
2023-09-14 15:45 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-09-14 19:35 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2023-09-08 17:50 [igt-dev] [PATCH i-g-t 0/5] Add XE support for display PM tests Swati Sharma
2023-09-08 17:50 ` [igt-dev] [PATCH i-g-t 2/5] tests/intel/kms_pm_lpsp: Add XE support Swati Sharma
2023-09-11 14:44 ` Modem, Bhanuprakash
2023-09-11 15:08 ` Sharma, Swati2
2023-09-13 10:42 ` Modem, Bhanuprakash
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230914140401.11101-3-swati2.sharma@intel.com \
--to=swati2.sharma@intel.com \
--cc=igt-dev@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox