drm/ttm: fix DMA32 handling in the global page pool
authorChristian König <christian.koenig@amd.com>
Tue, 17 Nov 2020 15:50:45 +0000 (16:50 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 19 Nov 2020 12:09:29 +0000 (13:09 +0100)
commit3e3e59ef0cbe9bfbe8e55c4c8165dd98148decf2
tree3cdb29675e8aaf1e8bc0c05a36b1e4d2d51af2c9
parent295992fb815e791d14b18ef7cdbbaf1a76211a31
drm/ttm: fix DMA32 handling in the global page pool

When we have mixed DMA32 and non DMA32 device in one system
it could otherwise happen that the DMA32 device gets pages
it can't work with.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Link: https://patchwork.freedesktop.org/patch/401317/
drivers/gpu/drm/ttm/ttm_pool.c