Lines Matching refs:new_bo
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()
1101 rec->offset_V + tmp > new_bo->base.size) in check_overlay_src()
1117 struct drm_i915_gem_object *new_bo; in intel_overlay_put_image_ioctl() local
1139 new_bo = i915_gem_object_lookup(file_priv, params->bo_handle); in intel_overlay_put_image_ioctl()
1140 if (!new_bo) in intel_overlay_put_image_ioctl()
1145 if (i915_gem_object_is_tiled(new_bo)) { in intel_overlay_put_image_ioctl()
1195 ret = check_overlay_src(dev_priv, params, new_bo); in intel_overlay_put_image_ioctl()
1204 ret = intel_overlay_do_put_image(overlay, new_bo, params); in intel_overlay_put_image_ioctl()
1209 i915_gem_object_put(new_bo); in intel_overlay_put_image_ioctl()
1215 i915_gem_object_put(new_bo); in intel_overlay_put_image_ioctl()