Commit 17e188e0 authored by Christian König's avatar Christian König Committed by Greg Kroah-Hartman
Browse files

drm/ttm: never consider pinned BOs for eviction&swap



[ Upstream commit a2848d08 ]

There is a small window where we have already incremented the pin count
but not yet moved the bo from the lru to the pinned list.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarPelloux-Prayer, Pierre-Eric <Pierre-eric.Pelloux-prayer@amd.com>
Tested-by: default avatarPelloux-Prayer, Pierre-Eric <Pierre-eric.Pelloux-prayer@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Link: https://patchwork.freedesktop.org/patch/msgid/20230707120826.3701-1-christian.koenig@amd.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent a7451c38
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment