* [PATCH] drm/i915: check eDP encoder correctly when setting modes
@ 2011-01-04 18:46 Jesse Barnes
2011-01-04 22:56 ` Chris Wilson
0 siblings, 1 reply; 2+ messages in thread
From: Jesse Barnes @ 2011-01-04 18:46 UTC (permalink / raw)
To: intel-gfx
We were using a stale pointer in the check which caused us to use CPU
attached DP params when we should have been using PCH attached params.
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
---
drivers/gpu/drm/i915/intel_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index fe56cb3..28d58ef 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3949,7 +3949,7 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
int lane = 0, link_bw, bpp;
/* CPU eDP doesn't require FDI link, so just set DP M/N
according to current link config */
- if (has_edp_encoder && !intel_encoder_is_pch_edp(&encoder->base)) {
+ if (has_edp_encoder && !intel_encoder_is_pch_edp(&has_edp_encoder->base)) {
target_clock = mode->clock;
intel_edp_link_config(has_edp_encoder,
&lane, &link_bw);
--
1.7.0.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] drm/i915: check eDP encoder correctly when setting modes
2011-01-04 18:46 [PATCH] drm/i915: check eDP encoder correctly when setting modes Jesse Barnes
@ 2011-01-04 22:56 ` Chris Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Chris Wilson @ 2011-01-04 22:56 UTC (permalink / raw)
To: Jesse Barnes, intel-gfx
On Tue, 4 Jan 2011 10:46:49 -0800, Jesse Barnes <jbarnes@virtuousgeek.org> wrote:
> We were using a stale pointer in the check which caused us to use CPU
> attached DP params when we should have been using PCH attached params.
This is a nice fix. I harvested a couple of tested-bys and pushed to
-fixes.
Let's see if we can get it to Dave and Linus in time for .37.
Thanks,
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-01-04 22:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-04 18:46 [PATCH] drm/i915: check eDP encoder correctly when setting modes Jesse Barnes
2011-01-04 22:56 ` Chris Wilson
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.