projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df436d
)
drm/amdgpu: enable GFX Clock Gating control for GC IP v11.0.1
author
Tim Huang
<tim.huang@amd.com>
Fri, 29 Jul 2022 07:37:06 +0000
(15:37 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Wed, 10 Aug 2022 19:10:26 +0000
(15:10 -0400)
Enable GFX CG gate/ungate control.
Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
index 6fd71cb10e54a0f65f3245595c465b2a4f60a2b0..e03618803a1c27dfcde04f8dd7de36526147de12 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@
-5310,6
+5310,7
@@
static int gfx_v11_0_set_clockgating_state(void *handle,
switch (adev->ip_versions[GC_HWIP][0]) {
case IP_VERSION(11, 0, 0):
+ case IP_VERSION(11, 0, 1):
case IP_VERSION(11, 0, 2):
gfx_v11_0_update_gfx_clock_gating(adev,
state == AMD_CG_STATE_GATE);