]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdkfd: add ACPI SRAT parsing for topology
authorEric Huang <jinhuieric.huang@amd.com>
Fri, 23 Apr 2021 19:05:17 +0000 (15:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 10 May 2021 22:07:12 +0000 (18:07 -0400)
commitc1656c0ca8f8b3957e3a4bde98480008ce562580
treef7ffc1a3ba7d5d757f55423cfa1eaa7f70546b12
parentb75ab4934485ed7c5250970658d978107defaa4e
drm/amdkfd: add ACPI SRAT parsing for topology

In NPS4 BIOS we need to find the closest numa node when creating
topology io link between cpu and gpu, if PCI driver doesn't set
it.

Signed-off-by: Eric Huang <jinhuieric.huang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_crat.c