aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
diff options
context:
space:
mode:
authorRoger He <[email protected]>2018-02-06 07:00:06 +0000
committerAlex Deucher <[email protected]>2018-02-27 04:09:34 +0000
commit40d5250dbb468ecf1d4a1aa5f5597358e33de95c (patch)
treecbccf3285198012acb99894cfa1b874c4b131e15 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c
parentdrm/ttm: add bit flag TTM_OPT_FLAG_FORCE_ALLOC (diff)
downloadkernel-40d5250dbb468ecf1d4a1aa5f5597358e33de95c.tar.gz
kernel-40d5250dbb468ecf1d4a1aa5f5597358e33de95c.zip
drm/ttm: set TTM_OPT_FLAG_FORCE_ALLOC in ttm_bo_force_list_clean
Because ttm_bo_force_list_clean() is only called on two occasions: 1. By ttm_bo_evict_mm() during suspend. 2. By ttm_bo_clean_mm() when the driver unloads. On both cases we absolutely don't want any memory allocation failure. 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