drm/amdgpu: Add xcc specific functions for gfxhub
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 14 Sep 2022 06:46:48 +0000 (12:16 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:49:14 +0000 (09:49 -0400)
commitdd1a02e280dae1904c8858c8cb572a61a84ba7c0
tree1932d330e3cb4ad17c996efbfacffb4d8db95bd1
parent44b5cf2e0f7952856f48b9be56b9eb2f688d70f0
drm/amdgpu: Add xcc specific functions for gfxhub

GFXHUB 1.2 supports multiple XCC instances. Add XCC specific functions
to handle XCC instances separately.

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