diff options
author | Christian König <christian.koenig@amd.com> | 2022-11-18 22:22:21 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-12-06 12:28:12 +0300 |
commit | cd3a8a596214e6a338a22104936c40e62bdea2b6 (patch) | |
tree | a875747bebf02f74da026979556d31ea928c762d /include/drm/ttm | |
parent | 3ea44105bd4b6269ea87d10dc3693a71164ee0df (diff) | |
download | linux-cd3a8a596214e6a338a22104936c40e62bdea2b6.tar.xz |
drm/ttm: remove ttm_bo_(un)lock_delayed_workqueue
Those functions never worked correctly since it is still perfectly
possible that a buffer object is released and the background worker
restarted even after calling them.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Arunpravin Paneer Selvam <Arunpravin.PaneerSelvam@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221125102137.1801-2-christian.koenig@amd.com
Diffstat (limited to 'include/drm/ttm')
-rw-r--r-- | include/drm/ttm/ttm_bo_api.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/include/drm/ttm/ttm_bo_api.h b/include/drm/ttm/ttm_bo_api.h index 44a538ee5e2a..7758347c461c 100644 --- a/include/drm/ttm/ttm_bo_api.h +++ b/include/drm/ttm/ttm_bo_api.h @@ -291,22 +291,6 @@ void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo, struct ttm_lru_bulk_move *bulk); /** - * ttm_bo_lock_delayed_workqueue - * - * Prevent the delayed workqueue from running. - * Returns - * True if the workqueue was queued at the time - */ -int ttm_bo_lock_delayed_workqueue(struct ttm_device *bdev); - -/** - * ttm_bo_unlock_delayed_workqueue - * - * Allows the delayed workqueue to run. - */ -void ttm_bo_unlock_delayed_workqueue(struct ttm_device *bdev, int resched); - -/** * ttm_bo_eviction_valuable * * @bo: The buffer object to evict |