aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorEmily Deng <Emily.Deng@amd.com>2018-08-09 03:05:31 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-09-26 22:09:16 -0400
commita2a8fb512e09bd3735c92421e93cd2e1baa2723d (patch)
tree07833c43705016f02c3ffc90804df6fd868ca794 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentc5892230d98b043b3948aec7ce60e636d19c8e50 (diff)
drm/amdgpu/sriov: Correct the setting about sdma doorbell offset of Vega10
Correct the format For vega10 sriov, the sdma doorbell must be fixed as follow to keep the same setting with host driver, or it will happen conflicts. Signed-off-by: Emily Deng <Emily.Deng@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-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.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 01a23157f6f5..c05b39438663 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -420,6 +420,15 @@ typedef enum _AMDGPU_DOORBELL64_ASSIGNMENT
420 AMDGPU_DOORBELL64_sDMA_ENGINE1 = 0xE8, 420 AMDGPU_DOORBELL64_sDMA_ENGINE1 = 0xE8,
421 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xE9, 421 AMDGPU_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xE9,
422 422
423 /* For vega10 sriov, the sdma doorbell must be fixed as follow
424 * to keep the same setting with host driver, or it will
425 * happen conflicts
426 */
427 AMDGPU_VEGA10_DOORBELL64_sDMA_ENGINE0 = 0xF0,
428 AMDGPU_VEGA10_DOORBELL64_sDMA_HI_PRI_ENGINE0 = 0xF1,
429 AMDGPU_VEGA10_DOORBELL64_sDMA_ENGINE1 = 0xF2,
430 AMDGPU_VEGA10_DOORBELL64_sDMA_HI_PRI_ENGINE1 = 0xF3,
431
423 /* Interrupt handler */ 432 /* Interrupt handler */
424 AMDGPU_DOORBELL64_IH = 0xF4, /* For legacy interrupt ring buffer */ 433 AMDGPU_DOORBELL64_IH = 0xF4, /* For legacy interrupt ring buffer */
425 AMDGPU_DOORBELL64_IH_RING1 = 0xF5, /* For page migration request log */ 434 AMDGPU_DOORBELL64_IH_RING1 = 0xF5, /* For page migration request log */