projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b2eef9
)
drm/i915: check eDP encoder correctly when setting modes
author
Jesse Barnes
<
[email protected]
>
Tue, 4 Jan 2011 18:46:49 +0000
(10:46 -0800)
committer
Chris Wilson
<
[email protected]
>
Tue, 11 Jan 2011 20:21:55 +0000
(20:21 +0000)
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 <
[email protected]
>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31988
Tested-by: Jan-Hendrik Zab <
[email protected]
>
Tested-by: Christoph Lukas <
[email protected]
>
Signed-off-by: Chris Wilson <
[email protected]
>
Cc:
[email protected]
drivers/gpu/drm/i915/intel_display.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_display.c
b/drivers/gpu/drm/i915/intel_display.c
index 0abe79fb63850cf06495e6a417acf6688553d840..f4d1797350f6dbe36e9a9cee79aab35d6e0026c7 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-3951,7
+3951,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);