projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1fb6b8
)
drm/amdgpu: enable GFXOFF allow control for GC IP v11.0.1
author
Tim Huang
<tim.huang@amd.com>
Mon, 15 Aug 2022 06:04:49 +0000
(14:04 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 19 Aug 2022 21:05:35 +0000
(17:05 -0400)
Enable GFXOFF allow control when set the GFX power gating.
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
158d87e
..
f45db80
100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c
@@
-5328,8
+5328,7
@@
static int gfx_v11_0_set_powergating_state(void *handle,
break;
case IP_VERSION(11, 0, 1):
gfx_v11_cntl_pg(adev, enable);
- /* TODO: Enable this when GFXOFF is ready */
- // amdgpu_gfx_off_ctrl(adev, enable);
+ amdgpu_gfx_off_ctrl(adev, enable);
break;
default:
break;