mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
drm/amdgpu/athub2: enable athub2 clock gating
Enable athub2 clock gating and light sleep Signed-off-by: Jack Xiao <Jack.Xiao@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
9faa494e2f
commit
367adb2ad5
5 changed files with 140 additions and 0 deletions
|
@ -96,6 +96,8 @@ enum amd_powergating_state {
|
|||
#define AMD_CG_SUPPORT_HDP_DS (1 << 25)
|
||||
#define AMD_CG_SUPPORT_HDP_SD (1 << 26)
|
||||
#define AMD_CG_SUPPORT_IH_CG (1 << 27)
|
||||
#define AMD_CG_SUPPORT_ATHUB_LS (1 << 28)
|
||||
#define AMD_CG_SUPPORT_ATHUB_MGCG (1 << 29)
|
||||
/* PG flags */
|
||||
#define AMD_PG_SUPPORT_GFX_PG (1 << 0)
|
||||
#define AMD_PG_SUPPORT_GFX_SMG (1 << 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue