Home
last modified time | relevance | path

Searched refs:new_bo (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c251 struct hmm_buffer_object *new_bo; in __bo_break_up() local
255 new_bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in __bo_break_up()
256 if (!new_bo) { in __bo_break_up()
260 ret = __bo_init(bdev, new_bo, pgnr); in __bo_break_up()
263 kmem_cache_free(bdev->bo_cache, new_bo); in __bo_break_up()
267 new_bo->start = bo->start; in __bo_break_up()
268 new_bo->end = new_bo->start + pgnr_to_size(pgnr); in __bo_break_up()
269 bo->start = new_bo->end; in __bo_break_up()
273 list_add_tail(&new_bo->list, &bo->list); in __bo_break_up()
276 return new_bo; in __bo_break_up()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_overlay.c758 struct drm_i915_gem_object *new_bo, in intel_overlay_do_put_image() argument
778 vma = i915_gem_object_pin_to_display_plane(new_bo, in intel_overlay_do_put_image()
784 i915_gem_object_flush_frontbuffer(new_bo, ORIGIN_DIRTYFB); in intel_overlay_do_put_image()
965 struct drm_i915_gem_object *new_bo) in check_overlay_src() argument
1050 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src()
1061 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src()
1065 if (rec->offset_U + tmp > new_bo->base.size || in check_overlay_src()
1066 rec->offset_V + tmp > new_bo->base.size) in check_overlay_src()
1082 struct drm_i915_gem_object *new_bo; in intel_overlay_put_image_ioctl() local
1104 new_bo = i915_gem_object_lookup(file_priv, params->bo_handle); in intel_overlay_put_image_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c1103 struct nouveau_bo *new_bo, in nv04_page_flip_emit() argument
1154 struct nouveau_bo *new_bo = nouveau_gem_object(fb->obj[0]); in nv04_crtc_page_flip() local
1174 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1175 ret = nouveau_bo_pin(new_bo, NOUVEAU_GEM_DOMAIN_VRAM, true); in nv04_crtc_page_flip()
1181 ret = ttm_bo_reserve(&new_bo->bo, true, false, NULL); in nv04_crtc_page_flip()
1186 ret = nouveau_fence_sync(new_bo, chan, false, true); in nv04_crtc_page_flip()
1188 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1192 if (new_bo != old_bo) { in nv04_crtc_page_flip()
1193 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip()
1203 new_bo->offset }; in nv04_crtc_page_flip()
[all …]