File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
drivers/gpu/drm/i915/display Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -4515,19 +4515,14 @@ static void icl_disable_transcoder_port_sync(const struct intel_crtc_state *old_
4515
4515
{
4516
4516
struct intel_crtc *crtc = to_intel_crtc(old_crtc_state->base.crtc);
4517
4517
struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
4518
- i915_reg_t reg;
4519
- u32 trans_ddi_func_ctl2_val;
4520
4518
4521
4519
if (old_crtc_state->master_transcoder == INVALID_TRANSCODER)
4522
4520
return;
4523
4521
4524
4522
DRM_DEBUG_KMS("Disabling Transcoder Port Sync on Slave Transcoder %s\n",
4525
4523
transcoder_name(old_crtc_state->cpu_transcoder));
4526
4524
4527
- reg = TRANS_DDI_FUNC_CTL2(old_crtc_state->cpu_transcoder);
4528
- trans_ddi_func_ctl2_val = ~(PORT_SYNC_MODE_ENABLE |
4529
- PORT_SYNC_MODE_MASTER_SELECT_MASK);
4530
- I915_WRITE(reg, trans_ddi_func_ctl2_val);
4525
+ I915_WRITE(TRANS_DDI_FUNC_CTL2(old_crtc_state->cpu_transcoder), 0);
4531
4526
}
4532
4527
4533
4528
static void intel_fdi_normal_train(struct intel_crtc *crtc)
You can’t perform that action at this time.
0 commit comments