Skip to content

Commit 2f82724

Browse files
committed
drm/i915/ddi: enable 128b/132b TRANS_DDI_FUNC_CTL mode for UHBR SST
128b/132b SST needs 128b/132b mode enabled in the TRANS_DDI_FUNC_CTL register. This is preparation for enabling 128b/132b SST. This path is not reachable yet. v2: Use the MST path instead of SST to also set transport select (Imre) Reviewed-by: Imre Deak <[email protected]> Signed-off-by: Jani Nikula <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/122ebeadf4bf0870fc26b7d12abdff88f4be8799.1735912293.git.jani.nikula@intel.com
1 parent f6971d7 commit 2f82724

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ intel_ddi_transcoder_func_reg_val_get(struct intel_encoder *encoder,
561561
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_ANALOG)) {
562562
temp |= TRANS_DDI_MODE_SELECT_FDI_OR_128B132B;
563563
temp |= (crtc_state->fdi_lanes - 1) << 1;
564-
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST)) {
564+
} else if (intel_crtc_has_type(crtc_state, INTEL_OUTPUT_DP_MST) ||
565+
intel_dp_is_uhbr(crtc_state)) {
565566
if (intel_dp_is_uhbr(crtc_state))
566567
temp |= TRANS_DDI_MODE_SELECT_FDI_OR_128B132B;
567568
else

0 commit comments

Comments
 (0)