drm/amdgpu: Add map of logical to physical inst
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 29 Jun 2022 09:29:04 +0000 (14:59 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:45:42 +0000 (09:45 -0400)
commit5d30cbb4dbf096bb964fb9c5fd4417cad13445a4
treef58c29b6d3f2d930029b0a8049d68cb6a7273e07
parent0c7315e7d5ef9b36ca4db32ffeb34a187cbaf231
drm/amdgpu: Add map of logical to physical inst

Add a map for logical to physical instances of an IP. For ex: on some device
configurations, the first logical XCC may not be the first physical XCC.
Software may continue to access in logical IP instance order. The map
provides a convenient way to get to the actual physical instance.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Le Ma <Le.Ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h