Home
last modified time | relevance | path

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

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_dmabuf.c54 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_dmabuf_pin_in_placement()
76 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_dmabuf_pin_in_placement()
102 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_dmabuf_pin_in_vram_or_gmr()
131 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_dmabuf_pin_in_vram_or_gmr()
186 ret = ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_dmabuf_pin_in_start_of_vram()
219 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_dmabuf_pin_in_start_of_vram()
243 ret = ttm_read_lock(&dev_priv->reservation_sem, interruptible); in vmw_dmabuf_unpin()
256 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_dmabuf_unpin()
Dvmwgfx_ioctl.c297 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_ioctl()
317 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_ioctl()
386 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_present_readback_ioctl()
394 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_present_readback_ioctl()
Dvmwgfx_resource.c698 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_dmabuf_alloc_ioctl()
716 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_dmabuf_alloc_ioctl()
907 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_stream_claim_ioctl()
914 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_stream_claim_ioctl()
1014 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_dumb_create()
1026 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_dumb_create()
1708 ttm_write_lock(&dev_priv->reservation_sem, interruptible); in vmw_resource_pin()
1748 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_resource_pin()
1766 ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_resource_unpin()
1784 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_resource_unpin()
Dvmwgfx_surface.c740 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_define_ioctl()
882 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
893 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_define_ioctl()
1323 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_gb_surface_define_ioctl()
1388 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_gb_surface_define_ioctl()
1522 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_surface_gb_priv_define()
1585 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
1592 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_surface_gb_priv_define()
Dvmwgfx_drv.c638 ttm_lock_init(&dev_priv->reservation_sem); in vmw_driver_load()
1294 ttm_read_lock(&dev_priv->reservation_sem, false); in vmw_svga_enable()
1296 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_svga_enable()
1327 ttm_write_lock(&dev_priv->reservation_sem, false); in vmw_svga_disable()
1339 ttm_write_unlock(&dev_priv->reservation_sem); in vmw_svga_disable()
1360 ttm_suspend_lock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
1375 ttm_suspend_unlock(&dev_priv->reservation_sem); in vmwgfx_pm_notifier()
Dvmwgfx_fb.c380 (void) ttm_write_lock(&vmw_priv->reservation_sem, false); in vmw_fb_create_bo()
396 ttm_write_unlock(&vmw_priv->reservation_sem); in vmw_fb_create_bo()
401 ttm_write_unlock(&vmw_priv->reservation_sem); in vmw_fb_create_bo()
Dvmwgfx_context.c764 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_context_define()
811 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_context_define()
Dvmwgfx_kms.c436 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_surface_dirty()
463 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_surface_dirty()
640 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_framebuffer_dmabuf_dirty()
680 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_framebuffer_dmabuf_dirty()
Dvmwgfx_shader.c886 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_shader_define()
894 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_shader_define()
Dvmwgfx_drv.h494 struct ttm_lock reservation_sem; member
Dvmwgfx_execbuf.c4317 ret = ttm_read_lock(&dev_priv->reservation_sem, true); in vmw_execbuf_ioctl()
4327 ttm_read_unlock(&dev_priv->reservation_sem); in vmw_execbuf_ioctl()