On 2026-05-20 16:29, Harry Wentland wrote:
> From: Ivan Lipski <[email protected]>
> 
> [Why&How]
> If we don't do that we make DSC decisions based on random
> inputs, which might result in disallowing DSC when the
> monitor and HW support it.
> 
> Signed-off-by: Ivan Lipski <[email protected]>
> Signed-off-by: Harry Wentland <[email protected]>

Reviewed-by: Harry Wentland <[email protected]>

Harry

> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c 
> b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index af0af7519517..d6eba4c37647 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -7469,7 +7469,7 @@ create_stream_for_sink(struct drm_connector *connector,
>       int preferred_refresh = 0;
>       enum color_transfer_func tf = TRANSFER_FUNC_UNKNOWN;
>  #if defined(CONFIG_DRM_AMD_DC_FP)
> -     struct dsc_dec_dpcd_caps dsc_caps;
> +     struct dsc_dec_dpcd_caps dsc_caps = {0};
>  #endif
>       struct dc_link *link = NULL;
>       struct dc_sink *sink = NULL;

Reply via email to