]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: fix missing NULL check in ttm_device_swapout
authorChristian König <christian.koenig@amd.com>
Fri, 3 Jun 2022 10:43:50 +0000 (12:43 +0200)
committerChristian König <christian.koenig@amd.com>
Fri, 10 Jun 2022 11:20:21 +0000 (13:20 +0200)
commit1f6da543b0d4df5b11d4071d3d36dbfd7a834581
tree8908be9655eb474731a360342a00bafd9afed270
parent1c7e63b732037ba64029a3511331a134fde2c8e7
drm/ttm: fix missing NULL check in ttm_device_swapout

Resources about to be destructed are not tied to BOs any more.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Fixes: d86da593209c ("drm/ttm: move the LRU into resource handling v4")
Link: https://patchwork.freedesktop.org/patch/msgid/20220603104604.456991-1-christian.koenig@amd.com
drivers/gpu/drm/ttm/ttm_device.c