Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c240 struct hmm_buffer_object *new_bo; in __bo_break_up() local
244 new_bo = kmem_cache_alloc(bdev->bo_cache, GFP_KERNEL); in __bo_break_up()
245 if (!new_bo) { in __bo_break_up()
249 ret = __bo_init(bdev, new_bo, pgnr); in __bo_break_up()
252 kmem_cache_free(bdev->bo_cache, new_bo); in __bo_break_up()
256 new_bo->start = bo->start; in __bo_break_up()
257 new_bo->end = new_bo->start + pgnr_to_size(pgnr); in __bo_break_up()
258 bo->start = new_bo->end; in __bo_break_up()
262 list_add_tail(&new_bo->list, &bo->list); in __bo_break_up()
265 return new_bo; in __bo_break_up()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_overlay.c760 static struct i915_vma *intel_overlay_pin_fb(struct drm_i915_gem_object *new_bo) in intel_overlay_pin_fb() argument
768 ret = i915_gem_object_lock(new_bo, &ww); in intel_overlay_pin_fb()
770 vma = i915_gem_object_pin_to_display_plane(new_bo, &ww, 0, in intel_overlay_pin_fb()
787 struct drm_i915_gem_object *new_bo, in intel_overlay_do_put_image() argument
807 vma = intel_overlay_pin_fb(new_bo); in intel_overlay_do_put_image()
813 i915_gem_object_flush_frontbuffer(new_bo, ORIGIN_DIRTYFB); in intel_overlay_do_put_image()
996 struct drm_i915_gem_object *new_bo) in check_overlay_src() argument
1081 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src()
1092 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src()
1096 if (rec->offset_U + tmp > new_bo->base.size || in check_overlay_src()
[all …]
/linux-6.1.9/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 …]