[PATCH v3 1/5] drm/amdgpu: Add a new runtime mode definition

Lazar, Lijo lijo.lazar at amd.com
Thu Mar 28 10:32:16 UTC 2024



On 3/27/2024 4:40 PM, Ma Jun wrote:
> Add a new runtime pm mode AMDGPU_RUNPM_BAMACO
> and related macro definition
> 
> Signed-off-by: Ma Jun <Jun.Ma2 at amd.com>

Series is

Reviewed-by: Lijo Lazar <lijo.lazar at amd.com>

Thanks,
Lijo

> ---
>  drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
> index 621200e0823f..e6cad9f7aaeb 100644
> --- a/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
> +++ b/drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h
> @@ -50,8 +50,12 @@ enum amdgpu_runpm_mode {
>  	AMDGPU_RUNPM_PX,
>  	AMDGPU_RUNPM_BOCO,
>  	AMDGPU_RUNPM_BACO,
> +	AMDGPU_RUNPM_BAMACO,
>  };
>  
> +#define BACO_SUPPORT (1<<0)
> +#define MACO_SUPPORT (1<<1)
> +
>  struct amdgpu_ps {
>  	u32 caps; /* vbios flags */
>  	u32 class; /* vbios flags */


More information about the amd-gfx mailing list