diff options
| author | 2022-06-13 09:37:03 +0200 | |
|---|---|---|
| committer | 2022-06-14 11:15:19 +0200 | |
| commit | 0f9cd1ea10d307cad221d6693b648a8956e812b0 (patch) | |
| tree | 8ee0f06a134fbbec7549c8b4d6551949b4014194 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/ttm: fix missing NULL check in ttm_device_swapout (diff) | |
| download | linux-dev-0f9cd1ea10d307cad221d6693b648a8956e812b0.tar.xz linux-dev-0f9cd1ea10d307cad221d6693b648a8956e812b0.zip | |
drm/ttm: fix bulk move handling v2
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: fee2ede15542 ("drm/ttm: rework bulk move handling v5")
Diffstat (limited to 'tools/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
