drm/ttm: add NUMA node id to the pool
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Thu, 13 Oct 2022 01:58:29 +0000 (21:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:52:28 +0000 (09:52 -0400)
commit4482d3c94d7f1d6912521e6de23bb051bfcd084d
tree05d832073423e4eed1b6f35fd7245fa26487553c
parentc1d3f627ff33bf1ae145209030a114c4985beddf
drm/ttm: add NUMA node id to the pool

This allows backing ttm_tt structure with pages from different NUMA
pools.

Tested-by: Graham Sider <graham.sider@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_device.c
drivers/gpu/drm/ttm/ttm_pool.c
include/drm/ttm/ttm_pool.h