Home
last modified time | relevance | path

Searched refs:user_bo (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c455 struct vmw_user_dma_buffer *user_bo; in vmw_user_dmabuf_ref_obj_release() local
456 user_bo = container_of(base, struct vmw_user_dma_buffer, prime.base); in vmw_user_dmabuf_ref_obj_release()
460 ttm_bo_synccpu_write_release(&user_bo->dma.base); in vmw_user_dmabuf_ref_obj_release()
487 struct vmw_user_dma_buffer *user_bo; in vmw_user_dmabuf_alloc() local
491 user_bo = kzalloc(sizeof(*user_bo), GFP_KERNEL); in vmw_user_dmabuf_alloc()
492 if (unlikely(user_bo == NULL)) { in vmw_user_dmabuf_alloc()
497 ret = vmw_dmabuf_init(dev_priv, &user_bo->dma, size, in vmw_user_dmabuf_alloc()
505 tmp = ttm_bo_reference(&user_bo->dma.base); in vmw_user_dmabuf_alloc()
508 &user_bo->prime, in vmw_user_dmabuf_alloc()
518 *p_dma_buf = &user_bo->dma; in vmw_user_dmabuf_alloc()
[all …]
/drivers/gpu/drm/qxl/
Dqxl_display.c312 struct qxl_bo *cursor_bo, *user_bo; in qxl_crtc_cursor_set2() local
327 user_bo = gem_to_qxl_bo(obj); in qxl_crtc_cursor_set2()
329 ret = qxl_bo_reserve(user_bo, false); in qxl_crtc_cursor_set2()
333 ret = qxl_bo_pin(user_bo, QXL_GEM_DOMAIN_CPU, NULL); in qxl_crtc_cursor_set2()
334 qxl_bo_unreserve(user_bo); in qxl_crtc_cursor_set2()
338 ret = qxl_bo_kmap(user_bo, &user_ptr); in qxl_crtc_cursor_set2()
376 qxl_bo_kunmap(user_bo); in qxl_crtc_cursor_set2()
397 ret = qxl_bo_reserve(user_bo, false); in qxl_crtc_cursor_set2()
399 qxl_bo_unpin(user_bo); in qxl_crtc_cursor_set2()
400 qxl_bo_unreserve(user_bo); in qxl_crtc_cursor_set2()
[all …]