drm/ttm: Allow page allocations w/o triggering OOM..
authorAndrey Grodzovsky <andrey.grodzovsky@amd.com>
Fri, 22 Dec 2017 13:12:40 +0000 (08:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:17:58 +0000 (14:17 -0500)
commitcb5f1a52caf23414c65c6bc7eeefc281164ad092
tree4cd6a60b6fedb42623a96a511993f6c6f2f76cac
parent7b158d169190c53294238adae3718aff4838e50b
drm/ttm: Allow page allocations w/o triggering OOM..

This to allow drivers to choose to avoid OOM invocation and handle
page allocation failures instead.

v2:
Remove extra new lines.

Signed-off-by: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_page_alloc.c
drivers/gpu/drm/ttm/ttm_page_alloc_dma.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h