]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: completely rework ttm_bo_delayed_delete
authorChristian König <christian.koenig@amd.com>
Wed, 15 Nov 2017 12:20:09 +0000 (13:20 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Dec 2017 17:47:54 +0000 (12:47 -0500)
commit041fe09c83ddfdb0223dc7c0c8c190f82c57ffc6
tree949f7567fed1fe08f13b23b7b93b79d87f8220c8
parentc58698c147dccd51fb33c92e4545f7fb1b991d56
drm/ttm: completely rework ttm_bo_delayed_delete

There is no guarantee that the next entry on the ddelete list stays on
the list when we drop the locks.

Completely rework this mess by moving processed entries on a temporary
list.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-and-Tested-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c