Skip to content

Commit 67af691

Browse files
Le Maalexdeucher
authored andcommitted
drm/amdgpu: remove duplicated doorbell range init for sdma v4.4.2
Handled in earlier phase Signed-off-by: Le Ma <[email protected]> Reviewed-by: Hawking Zhang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent 2c7cd28 commit 67af691

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/gpu/drm/amd/amdgpu/sdma_v4_4_2.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -902,11 +902,6 @@ static int sdma_v4_4_2_inst_start(struct amdgpu_device *adev,
902902
WREG32_SDMA(i, regSDMA_CNTL, temp);
903903

904904
if (!amdgpu_sriov_vf(adev)) {
905-
ring = &adev->sdma.instance[i].ring;
906-
adev->nbio.funcs->sdma_doorbell_range(adev, i,
907-
ring->use_doorbell, ring->doorbell_index,
908-
adev->doorbell_index.sdma_doorbell_range);
909-
910905
if (adev->firmware.load_type != AMDGPU_FW_LOAD_PSP) {
911906
/* unhalt engine */
912907
temp = RREG32_SDMA(i, regSDMA_F32_CNTL);

0 commit comments

Comments
 (0)