drm/ttm: Account for kernel allocations in kernel zone only
authorFelix Kuehling <Felix.Kuehling@amd.com>
Fri, 22 Feb 2019 19:44:41 +0000 (14:44 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:53 +0000 (15:03 -0500)
commit3c8899124a40b9cd11769c54fb57b67e5d43403d
tree9fea29b625209071a199d14ece52783d73667e95
parentbf141a88b329d12c9aaea4f7e7a8fdbd2dfe987d
drm/ttm: Account for kernel allocations in kernel zone only

Don't account for them in other zones such as dma32. The kernel page
allocator has its own heuristics to avoid exhausting special zones
for regular kernel allocations.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_memory.c