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

Commit af3997b5 authored by Mika Kahola's avatar Mika Kahola Committed by Jani Nikula
Browse files

drm/i915: Skip DDI PLL selection for DSI

parent 5a01d5b6
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -9848,8 +9848,13 @@ static void broadwell_modeset_commit_cdclk(struct drm_atomic_state *old_state)
static int haswell_crtc_compute_clock(struct intel_crtc *crtc,
				      struct intel_crtc_state *crtc_state)
{
	struct intel_encoder *intel_encoder =
		intel_ddi_get_crtc_new_encoder(crtc_state);

	if (intel_encoder->type != INTEL_OUTPUT_DSI) {
		if (!intel_ddi_pll_select(crtc, crtc_state))
			return -EINVAL;
	}

	crtc->lowfreq_avail = false;