OSDN Git Service

drm/amdgpu: Add API to get numa information of XCC
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 14 Feb 2023 13:29:40 +0000 (18:59 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:56:59 +0000 (09:56 -0400)
commitfa0497c34eb7dd9db9a09963917382e924c3fbc5
treed4462b6a714db740cf02444cb2dc6c7be0baeab9
parent1cc823011a23fa0e3497e9f6655172b2507ce2cd
drm/amdgpu: Add API to get numa information of XCC

Add interface to get numa information of ACPI XCC object. The interface
uses logical id to identify an XCC.

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