diff options
author | Roger He <Hongbo.He@amd.com> | 2017-12-21 17:42:52 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-12-28 09:48:20 -0500 |
commit | d5769ba315d8ffcf6eeb90b6d7c99d3143547ddb (patch) | |
tree | a5c2b53415d9f7369bcf10bb689292a91d95c58c /include/drm | |
parent | 993baf15560d2e8153f715cec677e6576b35662e (diff) |
drm/ttm: add new function to check if bo is allowable to evict or swapout
extract a function as ttm_bo_evict_swapout_allowable since eviction and
swapout can share same logic.
v2: modify commit message and add description in the code
Reviewed-by: Thomas Hellström <thellstrom@vmware.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chuming Zhou <david1.zhou@amd.com>
Signed-off-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions