From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Cc: Kunal Joshi <kunal1.joshi@intel.com>
Subject: [PATCH i-g-t 0/2] check modparam before enabling psr mode
Date: Tue, 23 Jan 2024 19:48:33 +0530 [thread overview]
Message-ID: <20240123141835.1211107-1-kunal1.joshi@intel.com> (raw)
with i915.enable_psr modparam, one can enable required psr version
i915.enable_psr = 0 PSR_1 and PSR_2 tests should skip
i915.enable_psr = 1 PSR_1 tests should run but PSR_2 tests should skip
i915.enable_psr = 2 PSR_1 and PSR_2 tests should run
fix test to check modparam before enabling through psr_debug debugfs
Kunal Joshi (2):
lib/igt_psr: add helper to check of given psr mode can be enabled
tests/intel/kms_psr: enable given psr mode only after checking
enable_psr modparam
lib/igt_psr.c | 23 +++++++++++++++++++++++
lib/igt_psr.h | 1 +
tests/intel/kms_psr.c | 12 ++++++++++++
3 files changed, 36 insertions(+)
--
2.25.1
next reply other threads:[~2024-01-23 14:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-23 14:18 Kunal Joshi [this message]
2024-01-23 14:18 ` [PATCH i-g-t 1/2] lib/igt_psr: add helper to check of given psr mode can be enabled Kunal Joshi
2024-01-23 14:44 ` B, Jeevan
2024-01-24 5:30 ` Modem, Bhanuprakash
2024-01-23 14:18 ` [PATCH i-g-t 2/2] tests/intel/kms_psr: enable given psr mode only after checking enable_psr modparam Kunal Joshi
2024-01-23 14:44 ` B, Jeevan
2024-01-23 15:11 ` Srinivas, Vidya
2024-01-23 17:22 ` ✓ Fi.CI.BAT: success for check modparam before enabling psr mode Patchwork
2024-01-23 18:11 ` ✓ CI.xeBAT: " Patchwork
2024-01-24 0:17 ` ✗ Fi.CI.IGT: failure " Patchwork
-- strict thread matches above, loose matches on Subject: below --
2024-01-24 10:34 [PATCH i-g-t 0/2] " Kunal Joshi
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=20240123141835.1211107-1-kunal1.joshi@intel.com \
--to=kunal1.joshi@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