[PATCH 12/13] drm/amd/display: Fix a typo in revert commit

Li, Roman Roman.Li at amd.com
Fri Aug 16 19:30:40 UTC 2024


[Public]

Wiil update commit message as:

-------------
drm/amd/display: Fix MST DSC lightup

[Why]
Secondary monitor does not come up due to MST DSC bw calculation regression.

[How]
Fix bug in try_disable_dsc()

Fixes: 4b6564cb120c ("drm/amd/display: Fix MST BW calculation Regression")

Cc: mario.limonciello at amd.com
Cc: alexander.deucher at amd.com
Cc: stable at vger.kernel.org
Reported-by: jirislaby at kernel.org
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3495
Closes: https://bugzilla.suse.com/show_bug.cgi?id=1228093
Reviewed-by: Roman Li <roman.li at amd.com>
Signed-off-by: Fangzhi Zuo <Jerry.Zuo at amd.com>
Signed-off-by: Roman Li <roman.li at amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler at amd.com>


> -----Original Message-----
> From: Roman.Li at amd.com <Roman.Li at amd.com>
> Sent: Thursday, August 15, 2024 6:45 PM
> To: amd-gfx at lists.freedesktop.org
> Cc: Wentland, Harry <Harry.Wentland at amd.com>; Li, Sun peng (Leo)
> <Sunpeng.Li at amd.com>; Siqueira, Rodrigo <Rodrigo.Siqueira at amd.com>;
> Pillai, Aurabindo <Aurabindo.Pillai at amd.com>; Li, Roman
> <Roman.Li at amd.com>; Lin, Wayne <Wayne.Lin at amd.com>; Gutierrez,
> Agustin <Agustin.Gutierrez at amd.com>; Chung, ChiaHsuan (Tom)
> <ChiaHsuan.Chung at amd.com>; Zuo, Jerry <Jerry.Zuo at amd.com>;
> Mohamed, Zaeem <Zaeem.Mohamed at amd.com>; Zuo, Jerry
> <Jerry.Zuo at amd.com>
> Subject: [PATCH 12/13] drm/amd/display: Fix a typo in revert commit
>
> From: Fangzhi Zuo <Jerry.Zuo at amd.com>
>
> A typo is fixed for "drm/amd/display: Fix MST BW calculation Regression"
>
> Fixes: 4b6564cb120c ("drm/amd/display: Fix MST BW calculation
> Regression")
>
> Reviewed-by: Roman Li <roman.li at amd.com>
> Signed-off-by: Fangzhi Zuo <Jerry.Zuo at amd.com>
> Signed-off-by: Roman Li <roman.li at amd.com>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
> a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> index 958fad0d5307..5e08ca700c3f 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c
> @@ -1066,7 +1066,7 @@ static int try_disable_dsc(struct drm_atomic_state
> *state,
>                       vars[next_index].dsc_enabled = false;
>                       vars[next_index].bpp_x16 = 0;
>               } else {
> -                     vars[next_index].pbn =
> kbps_to_peak_pbn(params[next_index].bw_range.stream_kbps,
> fec_overhead_multiplier_x1000);
> +                     vars[next_index].pbn =
> kbps_to_peak_pbn(params[next_index].bw_range.max_kbps,
> fec_overhead_multiplier_x1000);
>                       ret = drm_dp_atomic_find_time_slots(state,
>
> params[next_index].port->mgr,
>
> params[next_index].port,
> --
> 2.34.1



More information about the amd-gfx mailing list