From: Rodrigo Vivi <rodrigo.vivi@intel.com>
To: <igt-dev@lists.freedesktop.org>
Cc: <anshuman.gupta@intel.com>, <badal.nilawar@intel.com>,
<riana.tauro@intel.com>, Rodrigo Vivi <rodrigo.vivi@intel.com>,
"Francois Dugast" <francois.dugast@intel.com>
Subject: [PATCH i-g-t 3/5] tests/intel/xe_pm: Also disable display for mmap_system test
Date: Wed, 15 May 2024 13:13:15 -0400 [thread overview]
Message-ID: <20240515171317.84811-3-rodrigo.vivi@intel.com> (raw)
In-Reply-To: <20240515171317.84811-1-rodrigo.vivi@intel.com>
If display is enabled, the always-on components will always
keeps runtime pm references, unless you put DPMS_OFF.
Cc: Badal Nilawar <badal.nilawar@intel.com>
Cc: Anshuman Gupta <anshuman.gupta@intel.com>
Cc: Francois Dugast <francois.dugast@intel.com>
Reviewed-by: Anshuman Gupta <anshuman.gupta@intel.com>
Reviewed-by: Badal Nilawar <badal.nilawar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
---
tests/intel/xe_pm.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/intel/xe_pm.c b/tests/intel/xe_pm.c
index 9e1f1723d..a80964d1f 100644
--- a/tests/intel/xe_pm.c
+++ b/tests/intel/xe_pm.c
@@ -791,7 +791,9 @@ igt_main
igt_describe("Validate mmap memory mappings with system region,"
"when device along with parent bridge in d3");
igt_subtest("d3-mmap-system") {
+ dpms_on_off(device, DRM_MODE_DPMS_OFF);
test_mmap(device, system_memory(device.fd_xe), 0);
+ dpms_on_off(device, DRM_MODE_DPMS_ON);
}
igt_describe("Validate mmap memory mappings with vram region,"
--
2.44.0
next prev parent reply other threads:[~2024-05-15 17:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-15 17:13 [PATCH i-g-t 1/5] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-15 17:13 ` [PATCH i-g-t 2/5] lib/igt_pm: Fix and standardize IGT PM library documentation Rodrigo Vivi
2024-05-15 17:13 ` Rodrigo Vivi [this message]
2024-05-15 17:13 ` [PATCH i-g-t 4/5] tests/intel/xe_pm: Only check the rpm resume after the first mmap operation Rodrigo Vivi
2024-05-15 17:13 ` [PATCH i-g-t 5/5] tests/intel/xe_pm: Convert mmap tests to use existing d3 helpers Rodrigo Vivi
2024-05-15 18:58 ` ✓ CI.xeBAT: success for series starting with [i-g-t,1/5] tests/intel/xe_pm: Update runtime pm conditions Patchwork
2024-05-15 19:13 ` ✓ Fi.CI.BAT: " Patchwork
2024-05-15 21:08 ` ✓ CI.xeFULL: " Patchwork
2024-05-16 5:53 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-16 9:25 ` Kamil Konieczny
-- strict thread matches above, loose matches on Subject: below --
2024-05-20 18:35 [PATCH i-g-t 1/5] " Rodrigo Vivi
2024-05-20 18:35 ` [PATCH i-g-t 3/5] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
2024-05-16 18:10 [PATCH i-g-t 1/5] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-16 18:10 ` [PATCH i-g-t 3/5] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
2024-05-13 18:55 [PATCH i-g-t 1/5] tests/intel/xe_pm: Update runtime pm conditions Rodrigo Vivi
2024-05-13 18:55 ` [PATCH i-g-t 3/5] tests/intel/xe_pm: Also disable display for mmap_system test Rodrigo Vivi
2024-05-14 6:12 ` Gupta, Anshuman
2024-05-14 6:46 ` Nilawar, Badal
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=20240515171317.84811-3-rodrigo.vivi@intel.com \
--to=rodrigo.vivi@intel.com \
--cc=anshuman.gupta@intel.com \
--cc=badal.nilawar@intel.com \
--cc=francois.dugast@intel.com \
--cc=igt-dev@lists.freedesktop.org \
--cc=riana.tauro@intel.com \
/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