projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f4ede
)
drm/amdgpu: Allow GfxOff on Vangogh as default
author
Jinzhou Su
<Jinzhou.Su@amd.com>
Thu, 21 Jan 2021 02:11:23 +0000
(10:11 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Thu, 21 Jan 2021 14:54:50 +0000
(09:54 -0500)
Send allow GfxOff message to SMU to enter GfxOff
mode as default.
Signed-off-by: Jinzhou Su <Jinzhou.Su@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
index dd102cc2516a5ecf1aa89d0c2ecbe30e40c1c2e0..426a217ce83fea05c7262229731f68e4a3ea4488 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
+++ b/
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
@@
-7905,6
+7905,7
@@
static int gfx_v10_0_set_powergating_state(void *handle,
break;
case CHIP_VANGOGH:
gfx_v10_cntl_pg(adev, enable);
+ amdgpu_gfx_off_ctrl(adev, enable);
break;
default:
break;