drm/amdgpu: configure the doorbell settings for sdma on non-AID0
authorLe Ma <le.ma@amd.com>
Sat, 2 Apr 2022 12:21:35 +0000 (20:21 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:45:32 +0000 (09:45 -0400)
commit6b22ef25748fb77030bac02e2147f6d738212ac3
treef03978986f6e0e6d29e28fb8aa5cdbb5236a1739
parent0c552ed38780f24b7ac235c3d10c6c94686ecfdf
drm/amdgpu: configure the doorbell settings for sdma on non-AID0

Configure the sdma doorbell settings on NBIF0 and SYSHUB of each AID

v2: fetch aid_id from amdgpu_sdma_instance (Lijo)

Signed-off-by: Le Ma <le.ma@amd.com>
Acked-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c