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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxx>

Series is

Reviewed-by: Lijo Lazar <lijo.lazar@xxxxxxx>

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 */



[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux