diff options
author | Christian König | 2022-01-24 11:07:15 +0100 |
---|---|---|
committer | Christian König | 2022-03-29 10:55:32 +0200 |
commit | fee2ede155423b0f7a559050a39750b98fe9db69 (patch) | |
tree | 1d8e937921fc8ea6d9f36b636649d93a7d012bd5 /include/drm/ttm/ttm_device.h | |
parent | 7842cf65b0401814a9df518a86a41641255c84d3 (diff) |
drm/ttm: rework bulk move handling v5
Instead of providing the bulk move structure for each LRU update set
this as property of the BO. This should avoid costly bulk move rebuilds
with some games under RADV.
v2: some name polishing, add a few more kerneldoc words.
v3: add some lockdep
v4: fix bugs, handle pin/unpin as well
v5: improve kerneldoc
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220321132601.2161-5-christian.koenig@amd.com
Diffstat (limited to 'include/drm/ttm/ttm_device.h')
-rw-r--r-- | include/drm/ttm/ttm_device.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/drm/ttm/ttm_device.h b/include/drm/ttm/ttm_device.h index 425150f35fbe..95b3c04b1ab9 100644 --- a/include/drm/ttm/ttm_device.h +++ b/include/drm/ttm/ttm_device.h @@ -199,15 +199,6 @@ struct ttm_device_funcs { void *buf, int len, int write); /** - * struct ttm_bo_driver member del_from_lru_notify - * - * @bo: the buffer object deleted from lru - * - * notify driver that a BO was deleted from LRU. - */ - void (*del_from_lru_notify)(struct ttm_buffer_object *bo); - - /** * Notify the driver that we're about to release a BO * * @bo: BO that is about to be released |