[PATCH] drm/amd/display: Disable IPS by default

Rodrigo Siqueira Jordao Rodrigo.Siqueira at amd.com
Wed Dec 20 19:54:01 UTC 2023



On 12/20/23 12:30, Roman.Li at amd.com wrote:
> From: Roman Li <Roman.Li at amd.com>
> 
> [Why]
> Instability is observed on DCN35 if idle power optimization is enabled.
> 
> [How]
> Disable IPS until issue is resolved.
> 
> Signed-off-by: Roman Li <Roman.Li at amd.com>
> Tested-by: Daniel Wheeler <daniel.wheeler at amd.com>
> ---
>   drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++
>   1 file changed, 2 insertions(+)
> 
> 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 2845c884398e..2cabe1b463bc 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -1710,6 +1710,8 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
>   	init_data.nbio_reg_offsets = adev->reg_offset[NBIO_HWIP][0];
>   	init_data.clk_reg_offsets = adev->reg_offset[CLK_HWIP][0];
>   
> +	init_data.flags.disable_ips = DMUB_IPS_DISABLE_ALL;
> +
>   	/* Enable DWB for tested platforms only */
>   	if (amdgpu_ip_version(adev, DCE_HWIP, 0) >= IP_VERSION(3, 0, 0))
>   		init_data.num_virtual_links = 1;

Reviewed-by: Rodrigo Siqueira <Rodrigo.Siqueira at amd.com>


More information about the amd-gfx mailing list