[PATCH -next] drm/amd/display: delete the redundant initialization in dcn3_51_soc

Alex Deucher alexdeucher at gmail.com
Mon Apr 8 20:18:13 UTC 2024


Acked-by: Alex Deucher <alexander.deucher at amd.com>

Applied.

Thanks,

Alex

On Mon, Apr 8, 2024 at 3:45 AM Xiang Yang <xiangyang3 at huawei.com> wrote:
>
> the dram_clock_change_latency_us in dcn3_51_soc is initialized twice, so
> delete one of them.
>
> Signed-off-by: Xiang Yang <xiangyang3 at huawei.com>
> ---
>  drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c b/drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
> index b3ffab77cf88..f1c0d5b77f1b 100644
> --- a/drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
> +++ b/drivers/gpu/drm/amd/display/dc/dml/dcn351/dcn351_fpu.c
> @@ -237,7 +237,6 @@ struct _vcs_dpi_soc_bounding_box_st dcn3_51_soc = {
>         .urgent_latency_adjustment_fabric_clock_component_us = 0,
>         .urgent_latency_adjustment_fabric_clock_reference_mhz = 0,
>         .num_chans = 4,
> -       .dram_clock_change_latency_us = 11.72,
>         .dispclk_dppclk_vco_speed_mhz = 2400.0,
>  };
>
> --
> 2.34.1
>


More information about the dri-devel mailing list