aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorShaoyun Liu <Shaoyun.Liu@amd.com>2018-03-23 17:20:41 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-09-26 22:09:16 -0400
commitc5892230d98b043b3948aec7ce60e636d19c8e50 (patch)
treeb3824ff44ea77d759204e4dd1d67b7e6c809870b /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentb62e01774bd2eb23a80e420da44a95344ac85e8d (diff)
drm/amdgpu: Doorbell assignment for 8 sdma user queue per engine
Change doorbell assignments to allow routing doorbells for 8 user mode SDMA queues per engine. Signed-off-by: Shaoyun Liu <Shaoyun.Liu@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index c43bc83c2d29..01a23157f6f5 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -409,16 +409,16 @@ typedef enum _AMDGPU_DOORBELL64_ASSIGNMENT
409 AMDGPU_DOORBELL64_GFX_RING0 = 0x8b, 409 AMDGPU_DOORBELL64_GFX_RING0 = 0x8b,
410 410
411 /* 411 /*
412 * Other graphics doorbells can be allocated here: from 0x8c to 0xef 412 * Other graphics doorbells can be allocated here: from 0x8c to 0xdf
413 * Graphics voltage island aperture 1 413 * Graphics voltage island aperture 1
414 * default non-graphics QWORD index is 0xF0 - 0xFF inclusive 414 * default non-graphics QWORD index is 0xe0 - 0xFF inclusive
415 */ 415 */
416 416
417 /* sDMA engines */ 417 /* sDMA engines reserved from 0xe0 -oxef */
418 AMDGPU_DOORBELL64_sDMA_ENGINE0 = 0xF0, 418 AMDGPU_DOORBELL64_sDMA_ENGINE0 = 0xE0,
419 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE0 = 0xF1, 419 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE0 = 0xE1,
420 AMDGPU_DOORBELL64_sDMA_ENGINE1 = 0xF2, 420 AMDGPU_DOORBELL64_sDMA_ENGINE1 = 0xE8,
421 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xF3, 421 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xE9,
422 422
423 /* Interrupt handler */ 423 /* Interrupt handler */
424 AMDGPU_DOORBELL64_IH = 0xF4, /* For legacy interrupt ring buffer */ 424 AMDGPU_DOORBELL64_IH = 0xF4, /* For legacy interrupt ring buffer */