Skip to content
Snippets Groups Projects
Commit 1e03322c authored by PhilipY's avatar PhilipY Committed by Alex Deucher
Browse files

drm/amdgpu: Set TTM pools for memory partitions


For native mode only, create TTM pool for each memory partition to store
the NUMA node id, then the TTM pool will be selected using memory
partition id to allocate memory from the correct partition.

Acked-by: default avatarChristian König <christian.koenig@amd.com>
(rajneesh: changed need_swiotlb and need_dma32 to false for pool init)
Reviewed-by: default avatarFelix Kuehling <Felix.Kuehling@amd.com>
Acked-and-tested-by: default avatarMukul Joshi <mukul.joshi@amd.com>
Signed-off-by: default avatarPhilip Yang <Philip.Yang@amd.com>
Signed-off-by: default avatarRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6b43e1a0
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment