diff options
author | Kenneth Feng <kenneth.feng@amd.com> | 2022-04-29 17:19:26 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-05-10 17:53:11 -0400 |
commit | b4e7b0e86f4c0acd4e377bf2d3ce38cad5105d59 (patch) | |
tree | 380b373237c41b396c8471d4398eac444d6f5941 /drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | |
parent | f5f79e32609dd24943b87abcda47ac37d25b7320 (diff) |
drm/amd/pm: enable gfxoff control on smu_v13_0_7
enable gfxoff control interface on smu_v13_0_7
Signed-off-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c index c61df47020d6..79f2a5c5197d 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c @@ -5193,6 +5193,7 @@ static int gfx_v11_0_set_powergating_state(void *handle, switch (adev->ip_versions[GC_HWIP][0]) { case IP_VERSION(11, 0, 0): + case IP_VERSION(11, 0, 2): amdgpu_gfx_off_ctrl(adev, enable); break; default: |