Home
last modified time | relevance | path

Searched refs:reservation_sem (Results 1 – 12 of 12) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c100 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_placement()
122 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_placement()
149 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_vram_or_gmr()
177 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_vram_or_gmr()
233 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_pin_in_start_of_vram()
268 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_bo_pin_in_start_of_vram()
292 ret = ttm_read_lock(&dev_priv->reservation_sem, interruptible); in vmw_bo_unpin()
305 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_bo_unpin()
829 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_bo_alloc_ioctl()
847 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_bo_alloc_ioctl()
[all …]
Dvmwgfx_drv.c671 ttm_lock_init(&dev_priv->reservation_sem); in vmw_driver_load()
1350 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_svga_enable()
1352 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_svga_enable()
1396 ttm_write_lock(&dev_priv->reservation_sem, false); in vmw_svga_disable()
1408 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_svga_disable()
1435 ttm_suspend_lock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
1442 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
1500 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmw_pm_freeze()
1503 ttm_suspend_lock(&dev_priv->reservation_sem); in vmw_pm_freeze()
1510 ttm_suspend_lock(&dev_priv->reservation_sem); in vmw_pm_freeze()
[all …]
Dvmwgfx_ioctl.c300 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_ioctl()
320 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_ioctl()
389 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_readback_ioctl()
397 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_readback_ioctl()
Dvmwgfx_simple_resource.c164 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_simple_resource_create_ioctl()
170 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_simple_resource_create_ioctl()
Dvmwgfx_fb.c198 (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()
Dvmwgfx_resource.c890 ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_resource_pin()
929 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_resource_pin()
947 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_resource_unpin()
965 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_resource_unpin()
Dvmwgfx_surface.c759 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_define_ioctl()
892 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
903 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
1436 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_gb_priv_define()
1512 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
1519 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
1641 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_gb_surface_define_internal()
1706 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define_internal()
Dvmwgfx_context.c769 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_context_define()
816 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_context_define()
Dvmwgfx_shader.c899 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_shader_define()
907 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_shader_define()
Dvmwgfx_kms.c869 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_surface_dirty()
896 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_surface_dirty()
1071 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_bo_dirty()
1110 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_bo_dirty()
Dvmwgfx_drv.h522 struct ttm_lock reservation_sem; member
Dvmwgfx_execbuf.c4554 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_execbuf_ioctl()
4565 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_execbuf_ioctl()