From: Kunal Joshi <kunal1.joshi@intel.com>
To: igt-dev@lists.freedesktop.org
Subject: [igt-dev] [PATCH 4/8] lib/igt_psr: modified psr_set for pr compatability
Date: Tue, 14 Nov 2023 14:39:22 +0530 [thread overview]
Message-ID: <20231114090926.1618995-5-kunal1.joshi@intel.com> (raw)
In-Reply-To: <20231114090926.1618995-1-kunal1.joshi@intel.com>
Modified psr_set to add support PR_MODE and
PR_MODE_SEL_FETCH
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>
---
lib/igt_psr.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib/igt_psr.c b/lib/igt_psr.c
index 6f1886938..a974036fd 100644
--- a/lib/igt_psr.c
+++ b/lib/igt_psr.c
@@ -168,6 +168,12 @@ static bool psr_set(int device, int debugfs_fd, int mode)
case PSR_MODE_2_SEL_FETCH:
debug_val = "0x4";
break;
+ case PR_MODE:
+ debug_val = "0x5";
+ break;
+ case PR_MODE_SEL_FETCH:
+ debug_val = "0x6";
+ break;
default:
/* Disables PSR */
debug_val = "0x1";
--
2.25.1
next prev parent reply other threads:[~2023-11-14 9:01 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-14 9:09 [igt-dev] [PATCH 0/8] extend kms_psr test to validate pr Kunal Joshi
2023-11-14 9:09 ` [igt-dev] [PATCH 1/8] lib/igt_psr: added enum for panel replay Kunal Joshi
2023-11-14 9:09 ` [igt-dev] [PATCH 2/8] lib/igt_psr: modified psr_sink_support for pr compatability Kunal Joshi
2023-11-14 9:09 ` [igt-dev] [PATCH 3/8] lib/igt_psr: modified psr_active_check " Kunal Joshi
2023-11-14 9:09 ` Kunal Joshi [this message]
2023-11-14 9:09 ` [igt-dev] [PATCH 5/8] lib/igt_psr: modified psr_get_mode " Kunal Joshi
2023-11-14 9:09 ` [igt-dev] [PATCH 6/8] tests/intel/kms_psr: made test compaitable with pr Kunal Joshi
2023-11-14 9:09 ` [igt-dev] [PATCH 7/8] tests/intel-ci/fast-feedback: update renamed tests Kunal Joshi
2023-11-14 9:39 ` Sharma, Swati2
2023-11-14 9:09 ` [igt-dev] [PATCH 8/8] tests/intel-ci/xe-fast-feedback: " Kunal Joshi
2023-11-14 9:40 ` Sharma, Swati2
2023-11-14 14:40 ` [igt-dev] ✓ Fi.CI.BAT: success for extend kms_psr test to validate pr (rev11) Patchwork
2023-11-14 15:50 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-11-15 9:56 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
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=20231114090926.1618995-5-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