]> 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)
commit9cc80f184d76cbded53d149ef229976aefb7f134
treef001d62d2e6a1ef5516918750358f6724c0ba7fd
parentd8ae339a43790ff7836fd55e95e2204eed04aa6c
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