[PATCH 2/3] drm/amd: Add a DC debug mask for IPS

Mario Limonciello mario.limonciello at amd.com
Wed Jan 24 17:15:29 UTC 2024


On 1/24/2024 11:09, Roman.Li at amd.com wrote:
> From: Roman Li <Roman.Li at amd.com>
> 
> For debugging IPS-related issues, expose a new debug mask
> that allows to disable IPS.
> Usage:
> amdgpu.dcdebugmask=0x800
> 
> Signed-off-by: Roman Li <Roman.Li at amd.com>
> Tested-by: Mark Broadworth <mark.broadworth at amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello at amd.com>
> ---
>   drivers/gpu/drm/amd/include/amd_shared.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/amd/include/amd_shared.h b/drivers/gpu/drm/amd/include/amd_shared.h
> index da9b670fec86..a89d93154ddb 100644
> --- a/drivers/gpu/drm/amd/include/amd_shared.h
> +++ b/drivers/gpu/drm/amd/include/amd_shared.h
> @@ -259,6 +259,7 @@ enum DC_DEBUG_MASK {
>   	DC_ENABLE_DML2 = 0x100,
>   	DC_DISABLE_PSR_SU = 0x200,
>   	DC_DISABLE_REPLAY = 0x400,
> +	DC_DISABLE_IPS = 0x800,
>   };
>   
>   enum amd_dpm_forced_level;



More information about the amd-gfx mailing list