Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c569 struct vmw_user_buffer_object *user_bo; in vmw_user_bo_ref_obj_release() local
571 user_bo = container_of(base, struct vmw_user_buffer_object, prime.base); in vmw_user_bo_ref_obj_release()
575 atomic_dec(&user_bo->vbo.cpu_writers); in vmw_user_bo_ref_obj_release()
604 struct vmw_user_buffer_object *user_bo; in vmw_user_bo_alloc() local
607 user_bo = kzalloc(sizeof(*user_bo), GFP_KERNEL); in vmw_user_bo_alloc()
608 if (unlikely(!user_bo)) { in vmw_user_bo_alloc()
613 ret = vmw_bo_init(dev_priv, &user_bo->vbo, size, in vmw_user_bo_alloc()
621 ttm_bo_get(&user_bo->vbo.base); in vmw_user_bo_alloc()
624 &user_bo->prime, in vmw_user_bo_alloc()
630 ttm_bo_put(&user_bo->vbo.base); in vmw_user_bo_alloc()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_display.c583 struct qxl_bo *cursor_bo = NULL, *user_bo = NULL, *old_cursor_bo = NULL; in qxl_cursor_atomic_update() local
596 user_bo = gem_to_qxl_bo(obj); in qxl_cursor_atomic_update()
599 ret = qxl_bo_kmap(user_bo, &user_ptr); in qxl_cursor_atomic_update()
633 qxl_bo_kunmap(user_bo); in qxl_cursor_atomic_update()
675 qxl_bo_kunmap(user_bo); in qxl_cursor_atomic_update()
770 struct qxl_bo *user_bo; in qxl_plane_prepare_fb() local
778 user_bo = gem_to_qxl_bo(obj); in qxl_plane_prepare_fb()
781 user_bo->is_dumb) { in qxl_plane_prepare_fb()
783 user_bo); in qxl_plane_prepare_fb()
797 if (user_bo->shadow != qdev->dumb_shadow_bo) { in qxl_plane_prepare_fb()
[all …]