Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d8e8b582 authored by Imre Deak's avatar Imre Deak Committed by Daniel Vetter
Browse files

drm/i915: hsw: replace !is_pch_edp() with port==PORT_A



On HSW the CPU side eDP is always on port-A, the PCH side eDP is always
on port-D.

Signed-off-by: default avatarImre Deak <imre.deak@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 9ff8c9ba
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
		}