drm/amdgpu: add some basic elements for multiple XCD case
authorLe Ma <le.ma@amd.com>
Tue, 16 Nov 2021 13:42:28 +0000 (21:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Apr 2023 17:47:49 +0000 (13:47 -0400)
commit541372bb62f289f4402cf55be51fb9cec7373627
tree83c5863e1f35e8f03729173b4a457b2419870f36
parent0530553ba842884737a689ae5fac11154dcf3122
drm/amdgpu: add some basic elements for multiple XCD case

Add some basic definitions and structure member. Inscrease MAX_WB slots
to 1024 to support the increasing number of rings for multiple partitions.

v2: unify naming style

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/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h