]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Add gfx_off support in smu through pp_set_powergating_by_smu
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 5 Jun 2018 03:46:35 +0000 (11:46 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:49 +0000 (16:38 -0500)
commitcd040e7a83db6f5aa7466efc19ffb4eda3ffb292
tree48592372b204ffe526d897b993bbd83f78fe8adb
parente9d5e129b96550b8507c6d0b7956f14d64fb54f7
drm/amdgpu: Add gfx_off support in smu through pp_set_powergating_by_smu

we can take gfx off feature as gfx power gate. gfx off feature is also
controled by smu. so add gfx_off support in pp_set_powergating_by_smu.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
drivers/gpu/drm/amd/powerplay/amd_powerplay.c