commit | 40d5250dbb468ecf1d4a1aa5f5597358e33de95c | [log] [tgz] |
---|---|---|
author | Roger He <Hongbo.He@amd.com> | Tue Feb 06 15:00:06 2018 +0800 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Feb 26 23:09:34 2018 -0500 |
tree | cbccf3285198012acb99894cfa1b874c4b131e15 | |
parent | aa7662b67bf6f56cd0d678da6732e26f1b4bf0ed [diff] |
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 <Hongbo.He@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>