Searched refs:user_bo (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 426 struct vmw_user_dma_buffer *user_bo; in vmw_user_dmabuf_alloc() local 430 user_bo = kzalloc(sizeof(*user_bo), GFP_KERNEL); in vmw_user_dmabuf_alloc() 431 if (unlikely(user_bo == NULL)) { in vmw_user_dmabuf_alloc() 436 ret = vmw_dmabuf_init(dev_priv, &user_bo->dma, size, in vmw_user_dmabuf_alloc() 442 tmp = ttm_bo_reference(&user_bo->dma.base); in vmw_user_dmabuf_alloc() 444 &user_bo->base, in vmw_user_dmabuf_alloc() 453 *p_dma_buf = &user_bo->dma; in vmw_user_dmabuf_alloc() 454 *handle = user_bo->base.hash.key; in vmw_user_dmabuf_alloc() 557 struct vmw_user_dma_buffer *user_bo; in vmw_user_dmabuf_reference() local 562 user_bo = container_of(dma_buf, struct vmw_user_dma_buffer, dma); in vmw_user_dmabuf_reference() [all …]
|
/drivers/gpu/drm/qxl/ |
D | qxl_display.c | 270 struct qxl_bo *cursor_bo, *user_bo; in qxl_crtc_cursor_set() local 287 user_bo = gem_to_qxl_bo(obj); in qxl_crtc_cursor_set() 289 ret = qxl_bo_reserve(user_bo, false); in qxl_crtc_cursor_set() 293 ret = qxl_bo_pin(user_bo, QXL_GEM_DOMAIN_CPU, NULL); in qxl_crtc_cursor_set() 297 ret = qxl_bo_kmap(user_bo, &user_ptr); in qxl_crtc_cursor_set() 330 qxl_bo_kunmap(user_bo); in qxl_crtc_cursor_set() 331 qxl_bo_unpin(user_bo); in qxl_crtc_cursor_set() 332 qxl_bo_unreserve(user_bo); in qxl_crtc_cursor_set() 360 qxl_bo_kunmap(user_bo); in qxl_crtc_cursor_set() 362 qxl_bo_unpin(user_bo); in qxl_crtc_cursor_set() [all …]
|