[2/3] drm/amdgpu: Fix a typo in vega10_ih_set_rptr()

Submitted by Zhao, Yong on Feb. 6, 2019, 3:49 p.m.

Details

Message ID 20190206154921.14463-2-Yong.Zhao@amd.com
State New
Series "Series without cover letter"
Headers show

Commit Message

Zhao, Yong Feb. 6, 2019, 3:49 p.m.
Clearly, it should be a 64-bit doorbell operation.

Change-Id: I644a2ebcb18c2ede24ee15692a6189efad10a35c
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com>
---
 drivers/gpu/drm/amd/amdgpu/vega10_ih.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/vega10_ih.c b/drivers/gpu/drm/amd/amdgpu/vega10_ih.c
index 796004896661..36f0e3cada30 100644
--- a/drivers/gpu/drm/amd/amdgpu/vega10_ih.c
+++ b/drivers/gpu/drm/amd/amdgpu/vega10_ih.c
@@ -377,7 +377,7 @@  static void vega10_ih_set_rptr(struct amdgpu_device *adev,
 	if (ih->use_doorbell) {
 		/* XXX check if swapping is necessary on BE */
 		*ih->rptr_cpu = ih->rptr;
-		WDOORBELL32(ih->doorbell_idx_in_dw, ih->rptr);
+		WDOORBELL64(ih->doorbell_idx_in_dw, ih->rptr);
 	} else if (ih == &adev->irq.ih) {
 		WREG32_SOC15(OSSSYS, 0, mmIH_RB_RPTR, ih->rptr);
 	} else if (ih == &adev->irq.ih1) {