From: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
To: intel-gfx@lists.freedesktop.org, intel-xe@lists.freedesktop.org,
dri-devel@lists.freedesktop.org
Cc: ville.syrjala@linux.intel.com, jani.nikula@linux.intel.com,
Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Subject: [PATCH 4/9] drm/dp: Add DPCD for configuring AS SDP for PR + VRR
Date: Tue, 28 Apr 2026 13:14:52 +0530 [thread overview]
Message-ID: <20260428074457.3566918-5-ankit.k.nautiyal@intel.com> (raw)
In-Reply-To: <20260428074457.3566918-1-ankit.k.nautiyal@intel.com>
Add additional DPCDs required to be configured to support VRR with Panel
Replay. These DPCDs are specifically required for configuring Adaptive Sync
SDP and are introduced in DP v2.1.
v2:
- Correct the shift for the bits. (Ville)
- Add DP_PR_ prefix for the PR-related fields.
v3:
- Use macro values in their shifted form to match the convention. (Ville)
v4:
- Add macro for the mask. (Ville)
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
include/drm/display/drm_dp.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/drm/display/drm_dp.h b/include/drm/display/drm_dp.h
index 8d172863eba3..829e4d98d61c 100644
--- a/include/drm/display/drm_dp.h
+++ b/include/drm/display/drm_dp.h
@@ -718,6 +718,12 @@
#define DP_EXTENDED_DPRX_SLEEP_WAKE_TIMEOUT_GRANT 0x119 /* 1.4a */
# define DP_DPRX_SLEEP_WAKE_TIMEOUT_PERIOD_GRANTED (1 << 0)
+#define PANEL_REPLAY_CONFIG3 0x11a /* DP 2.1 */
+# define DP_PR_AS_SDP_SETUP_TIME_MASK (3 << 6)
+# define DP_PR_AS_SDP_SETUP_TIME_T1 (0 << 6)
+# define DP_PR_AS_SDP_SETUP_TIME_DYNAMIC (1 << 6) /* DP 2.1 Table 2-227 */
+# define DP_PR_AS_SDP_SETUP_TIME_T2 (2 << 6)
+
#define DP_FEC_CONFIGURATION 0x120 /* 1.4 */
# define DP_FEC_READY (1 << 0)
# define DP_FEC_ERR_COUNT_SEL_MASK (7 << 1)
--
2.45.2
next prev parent reply other threads:[~2026-04-28 7:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 7:44 [PATCH 0/9] AS SDP cleanups and additions for Panel Replay + VRR Ankit Nautiyal
2026-04-28 7:44 ` [PATCH 1/9] drm/dp: Rename and relocate AS SDP payload field masks Ankit Nautiyal
2026-04-28 7:44 ` [PATCH 2/9] drm/dp: Clean up DPRX feature enumeration macros Ankit Nautiyal
2026-04-28 7:44 ` [PATCH 3/9] drm/dp: Add bits for AS SDP FAVT Payload Fields Parsing support Ankit Nautiyal
2026-04-28 7:44 ` Ankit Nautiyal [this message]
2026-04-28 7:44 ` [PATCH 5/9] drm/dp: Refactor AS SDP logging to use space-separated field names Ankit Nautiyal
2026-05-08 14:36 ` Ville Syrjälä
2026-04-28 7:44 ` [PATCH 6/9] drm/dp: Store coasting vtotal in struct drm_dp_as_sdp Ankit Nautiyal
2026-04-28 7:44 ` [PATCH 7/9] drm/dp: Add a helper to get the SDP type as a string Ankit Nautiyal
2026-05-08 14:38 ` Ville Syrjälä
2026-04-28 7:44 ` [PATCH 8/9] drm/dp: Add target_rr_divider field in AS SDP logging Ankit Nautiyal
2026-04-28 7:44 ` [PATCH 9/9] drm/dp: Use drm_printf_indent for DP " Ankit Nautiyal
2026-04-28 10:17 ` Jani Nikula
2026-04-28 8:31 ` ✓ CI.KUnit: success for AS SDP cleanups and additions for Panel Replay + VRR (rev2) Patchwork
2026-04-28 9:28 ` ✓ Xe.CI.BAT: " Patchwork
2026-04-28 17:34 ` ✗ Xe.CI.FULL: failure " Patchwork
2026-05-11 14:21 ` [PATCH 0/9] AS SDP cleanups and additions for Panel Replay + VRR Nautiyal, Ankit K
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=20260428074457.3566918-5-ankit.k.nautiyal@intel.com \
--to=ankit.k.nautiyal@intel.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-xe@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=ville.syrjala@linux.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