All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/i915: clarify IBX dp workaround
@ 2012-05-30 10:31 Daniel Vetter
  2012-05-30 10:28 ` Chris Wilson
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Daniel Vetter @ 2012-05-30 10:31 UTC (permalink / raw)
  To: Intel Graphics Development; +Cc: Daniel Vetter

Instead of checking for !CPT, check for IBX to make it clearer that
this is a IBX-specific workaround. No functional change because we
smash the PPT PCH into the HAS_PCH_CPT check and atm DP isn't enabled
on the haswell LPT PCH yet.

See Bspec Vol 3, Part 3, Section 4.[3-5].1 about DP[BCD], bit 30 for
details of this workaround.

Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
---
 drivers/gpu/drm/i915/intel_dp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 9b2effc..df3b027 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -1910,7 +1910,7 @@ intel_dp_link_down(struct intel_dp *intel_dp)
 			DP |= DP_LINK_TRAIN_OFF;
 	}
 
-	if (!HAS_PCH_CPT(dev) &&
+	if (HAS_PCH_IBX(dev) &&
 	    I915_READ(intel_dp->output_reg) & DP_PIPEB_SELECT) {
 		struct drm_crtc *crtc = intel_dp->base.base.crtc;
 
-- 
1.7.7.5

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-06-01 20:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-30 10:31 [PATCH 1/3] drm/i915: clarify IBX dp workaround Daniel Vetter
2012-05-30 10:28 ` Chris Wilson
2012-06-01 19:40   ` Daniel Vetter
2012-06-01 20:04     ` Chris Wilson
2012-05-30 10:31 ` [PATCH 2/3] drm/i915: implement IBX hdmi transcoder select workaround Daniel Vetter
2012-05-30 10:39   ` Chris Wilson
2012-05-30 10:31 ` [PATCH 3/3] drm/i915: assert that the IBX port transcoder select w/a is implemented Daniel Vetter
2012-05-30 10:27   ` Chris Wilson
2012-05-30 11:30     ` Daniel Vetter

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.