Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c99 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()
828 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_bo_alloc_ioctl()
846 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_bo_alloc_ioctl()
[all …]
Dvmwgfx_drv.c635 ttm_lock_init(&dev_priv->reservation_sem); in vmw_driver_load()
1145 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_svga_enable()
1147 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_svga_enable()
1191 ttm_write_lock(&dev_priv->reservation_sem, false); in vmw_svga_disable()
1203 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_svga_disable()
1230 ttm_suspend_lock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
1237 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
1295 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmw_pm_freeze()
1298 ttm_suspend_lock(&dev_priv->reservation_sem); in vmw_pm_freeze()
1305 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.c165 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()
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_surface.c752 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_define_ioctl()
884 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
895 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
1412 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_gb_priv_define()
1488 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
1495 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
1617 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_gb_surface_define_internal()
1682 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define_internal()
Dvmwgfx_resource.c924 ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_resource_pin()
963 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_resource_pin()
981 (void) ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_resource_unpin()
999 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_resource_unpin()
Dvmwgfx_context.c744 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_context_define()
791 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_context_define()
Dvmwgfx_shader.c880 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()
Dvmwgfx_drv.h570 struct ttm_lock reservation_sem; member
Dvmwgfx_kms.c1007 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_bo_dirty()
1036 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_bo_dirty()
Dvmwgfx_execbuf.c4043 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_execbuf_ioctl()
4054 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_execbuf_ioctl()