]> 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)
commit81b0d0e4f811553cbe2d58c8a495c124fb626432
tree8908be9655eb474731a360342a00bafd9afed270
parent4527d47bb63a134c4483a1a478d0ff5874b466c7
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: 6a9b02899402 ("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