Searched refs:reservation_sem (Results 1 – 11 of 11) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_dmabuf.c | 54 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()
|
D | vmwgfx_ioctl.c | 297 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()
|
D | vmwgfx_resource.c | 698 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()
|
D | vmwgfx_surface.c | 740 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()
|
D | vmwgfx_drv.c | 638 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()
|
D | vmwgfx_fb.c | 380 (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()
|
D | vmwgfx_context.c | 764 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()
|
D | vmwgfx_kms.c | 436 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()
|
D | vmwgfx_shader.c | 886 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()
|
D | vmwgfx_drv.h | 494 struct ttm_lock reservation_sem; member
|
D | vmwgfx_execbuf.c | 4317 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()
|