]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: individualize BO reservation obj when they are freed
authorChristian König <christian.koenig@amd.com>
Thu, 20 Jul 2017 18:55:06 +0000 (20:55 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Aug 2017 19:45:56 +0000 (15:45 -0400)
commit3848481678167d17de2763b0519ad13b8df90c32
treef001d62d2e6a1ef5516918750358f6724c0ba7fd
parent8358fab4cf6d796f35b463afab081e8efb0bfd07
drm/ttm: individualize BO reservation obj when they are freed

Use the BOs reservation object when it is put on the ddelete list. This way we
avoid delaying freeing up the BO because of new fences on the reservation object.

This is used by dma-buf and amdgpu's VM page tables.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c