drm/amdgpu/gfx: use proper offset define for MEC doorbells
Subsystems (2)
PATCH 1/1 drm/amdgpu/gfx: use proper offset define for MEC doorbells
Looks like a copy paste typo.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1 -1
@@ -1566,7 +1566,7 @@ static int gfx_v9_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, ring->ring_obj =NULL ; ring->use_doorbell = true; - ring->doorbell_index = (AMDGPU_DOORBELL_MEC_RING0 + ring_id) <<1 ; + ring->doorbell_index = (AMDGPU_DOORBELL64_MEC_RING0 + ring_id) <<1 ; ring->eop_gpu_addr = adev->gfx.mec.hpd_eop_gpu_addr + (ring_id *GFX9_MEC_HPD_SIZE );sprintf (ring->name,"comp_%d.%d.%d" , ring->me, ring->pipe, ring->queue);
Signature · 6 lines
2.13.6 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20181116203037.17893-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Kuehling, Felix
Reviewed-by Felix KuehlingQuoted 3 lines · Alex Deucher
Looks like a copy paste typo.
Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Felix Kuehling <[email protected]>
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +0
-0
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c static int gfx_v9_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, · line 1572
Quoted 8 lines
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +1
-1@@ -1566,7 +1566,7 @@ static int gfx_v9_0_compute_ring_init(struct amdgpu_device *adev, int ring_id, ring->ring_obj =NULL ; ring->use_doorbell = true; - ring->doorbell_index = (AMDGPU_DOORBELL_MEC_RING0 + ring_id) <<1 ; + ring->doorbell_index = (AMDGPU_DOORBELL64_MEC_RING0 + ring_id) <<1 ; ring->eop_gpu_addr = adev->gfx.mec.hpd_eop_gpu_addr + (ring_id *GFX9_MEC_HPD_SIZE );sprintf (ring->name,"comp_%d.%d.%d" , ring->me, ring->pipe, ring->queue);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx