There's no need to read the register, just use the default
value.
Assisted-by: Claude:claude-opus-4.6
Signed-off-by: Alex Deucher <[email protected]>
---
drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
index 18366e16ef3fa..b71b8b0275ccf 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v7_1.c
@@ -871,8 +871,7 @@ static int sdma_v7_1_mqd_init(struct amdgpu_device *adev,
void *mqd,
m->sdmax_rlcx_rb_rptr_addr_lo = lower_32_bits(wb_gpu_addr);
m->sdmax_rlcx_rb_rptr_addr_hi = upper_32_bits(wb_gpu_addr);
- m->sdmax_rlcx_ib_cntl = RREG32_SOC15_IP(GC,
sdma_v7_1_get_reg_offset(adev, 0,
-
regSDMA0_SDMA_QUEUE0_IB_CNTL));
+ m->sdmax_rlcx_ib_cntl = 0x00000100; //regSDMA0_QUEUE0_IB_CNTL_DEFAULT
m->sdmax_rlcx_doorbell_offset =
prop->doorbell_index <<
SDMA0_SDMA_QUEUE0_DOORBELL_OFFSET__OFFSET__SHIFT;
--
2.54.0