Skip to content

Commit

Permalink
Merge tag 'drm-intel-fixes-2023-05-25' of git://anongit.freedesktop.o…
Browse files Browse the repository at this point in the history
…rg/drm/drm-intel into drm-fixes

PIPEDMC disabling fix for bigjoiner config

Signed-off-by: Dave Airlie <[email protected]>
From: Joonas Lahtinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/ZG9aROGyc947/[email protected]
  • Loading branch information
airlied committed May 26, 2023
2 parents 44c026a + 45dfbd9 commit 94d39d0
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions drivers/gpu/drm/i915/display/intel_display.c
Original file line number Diff line number Diff line change
Expand Up @@ -1851,9 +1851,17 @@ static void hsw_crtc_disable(struct intel_atomic_state *state,

intel_disable_shared_dpll(old_crtc_state);

intel_encoders_post_pll_disable(state, crtc);
if (!intel_crtc_is_bigjoiner_slave(old_crtc_state)) {
struct intel_crtc *slave_crtc;

intel_encoders_post_pll_disable(state, crtc);

intel_dmc_disable_pipe(i915, crtc->pipe);
intel_dmc_disable_pipe(i915, crtc->pipe);

for_each_intel_crtc_in_pipe_mask(&i915->drm, slave_crtc,
intel_crtc_bigjoiner_slave_pipes(old_crtc_state))
intel_dmc_disable_pipe(i915, slave_crtc->pipe);
}
}

static void i9xx_pfit_enable(const struct intel_crtc_state *crtc_state)
Expand Down

0 comments on commit 94d39d0

Please sign in to comment.