diff options
| author | Ma Jun <[email protected]> | 2024-03-25 01:37:09 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-10 02:07:43 +0000 |
| commit | e5040d1496be041a586bb74357703677b0cac232 (patch) | |
| tree | ebefb9a203a09f252cf3a1426962814b7fbb81e5 /drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | |
| parent | drm/amd/pm: fix the high voltage issue after unload (diff) | |
| download | kernel-e5040d1496be041a586bb74357703677b0cac232.tar.gz kernel-e5040d1496be041a586bb74357703677b0cac232.zip | |
drm/amdgpu: Add a new runtime mode definition
Add a new runtime pm mode AMDGPU_RUNPM_BAMACO
and related macro definition
Signed-off-by: Ma Jun <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h')
| -rw-r--r-- | drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 */ |
