drm/ttm: remove ttm_bo_unmap_virtual_locked declaration
Subsystems (2)
PATCH 1/1 drm/ttm: remove ttm_bo_unmap_virtual_locked declaration
That was missed during the cleanup.
--- include/drm/ttm/ttm_bo_driver.h | 9 --------- 1 file changed, 9 deletions(-)
include/drm/ttm/ttm_bo_driver.h +0 -9
@@ -449,15 +449,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev,*/ void ttm_bo_unmap_virtual (struct ttm_buffer_object *bo); -/** -* ttm_bo_unmap_virtual -* -* @bo: tear down the virtual mappings for this BO -* -* The caller must take ttm_mem_io_lock before calling this function. -*/ -void ttm_bo_unmap_virtual_locked (struct ttm_buffer_object *bo); -/** * ttm_bo_reserve: *
Signature · 6 lines
2.17.1 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Quoted 22 lines
-----Original Message-----
From: Christian König <[email protected]>
Sent: Wednesday, October 7, 2020 4:52 AM
To: [email protected]; [email protected]; [email protected]; Ruhl, Michael J <[email protected]>
Subject: [PATCH] drm/ttm: removettm_bo_unmap_virtual_lockeddeclarationThat was missed during the cleanup.
Signed-off-by Christian König <[email protected]>---
include/drm/ttm/ttm_bo_driver.h| 9 ---------1 file changed, 9 deletions(-)include/drm/ttm/ttm_bo_driver.h +0
-0@@ -449,15 +449,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev,*/
include/drm/ttm/ttm_bo_driver.h int ttm_bo_device_init(struct ttm_bo_device *bdev, · line 459
Quoted 10 lines
include/drm/ttm/ttm_bo_driver.h +0
-8void ttm_bo_unmap_virtual (struct ttm_buffer_object *bo); -/** -* ttm_bo_unmap_virtual -* -* @bo: tear down the virtual mappings for this BO -* -* The caller must take ttm_mem_io_lock before calling this function. -*/ -void ttm_bo_unmap_virtual_locked (struct ttm_buffer_object *bo);
greping for ttm_bo_unmap_virtual_locked revealed this:
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: * This is similar to ttm_bo_unmap_virtual_locked() except it takes a subrange. include/drm/ttm/ttm_bo_driver.h:void ttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo);
Should you clean up the vmwgvx comment to avoid confusion? 😊
m
Quoted 6 lines
include/drm/ttm/ttm_bo_driver.h +0
-2-/** * ttm_bo_reserve: * -- 2.17.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Am 07.10.20 um 13:43 schrieb Ruhl, Michael J:
Quoted 34 lines
Quoted 22 lines
-----Original Message-----
From: Christian König <[email protected]>
Sent: Wednesday, October 7, 2020 4:52 AM
To: [email protected]; [email protected]; [email protected]; Ruhl, Michael J <[email protected]>
Subject: [PATCH] drm/ttm: removettm_bo_unmap_virtual_lockeddeclarationThat was missed during the cleanup.
Signed-off-by Christian König <[email protected]>---
include/drm/ttm/ttm_bo_driver.h| 9 ---------1 file changed, 9 deletions(-)include/drm/ttm/ttm_bo_driver.h +0
-0@@ -449,15 +449,6 @@ int ttm_bo_device_init(struct ttm_bo_device *bdev,*/ include/drm/ttm/ttm_bo_driver.h int ttm_bo_device_init(struct ttm_bo_device *bdev, · line 459
Quoted 10 lines
include/drm/ttm/ttm_bo_driver.h +0
-8void ttm_bo_unmap_virtual (struct ttm_buffer_object *bo); -/** -* ttm_bo_unmap_virtual -* -* @bo: tear down the virtual mappings for this BO -* -* The caller must take ttm_mem_io_lock before calling this function. -*/ -void ttm_bo_unmap_virtual_locked (struct ttm_buffer_object *bo);greping for
ttm_bo_unmap_virtual_lockedrevealed this:
Quoted 4 lines
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: * This is similar tottm_bo_unmap_virtual_locked()except it takes a subrange. include/drm/ttm/ttm_bo_driver.h:voidttm_bo_unmap_virtual_locked(struct ttm_buffer_object *bo);Should you clean up the vmwgvx comment to avoid confusion? 😊
Oh good point, thanks. Didn't know that the function was referenced outside of TTM anywhere anymore.
Christian.
Quoted 11 lines
Reviewed-by Michael J. Ruhl <[email protected]>m
Quoted 6 lines
include/drm/ttm/ttm_bo_driver.h +0
-2-/** * ttm_bo_reserve: * -- 2.17.1
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel