]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: replace dma_resv object on deleted BOs v3
authorChristian König <christian.koenig@amd.com>
Mon, 11 Nov 2019 14:16:56 +0000 (15:16 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 12 Feb 2020 12:03:33 +0000 (13:03 +0100)
commitf48d0c3571fa23cb1c62bab637b3243ed8df400c
tree92e015b92a63dab1afadfc5001c47d02da865269
parent6dddf9f225e88e0f01d75487ae6fbcb394c455d8
drm/ttm: replace dma_resv object on deleted BOs v3

When non-imported BOs are resurrected for delayed delete we replace
the dma_resv object to allow for easy reclaiming of the resources.

v2: move that to ttm_bo_individualize_resv
v3: add a comment to explain what's going on

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/352927/
drivers/gpu/drm/ttm/ttm_bo.c