From: Todd Previte <tprevite@gmail.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 2/2] drm/i915: Add support for Displayport compliance test 4.2.2.8
Date: Wed, 1 Apr 2015 11:06:51 -0700 [thread overview]
Message-ID: <1427911611-19952-3-git-send-email-tprevite@gmail.com> (raw)
In-Reply-To: <1427911611-19952-1-git-send-email-tprevite@gmail.com>
Adds support for the test 4.2.2.8 EDID read on IRQ_HPD event after
Branch Device Detection in the Displayport Link CTS Core 1.2 rev1.1.
This test checks to see that the source device reads the EDID from
the attached sink device upon detection of a downstream port. A short
pulse is generated by the sink device to indicate a status change in
the downstream ports to which the source device must respond by
reading the EDID from the attached sink.
Signed-off-by: Todd Previte <tprevite@gmail.com>
---
drivers/gpu/drm/i915/intel_dp.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 7e0d3a8..c27c30a 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -4015,6 +4015,14 @@ intel_dp_check_link_status(struct intel_dp *intel_dp)
return;
}
+ /* Check for downstream port status changes
+ Displayport Link CTS 1.2a rev1.1 4.2.2.8
+ */
+ if (link_status[2] & DP_DOWNSTREAM_PORT_STATUS_CHANGED) {
+ /* Read EDID as required by 4.2.2.8 */
+ edid_read = drm_get_edid(connector, adapter);
+ }
+
if (!drm_dp_channel_eq_ok(link_status, intel_dp->lane_count)) {
DRM_DEBUG_KMS("%s: channel EQ not ok, retraining\n",
intel_encoder->base.name);
--
1.9.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
prev parent reply other threads:[~2015-04-01 18:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-01 18:06 [intel-gfx][PATCH] Displayport compliance tests 4.2.2.7 and 4.2.2.8 Todd Previte
2015-04-01 18:06 ` [PATCH 1/2] drm/i915: Add support for Displayport compliance test 4.2.2.7 Todd Previte
2015-04-01 18:06 ` Todd Previte [this message]
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=1427911611-19952-3-git-send-email-tprevite@gmail.com \
--to=tprevite@gmail.com \
--cc=intel-gfx@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