Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 223020
b: refs/heads/master
c: 1b39d6f
h: refs/heads/master
v: v3
  • Loading branch information
Chris Wilson committed Dec 7, 2010
1 parent 79d15b2 commit 825cbf5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7a1948768c2998f5bddb2327696cbe3161f468ed
refs/heads/master: 1b39d6f37622f1da70aa2cfd38bfff9a52c13e05
8 changes: 6 additions & 2 deletions trunk/drivers/gpu/drm/i915/intel_dp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1374,9 +1374,11 @@ intel_dp_link_down(struct intel_dp *intel_dp)
{
struct drm_device *dev = intel_dp->base.base.dev;
struct drm_i915_private *dev_priv = dev->dev_private;
struct intel_crtc *intel_crtc = to_intel_crtc(intel_dp->base.base.crtc);
uint32_t DP = intel_dp->DP;

if ((I915_READ(intel_dp->output_reg) & DP_PORT_EN) == 0)
return;

DRM_DEBUG_KMS("\n");

if (is_edp(intel_dp)) {
Expand All @@ -1400,7 +1402,9 @@ intel_dp_link_down(struct intel_dp *intel_dp)
if (is_edp(intel_dp))
DP |= DP_LINK_TRAIN_OFF;

if (!HAS_PCH_CPT(dev) && (DP & DP_PIPEB_SELECT)) {
if (!HAS_PCH_CPT(dev) &&
I915_READ(intel_dp->output_reg) & DP_PIPEB_SELECT) {
struct intel_crtc *intel_crtc = to_intel_crtc(intel_dp->base.base.crtc);
/* Hardware workaround: leaving our transcoder select
* set to transcoder B while it's off will prevent the
* corresponding HDMI output on transcoder A.
Expand Down

0 comments on commit 825cbf5

Please sign in to comment.