aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAsad kamal <[email protected]>2023-01-03 13:14:58 +0800
committerAlex Deucher <[email protected]>2023-06-09 09:51:36 -0400
commit30b52995c294b3c9a002ff2f90f773cbf8850714 (patch)
treee0863757a934043e6544a900cb9b6a55d3e9c4f4
parented1f42f03c46767df7f55d6a75c39051a55cc656 (diff)
drm/amdgpu: Remove SMU powergate message call for SDMA
SDMA v4.4.2 doesn't need explicit power gating control through PMFW Signed-off-by: Asad kamal <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
index 184eb7902722..7c91cbd91ac8 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c
@@ -1398,10 +1398,6 @@ static int sdma_v4_4_2_hw_init(void *handle)
struct amdgpu_device *adev = (struct amdgpu_device *)handle;
uint32_t inst_mask;
- /* TODO: Check if this is needed */
- if (adev->flags & AMD_IS_APU)
- amdgpu_dpm_set_powergating_by_smu(adev, AMD_IP_BLOCK_TYPE_SDMA, false);
-
inst_mask = GENMASK(adev->sdma.num_instances - 1, 0);
if (!amdgpu_sriov_vf(adev))
sdma_v4_4_2_inst_init_golden_registers(adev, inst_mask);