projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ff8c9b
)
drm/i915: hsw: replace !is_pch_edp() with port==PORT_A
author
Imre Deak
<imre.deak@intel.com>
Wed, 8 May 2013 10:14:03 +0000
(13:14 +0300)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 10 May 2013 19:56:39 +0000
(21:56 +0200)
On HSW the CPU side eDP is always on port-A, the PCH side eDP is always
on port-D.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
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
b890722
..
157a68f
100644
(file)
--- a/
drivers/gpu/drm/i915/intel_display.c
+++ b/
drivers/gpu/drm/i915/intel_display.c
@@
-5969,7
+5969,7
@@
static int haswell_crtc_mode_set(struct drm_crtc *crtc,
for_each_encoder_on_crtc(dev, crtc, encoder) {
switch (encoder->type) {
case INTEL_OUTPUT_EDP:
- if (
!intel_encoder_is_pch_edp(&encoder->base)
)
+ if (
enc_to_dig_port(&encoder->base)->port == PORT_A
)
is_cpu_edp = true;
break;
}