Searched refs:reservation_sem (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 99 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_placement() 121 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_placement() 148 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_vram_or_gmr() 176 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_vram_or_gmr() 232 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_start_of_vram() 267 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_start_of_vram() 291 ret = ttm_read_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_unpin() 304 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_bo_unpin() 841 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_bo_alloc_ioctl() 859 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_bo_alloc_ioctl() [all …]
|
D | vmwgfx_drv.c | 669 ttm_lock_init(&dev_priv->reservation_sem); in vmw_driver_load() 1206 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_svga_enable() 1208 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_svga_enable() 1255 ttm_write_lock(&dev_priv->reservation_sem, false); in vmw_svga_disable() 1267 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_svga_disable() 1308 ttm_suspend_lock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier() 1315 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier() 1373 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmw_pm_freeze() 1376 ttm_suspend_lock(&dev_priv->reservation_sem); in vmw_pm_freeze() 1383 ttm_suspend_lock(&dev_priv->reservation_sem); in vmw_pm_freeze() [all …]
|
D | vmwgfx_ioctl.c | 306 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_ioctl() 326 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_ioctl() 395 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_readback_ioctl() 403 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_readback_ioctl()
|
D | vmwgfx_simple_resource.c | 165 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_simple_resource_create_ioctl() 171 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_simple_resource_create_ioctl()
|
D | vmwgfx_fb.c | 198 (void) ttm_read_lock(&vmw_priv->reservation_sem, false); in vmw_fb_dirty_flush() 257 ttm_read_unlock(&vmw_priv->reservation_sem); in vmw_fb_dirty_flush() 399 (void) ttm_write_lock(&vmw_priv->reservation_sem, false); in vmw_fb_create_bo() 415 ttm_write_unlock(&vmw_priv->reservation_sem); in vmw_fb_create_bo() 420 ttm_write_unlock(&vmw_priv->reservation_sem); in vmw_fb_create_bo()
|
D | vmwgfx_resource.c | 992 ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_resource_pin() 1031 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_resource_pin() 1049 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_resource_unpin() 1067 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_resource_unpin()
|
D | vmwgfx_surface.c | 779 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_define_ioctl() 913 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl() 924 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl() 1542 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_gb_surface_define_internal() 1628 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define_internal() 2113 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_gb_surface_define() 2180 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define() 2187 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define()
|
D | vmwgfx_shader.c | 880 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_shader_define() 888 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_shader_define()
|
D | vmwgfx_context.c | 751 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_context_define() 798 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_context_define()
|
D | vmwgfx_kms.c | 1006 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_bo_dirty() 1035 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_bo_dirty()
|
D | vmwgfx_drv.h | 617 struct ttm_lock reservation_sem; member
|
D | vmwgfx_execbuf.c | 4434 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_execbuf_ioctl() 4445 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_execbuf_ioctl()
|