summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/pm/amdgpu_pm.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-11-20 09:42:05 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2025-11-20 09:42:05 +0300
commitacf5de1b23b0275eb69f235c8e9f2cef19fa39a1 (patch)
treed9b169f130f880265eed93849edf7914de282c55 /drivers/gpu/drm/amd/pm/amdgpu_pm.c
parent1c004609fdefb48888ef98bc6e3b8fe78ae4e088 (diff)
downloadlinux-acf5de1b23b0275eb69f235c8e9f2cef19fa39a1.tar.xz
LoongArch: Fix NUMA node parsing with numa_memblks
On physical machine, NUMA node id comes from high bit 44:48 of physical address. However it is not true on virt machine. With general method, it comes from ACPI SRAT table. Here the common function numa_memblks_init() is used to parse NUMA node information with numa_memblks. Cc: <stable@vger.kernel.org> Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'drivers/gpu/drm/amd/pm/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions