mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 17:08:10 +00:00
0f9cd1ea10
The resource must be on the LRU before ttm_lru_bulk_move_add() is called
and we need to check if the BO is pinned or not before adding it.
Additional to that we missed taking the LRU spinlock in ttm_bo_unpin().
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Acked-by: Luben Tuikov <luben.tuikov@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220613080816.4965-1-christian.koenig@amd.com
Fixes:
|
||
---|---|---|
.. | ||
ttm_bo_api.h | ||
ttm_bo_driver.h | ||
ttm_caching.h | ||
ttm_device.h | ||
ttm_execbuf_util.h | ||
ttm_kmap_iter.h | ||
ttm_placement.h | ||
ttm_pool.h | ||
ttm_range_manager.h | ||
ttm_resource.h | ||
ttm_tt.h |