Skip to content
Commit 7120a447 authored by xinhui pan's avatar xinhui pan Committed by Christian König
Browse files

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: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarxinhui pan <xinhui.pan@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211110043149.57554-2-xinhui.pan@amd.com


Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
parent f55aaf63
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment