]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit519c2de003b91becfef3d679f133b877adeb2840
tree92e015b92a63dab1afadfc5001c47d02da865269
parent1ec39923ef24f55eaa12cbdbdd9bb7e4ba29f6a7
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