drm/amdgpu: remove duplicated doorbell range init for sdma v4.4.2
Subsystems (2)
PATCH 1/1 drm/amdgpu: remove duplicated doorbell range init for sdma v4.4.2
Handled in earlier phase
Signed-off-by Le Ma <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +0 -5
@@ -902,11 +902,6 @@ static int sdma_v4_4_2_inst_start(struct amdgpu_device *adev,WREG32_SDMA (i, regSDMA_CNTL, temp);if (!amdgpu_sriov_vf (adev)) { - ring = &adev->sdma.instance[i].ring; - adev->nbio.funcs->sdma_doorbell_range (adev, i, - ring->use_doorbell, ring->doorbell_index, - adev->doorbell_index.sdma_doorbell_range); -if (adev->firmware.load_type !=AMDGPU_FW_LOAD_PSP ) {/* unhalt engine */ temp =RREG32_SDMA (i, regSDMA_F32_CNTL);
Signature · 1 line
2.38.1
[AMD Official Use Only - General]
Reviewed-by Hawking Zhang <[email protected]>
Regards,
Hawking
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Le Ma
Sent: Tuesday, June 27, 2023 11:56
To: [email protected]
Subject: [PATCH 1/1] drm/amdgpu: remove duplicated doorbell range init for sdma v4.4.2
Handled in earlier phase
Signed-off-by Le Ma <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c +0 -5
@@ -902,11 +902,6 @@ static int sdma_v4_4_2_inst_start(struct amdgpu_device *adev,WREG32_SDMA (i, regSDMA_CNTL, temp);if (!amdgpu_sriov_vf (adev)) { - ring = &adev->sdma.instance[i].ring; - adev->nbio.funcs->sdma_doorbell_range (adev, i, - ring->use_doorbell, ring->doorbell_index, - adev->doorbell_index.sdma_doorbell_range); -if (adev->firmware.load_type !=AMDGPU_FW_LOAD_PSP ) {/* unhalt engine */ temp =RREG32_SDMA (i, regSDMA_F32_CNTL);
--
2.38.1