All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Jackson <ajax@redhat.com>
To: dri-devel@lists.freedesktop.org
Subject: [PATCH 2/5] drm/dp: Add DPCD defines for register 0x007
Date: Mon, 14 May 2012 16:05:46 -0400	[thread overview]
Message-ID: <1337025949-2355-3-git-send-email-ajax@redhat.com> (raw)
In-Reply-To: <1337025949-2355-1-git-send-email-ajax@redhat.com>

Low four bits are downstream port count.  High bit indicates peer OUI
support.  OUI matching will allow us to do additional per-sink handling
for things like DP->VGA bandwidth limits or (hopefully) the iMac-as-
display hack.

Signed-off-by: Adam Jackson <ajax@redhat.com>
---
 include/drm/drm_dp_helper.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/include/drm/drm_dp_helper.h b/include/drm/drm_dp_helper.h
index 8ed85b9..1744b18c 100644
--- a/include/drm/drm_dp_helper.h
+++ b/include/drm/drm_dp_helper.h
@@ -72,6 +72,10 @@
 
 #define DP_MAIN_LINK_CHANNEL_CODING         0x006
 
+#define DP_DOWN_STREAM_PORT_COUNT	    0x007
+#define  DP_PORT_COUNT_MASK		    0x0f
+#define  DP_OUI_SUPPORT			    (1 << 7)
+
 #define DP_EDP_CONFIGURATION_CAP            0x00d
 #define DP_TRAINING_AUX_RD_INTERVAL         0x00e
 
-- 
1.7.7.6

  parent reply	other threads:[~2012-05-14 20:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 20:05 [PATCH 0/5] Initial DisplayPort OUI probing Adam Jackson
2012-05-14 20:05 ` [PATCH 1/5] drm/dp: Add DPCD OUI register defines Adam Jackson
2012-05-14 20:05 ` Adam Jackson [this message]
2012-05-14 20:05 ` [PATCH 3/5] drm/i915/dp: Probe branch/sink OUIs Adam Jackson
2012-05-14 20:05 ` [PATCH 4/5] drm/radeon/dp: " Adam Jackson
2012-05-14 20:05 ` [PATCH 5/5] drm/nouveau/dp: " Adam Jackson
2012-05-21 17:41 ` [PATCH 0/5] Initial DisplayPort OUI probing Adam Jackson
2012-05-21 18:32   ` Jerome Glisse
2012-05-21 18:47   ` Daniel Vetter
2012-05-21 19:27     ` Alex Deucher
2012-05-21 20:11       ` Adam Jackson
2012-05-21 20:35         ` Alex Deucher
2012-05-21 21:09           ` Adam Jackson
2012-05-21 21:48             ` Alex Deucher
2012-05-22  9:27 ` Dave Airlie

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=1337025949-2355-3-git-send-email-ajax@redhat.com \
    --to=ajax@redhat.com \
    --cc=dri-devel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.