Re: [PATCH] amdgpu: Fix always_valid bos multiple LRU insertions.

2018-01-31 Thread Christian König
Am 31.01.2018 um 13:07 schrieb Bas Nieuwenhuizen: If these bos are evicted and are in the validated list things blow up, so do not put them in there. Notably, that tries to add the bo to the LRU twice, which results in a BUG_ON in ttm_bo.c. While for the bo_list an alternative would be to not

[PATCH] amdgpu: Fix always_valid bos multiple LRU insertions.

2018-01-31 Thread Bas Nieuwenhuizen
If these bos are evicted and are in the validated list things blow up, so do not put them in there. Notably, that tries to add the bo to the LRU twice, which results in a BUG_ON in ttm_bo.c. While for the bo_list an alternative would be to not allow always valid bos in there, that does not work