RE: [PATCH] drm/ttm: remove ttm_bo_unmap_virtual_locked declaration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>-----Original Message-----
>From: Christian König <ckoenig.leichtzumerken@xxxxxxxxx>
>Sent: Wednesday, October 7, 2020 4:52 AM
>To: dri-devel@xxxxxxxxxxxxxxxxxxxxx; airlied@xxxxxxxxx;
>ray.huang@xxxxxxx; Ruhl, Michael J <michael.j.ruhl@xxxxxxxxx>
>Subject: [PATCH] drm/ttm: remove ttm_bo_unmap_virtual_locked
>declaration
>
>That was missed during the cleanup.
>
>Signed-off-by: Christian König <christian.koenig@xxxxxxx>
>---
> include/drm/ttm/ttm_bo_driver.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
>diff --git a/include/drm/ttm/ttm_bo_driver.h
>b/include/drm/ttm/ttm_bo_driver.h
>index 9897a16c0a9d..b58dedce7079 100644
>--- a/include/drm/ttm/ttm_bo_driver.h
>+++ b/include/drm/ttm/ttm_bo_driver.h
>@@ -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);

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? 😊

Reviewed-by: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx>

m

>-
> /**
>  * ttm_bo_reserve:
>  *
>--
>2.17.1

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel




[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux