projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7dd14c
)
drm/amdgpu: add IH Clock Gating support for yellow carp
author
Aaron Liu
<aaron.liu@amd.com>
Tue, 12 Jan 2021 08:51:59 +0000
(16:51 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 4 Jun 2021 20:03:16 +0000
(16:03 -0400)
IH CG need to be enabled by driver.
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
15f5d9a
..
fc3ad33
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/nv.c
+++ b/
drivers/gpu/drm/amd/amdgpu/nv.c
@@
-1340,7
+1340,8
@@
static int nv_common_early_init(void *handle)
AMD_CG_SUPPORT_HDP_MGCG |
AMD_CG_SUPPORT_HDP_LS |
AMD_CG_SUPPORT_ATHUB_MGCG |
- AMD_CG_SUPPORT_ATHUB_LS;
+ AMD_CG_SUPPORT_ATHUB_LS |
+ AMD_CG_SUPPORT_IH_CG;
adev->pg_flags = AMD_PG_SUPPORT_GFX_PG;
adev->external_rev_id = adev->rev_id + 0x01;
break;