Skip to content

Commit 9cdef4f

Browse files
Wayne Linalexdeucher
authored andcommitted
drm/amd/display: pbn_div need be updated for hotplug event
link_rate sometime will be changed when DP MST connector hotplug, so pbn_div also need be updated; otherwise, it will mismatch with link_rate, causes no output in external monitor. This is a backport to 6.7 and older. Cc: [email protected] Tested-by: Daniel Wheeler <[email protected]> Reviewed-by: Jerry Zuo <[email protected]> Acked-by: Rodrigo Siqueira <[email protected]> Signed-off-by: Wade Wang <[email protected]> Signed-off-by: Wayne Lin <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent bc2fdea commit 9cdef4f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6914,8 +6914,7 @@ static int dm_encoder_helper_atomic_check(struct drm_encoder *encoder,
69146914
if (IS_ERR(mst_state))
69156915
return PTR_ERR(mst_state);
69166916

6917-
if (!mst_state->pbn_div)
6918-
mst_state->pbn_div = dm_mst_get_pbn_divider(aconnector->mst_root->dc_link);
6917+
mst_state->pbn_div = dm_mst_get_pbn_divider(aconnector->mst_root->dc_link);
69196918

69206919
if (!state->duplicated) {
69216920
int max_bpc = conn_state->max_requested_bpc;

0 commit comments

Comments
 (0)