projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a885bea
)
drm/amdgpu: add SDMA Clock Gating support for yellow carp
author
Aaron Liu
<aaron.liu@amd.com>
Mon, 11 Jan 2021 05:16:31 +0000
(13:16 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:15 +0000
(16:03 -0400)
Add AMD_CG_SUPPORT_SDMA_LS support.
SDMA MGCG programming is migrated to RLC.
Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/nv.c
b/drivers/gpu/drm/amd/amdgpu/nv.c
index 3ffb8095fbb39f9b8eec0f86261cd59603a44912..3e20c40766b202959af52dcf2d3a5d6f6fb56dcc 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nv.c
@@
-1335,7
+1335,8
@@
static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_GFX_CP_LS |
AMD_CG_SUPPORT_GFX_FGCG |
AMD_CG_SUPPORT_MC_MGCG |
- AMD_CG_SUPPORT_MC_LS;
+ AMD_CG_SUPPORT_MC_LS |
+ AMD_CG_SUPPORT_SDMA_LS;
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x01;
break;