drm/amdgpu: Add SOC partition funcs for GC v9.4.3
authorLijo Lazar <lijo.lazar@amd.com>
Mon, 19 Sep 2022 12:04:02 +0000 (17:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:49:35 +0000 (09:49 -0400)
commit9cb18287d8f1c4549d95280e2cf60f4d1bab64f8
tree889dff1b11b15efc11283ca039d5b4e46d707395
parent75d1692393cb78b510ff18733457f91d002452f7
drm/amdgpu: Add SOC partition funcs for GC v9.4.3

Switching the partition mode configuration of ASIC is SOC
level function rather than something at GFX core level. Add
partition mode switch functions as SOC specific callbacks.
Implement the XCP manager callbacks needed for partition
switch for GC 9.4.3 based ASICs.

Signed-off-by: Lijo Lazar <lijo.lazar@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_gfx.h
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram_reg_init.c