drm/amdgpu: adjust s2a entry register for sdma doorbell trans decoding
authorLe Ma <le.ma@amd.com>
Wed, 24 Aug 2022 09:41:47 +0000 (17:41 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:46:34 +0000 (09:46 -0400)
commit58bd8023752f3d7e6888d5cbb27387853b04c431
treebbff94d605fd4bfc15c030fc383562c57ebbd6d9
parentd6e924ad85a0cebc9e39eb956a23386ce32cc9f9
drm/amdgpu: adjust s2a entry register for sdma doorbell trans decoding

Use s2a entry 5/6 registers to decode sdma doorbell trans on different AIDs,
which aligns the entry table in SHUB spec, and leave entry 4 dedicated for VCN
doorbell to avoid conflict.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c