linux_dsm_epyc7002/drivers/gpu/drm/ttm
Roger He aa7662b67b drm/ttm: add bit flag TTM_OPT_FLAG_FORCE_ALLOC
set TTM_OPT_FLAG_FORCE_ALLOC when we are servicing for page
fault routine.

for ttm_mem_global_reserve if in page fault routine, allow the gtt
pages reservation always. because page fault routing already grabbed
system memory and the allowance of this exception is harmless.
Otherwise, it will trigger OOM killer.

will be used later.

v2: set the FORCE_ALLOC always
v3: minor refine

Signed-off-by: Roger He <Hongbo.He@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2018-02-26 23:09:34 -05:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ttm_agp_backend.c drm/ttm: use an operation ctx for ttm_tt_populate in ttm_bo_driver (v2) 2017-12-28 09:48:19 -05:00
ttm_bo_manager.c drm/ttm: make ttm_mem_type_manager_func debug more useful 2017-08-17 15:45:59 -04:00
ttm_bo_util.c drm/ttm: add ttm_tt_populate wrapper 2018-02-19 14:19:52 -05:00
ttm_bo_vm.c drm/ttm: add bit flag TTM_OPT_FLAG_FORCE_ALLOC 2018-02-26 23:09:34 -05:00
ttm_bo.c drm/ttm: use bit flag to replace allow_reserved_eviction in ttm_operation_ctx 2018-02-26 23:09:34 -05:00
ttm_execbuf_util.c drm/ttm: Simplify ttm_eu_reserve_buffers() 2018-02-19 14:19:00 -05:00
ttm_lock.c sched/headers: Prepare for new header dependencies before moving code to <linux/sched/signal.h> 2017-03-02 08:42:29 +01:00
ttm_memory.c drm/ttm: enable swapout for reserved BOs during allocation 2017-12-28 09:48:20 -05:00
ttm_module.c drm/ttm: make device_released static 2014-07-22 12:59:32 +10:00
ttm_object.c drm/ttm: use an operation ctx for ttm_mem_global_alloc 2017-12-27 11:38:54 -05:00
ttm_page_alloc_dma.c drm/ttm: Simplify ttm_dma_page_put() 2018-02-19 14:19:02 -05:00
ttm_page_alloc.c drm/ttm: add the missed global memory count update 2018-02-19 14:17:59 -05:00
ttm_tt.c drm/ttm: set page mapping during allocation 2018-02-26 23:09:33 -05:00