Skip to content

Commit 94d39d0

Browse files
committed
Merge tag 'drm-intel-fixes-2023-05-25' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
PIPEDMC disabling fix for bigjoiner config Signed-off-by: Dave Airlie <airlied@redhat.com> From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/ZG9aROGyc947/J1l@jlahtine-mobl.ger.corp.intel.com
2 parents 44c026a + 45dfbd9 commit 94d39d0

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

drivers/gpu/drm/i915/display/intel_display.c

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,9 +1851,17 @@ static void hsw_crtc_disable(struct intel_atomic_state *state,
18511851

18521852
intel_disable_shared_dpll(old_crtc_state);
18531853

1854-
intel_encoders_post_pll_disable(state, crtc);
1854+
if (!intel_crtc_is_bigjoiner_slave(old_crtc_state)) {
1855+
struct intel_crtc *slave_crtc;
1856+
1857+
intel_encoders_post_pll_disable(state, crtc);
18551858

1856-
intel_dmc_disable_pipe(i915, crtc->pipe);
1859+
intel_dmc_disable_pipe(i915, crtc->pipe);
1860+
1861+
for_each_intel_crtc_in_pipe_mask(&i915->drm, slave_crtc,
1862+
intel_crtc_bigjoiner_slave_pipes(old_crtc_state))
1863+
intel_dmc_disable_pipe(i915, slave_crtc->pipe);
1864+
}
18571865
}
18581866

18591867
static void i9xx_pfit_enable(const struct intel_crtc_state *crtc_state)

0 commit comments

Comments
 (0)