Searched refs:new_bo (Results 1 – 3 of 3) sorted by relevance
/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 240 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 …]
|
/drivers/gpu/drm/i915/display/ |
D | intel_overlay.c | 760 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() 1000 struct drm_i915_gem_object *new_bo) in check_overlay_src() argument 1085 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src() 1096 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src() 1100 if (rec->offset_U + tmp > new_bo->base.size || in check_overlay_src() [all …]
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | crtc.c | 1096 struct nouveau_bo *new_bo, in nv04_page_flip_emit() argument 1147 struct nouveau_bo *new_bo = nouveau_gem_object(fb->obj[0]); in nv04_crtc_page_flip() local 1167 if (new_bo != old_bo) { in nv04_crtc_page_flip() 1168 ret = nouveau_bo_pin(new_bo, NOUVEAU_GEM_DOMAIN_VRAM, true); in nv04_crtc_page_flip() 1174 ret = ttm_bo_reserve(&new_bo->bo, true, false, NULL); in nv04_crtc_page_flip() 1179 ret = nouveau_fence_sync(new_bo, chan, false, true); in nv04_crtc_page_flip() 1181 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip() 1185 if (new_bo != old_bo) { in nv04_crtc_page_flip() 1186 ttm_bo_unreserve(&new_bo->bo); in nv04_crtc_page_flip() 1196 new_bo->offset }; in nv04_crtc_page_flip() [all …]
|