]> 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)
commitdfddbcf5bb83fd1ea7f53bd7284c54c2698b6e73
tree949f7567fed1fe08f13b23b7b93b79d87f8220c8
parentd52405d7ca6357537566463616632432f865fd7b
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