<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On Monday 25 September 2017 01:53 PM,
Jani Nikula wrote:<br>
</div>
<blockquote cite="mid:87efqv5gqp.fsf@nikula.org" type="cite">
<pre wrap="">On Sat, 23 Sep 2017, vathsala nagaraju <a class="moz-txt-link-rfc2396E" href="mailto:vathsala.nagaraju@intel.com"><vathsala.nagaraju@intel.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Add defines for dpcd register 2009 (synchronization latency
in sink).
Cc: Rodrigo Vivi <a class="moz-txt-link-rfc2396E" href="mailto:rodrigo.vivi@intel.com"><rodrigo.vivi@intel.com></a>
CC: Puthikorn Voravootivat <a class="moz-txt-link-rfc2396E" href="mailto:puthik@chromium.org"><puthik@chromium.org></a>
Reviewed-by: Rodrigo Vivi <a class="moz-txt-link-rfc2396E" href="mailto:rodrigo.vivi@intel.com"><rodrigo.vivi@intel.com></a>
Signed-off-by: Vathsala Nagaraju <a class="moz-txt-link-rfc2396E" href="mailto:vathsala.nagaraju@intel.com"><vathsala.nagaraju@intel.com></a>
---
include/drm/drm_dp_helper.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 11c39f1..846004e6 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -735,6 +735,9 @@
# define DP_PSR_SINK_INTERNAL_ERROR 7
# define DP_PSR_SINK_STATE_MASK 0x07
+#define DP_SINK_SYNCHRONIZATION_LATENCY 0x2009
+# define DP_MAX_RESYNC_FRAME_CNT_MASK 0xf
</pre>
</blockquote>
<pre wrap="">
For the DP spec, please don't invent the names, use the ones from the
spec. At most drop excess stuff from the end.</pre>
</blockquote>
<small>In edp 1.4b spec , the register name 2009 is "DEBUG 0
SYNCHRONIZATION LATENCY SINK " and bit 0:3 "MAX RE-SYNC FRAME
COUNT"</small><br>
<blockquote cite="mid:87efqv5gqp.fsf@nikula.org" type="cite">
<pre wrap="">
#define DP_SYNCHRONIZATION_LATENCY_IN_SINK
# define DP_MAX_RESYNC_FRAME_COUNT_SHIFT
# define DP_MAX_RESYNC_FRAME_COUNT_MASK
And while at it, please add the full register contents.
BR,
Jani.
</pre>
<blockquote type="cite">
<pre wrap="">+
#define DP_RECEIVER_ALPM_STATUS 0x200b /* eDP 1.4 */
# define DP_ALPM_LOCK_TIMEOUT_ERROR (1 << 0)
</pre>
</blockquote>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>