[PATCH] drm/amd: Add a DC debug mask for DML2

Harry Wentland harry.wentland at amd.com
Fri Dec 1 14:39:21 UTC 2023



On 2023-11-30 16:56, Aurabindo Pillai wrote:
> [Why&How]
> To enable testing/development of DML2, expose a new debug mask for future use.
> 
> Signed-off-by: Aurabindo Pillai <aurabindo.pillai at amd.com>

Reviewed-by: Harry Wentland <harry.wentland at amd.com>

Harry

> ---
>  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 579977f6ad52..ade68972ec28 100644
> --- a/drivers/gpu/drm/amd/include/amd_shared.h
> +++ b/drivers/gpu/drm/amd/include/amd_shared.h
> @@ -255,6 +255,7 @@ enum DC_DEBUG_MASK {
>  	DC_FORCE_SUBVP_MCLK_SWITCH = 0x20,
>  	DC_DISABLE_MPO = 0x40,
>  	DC_ENABLE_DPIA_TRACE = 0x80,
> +	DC_ENABLE_DML2 = 0x100,
>  };
>  
>  enum amd_dpm_forced_level;



More information about the amd-gfx mailing list