aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorRoger He <[email protected]>2018-01-17 07:07:23 +0000
committerAlex Deucher <[email protected]>2018-02-27 04:09:34 +0000
commitaa7662b67bf6f56cd0d678da6732e26f1b4bf0ed (patch)
tree4b07e45dd6f1a35d502b67d722df4edc6aadae51 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/ttm: use bit flag to replace allow_reserved_eviction in ttm_operation_ctx (diff)
downloadkernel-aa7662b67bf6f56cd0d678da6732e26f1b4bf0ed.tar.gz
kernel-aa7662b67bf6f56cd0d678da6732e26f1b4bf0ed.zip
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 <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions