diff options
author | xinhui pan <xinhui.pan@amd.com> | 2021-11-10 12:31:49 +0800 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2021-11-11 09:08:08 +0100 |
commit | 7120a447c7fe37a123ab7a63afefdbf0787b9002 (patch) | |
tree | 9f8f26aff1373e05b2e150f5384cd0eb178ebaa5 /drivers/dma-buf | |
parent | f55aaf63bde0d0336c3823bb3713bd4a464abbcf (diff) |
drm/ttm: Double check mem_type of BO while eviction
BO might sit in a wrong lru list as there is a small period of memory
moving and lru list updating.
Lets skip eviction if we hit such mismatch.
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110043149.57554-2-xinhui.pan@amd.com
Signed-off-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'drivers/dma-buf')
0 files changed, 0 insertions, 0 deletions