Home
last modified time | relevance | path

Searched refs:vfb (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ldu.c143 static int vmw_ldu_fb_pin(struct vmw_framebuffer *vfb) in vmw_ldu_fb_pin() argument
145 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_ldu_fb_pin()
149 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_ldu_fb_pin()
150 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.guest_memory_bo; in vmw_ldu_fb_pin()
166 static int vmw_ldu_fb_unpin(struct vmw_framebuffer *vfb) in vmw_ldu_fb_unpin() argument
168 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_ldu_fb_unpin()
171 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_ldu_fb_unpin()
172 vmw_framebuffer_to_vfbs(&vfb in vmw_ldu_fb_unpin()
198 vmw_ldu_add_active(struct vmw_private *vmw_priv, struct vmw_legacy_display_unit *ldu, struct vmw_framebuffer *vfb) vmw_ldu_add_active() argument
338 struct vmw_framebuffer *vfb; vmw_ldu_primary_plane_atomic_update() local
[all...]
H A Dvmwgfx_stdu.c229 /* Set up image using information in vfb */ in vmw_stdu_bind_st()
527 * @vfb: Pointer to the buffer-object backed framebuffer.
544 struct vmw_framebuffer *vfb, in vmw_kms_stdu_readback()
553 container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; in vmw_kms_stdu_readback()
579 ddirty.pitch = vfb->base.pitches[0]; in vmw_kms_stdu_readback()
588 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_readback()
898 struct vmw_framebuffer *vfb; in vmw_stdu_primary_plane_prepare_fb() local
915 vfb = vmw_framebuffer_to_vfb(new_fb); in vmw_stdu_primary_plane_prepare_fb()
916 new_vfbs = (vfb->bo) ? NULL : vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_primary_plane_prepare_fb()
922 else if (vfb in vmw_stdu_primary_plane_prepare_fb()
542 vmw_kms_stdu_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, uint32_t num_clips, int increment, struct drm_crtc *crtc) vmw_kms_stdu_readback() argument
1135 vmw_stdu_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_stdu_plane_update_bo() argument
1298 vmw_stdu_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_stdu_plane_update_surface() argument
1363 struct vmw_framebuffer *vfb = vmw_stdu_primary_plane_atomic_update() local
[all...]
H A Dvmwgfx_ioctl.c181 struct vmw_framebuffer *vfb; in vmw_present_ioctl() local
220 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_ioctl()
230 vfb, surface, arg->sid, in vmw_present_ioctl()
259 struct vmw_framebuffer *vfb; in vmw_present_readback_ioctl() local
298 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_readback_ioctl()
299 if (!vfb->bo) { in vmw_present_readback_ioctl()
306 vfb, user_fence_rep, in vmw_present_readback_ioctl()
H A Dvmwgfx_scrn.c215 struct vmw_framebuffer *vfb; in vmw_sou_crtc_mode_set_nofb() local
227 vfb = (fb) ? vmw_framebuffer_to_vfb(fb) : NULL; in vmw_sou_crtc_mode_set_nofb()
237 if (vfb) { in vmw_sou_crtc_mode_set_nofb()
476 container_of(update->vfb, typeof(*vfbbo), base); in vmw_sou_bo_define_gmrfb()
478 int depth = update->vfb->base.format->depth; in vmw_sou_bo_define_gmrfb()
489 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb()
492 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb()
527 * @vfb: Framebuffer which is blitted to display unit.
537 struct vmw_framebuffer *vfb, in vmw_sou_plane_update_bo()
547 bo_update.base.vfb in vmw_sou_plane_update_bo()
534 vmw_sou_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_bo() argument
694 vmw_sou_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_surface() argument
734 struct vmw_framebuffer *vfb = vmw_sou_primary_plane_atomic_update() local
1319 vmw_kms_sou_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_vmw_rect *vclips, uint32_t num_clips, struct drm_crtc *crtc) vmw_kms_sou_readback() argument
[all...]
H A Dvmwgfx_kms.h43 * @vfb: Framebuffer which is blitted to display unit.
126 struct vmw_framebuffer *vfb; member
450 struct vmw_framebuffer *vfb,
539 struct vmw_framebuffer *vfb,
561 struct vmw_framebuffer *vfb,
H A Dvmwgfx_kms.c1238 * @vfb: Pointer to the buffer-object backed framebuffer.
1249 struct vmw_framebuffer *vfb, in vmw_kms_readback()
1256 return vmw_kms_sou_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
1260 return vmw_kms_stdu_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
1581 struct vmw_framebuffer *vfb = NULL; in vmw_kms_new_framebuffer() local
1604 ret = vmw_kms_new_framebuffer_surface(dev_priv, surface, &vfb, in vmw_kms_new_framebuffer()
1614 ret = vmw_kms_new_framebuffer_bo(dev_priv, bo, &vfb, in vmw_kms_new_framebuffer()
1623 return vfb; in vmw_kms_new_framebuffer()
1635 struct vmw_framebuffer *vfb = NULL; in vmw_kms_fb_create() local
1660 vfb in vmw_kms_fb_create()
1247 vmw_kms_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_vmw_rect *vclips, uint32_t num_clips) vmw_kms_readback() argument
1973 vmw_kms_generic_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) vmw_kms_generic_present() argument
1988 vmw_kms_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) vmw_kms_present() argument
[all...]
H A Dvmwgfx_drv.h1075 struct vmw_framebuffer *vfb,
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_kms.c846 * @vfb: Pointer to the buffer-object backed framebuffer.
857 struct vmw_framebuffer *vfb, in vmw_kms_readback()
864 return vmw_kms_sou_readback(dev_priv, file_priv, vfb, in vmw_kms_readback()
868 return vmw_kms_stdu_dma(dev_priv, file_priv, vfb, in vmw_kms_readback()
1068 static int vmw_framebuffer_pin(struct vmw_framebuffer *vfb) in vmw_framebuffer_pin() argument
1070 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_pin()
1075 buf = vfb->bo ? vmw_framebuffer_to_vfbd(&vfb->base)->buffer : in vmw_framebuffer_pin()
1076 vmw_framebuffer_to_vfbs(&vfb->base)->surface->res.backup; in vmw_framebuffer_pin()
1089 if (vfb in vmw_framebuffer_pin()
855 vmw_kms_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_vmw_rect *vclips, uint32_t num_clips) vmw_kms_readback() argument
1113 vmw_framebuffer_unpin(struct vmw_framebuffer *vfb) vmw_framebuffer_unpin() argument
1308 struct vmw_framebuffer *vfb = NULL; vmw_kms_new_framebuffer() local
1367 struct vmw_framebuffer *vfb = NULL; vmw_kms_fb_create() local
1724 vmw_kms_generic_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) vmw_kms_generic_present() argument
1739 vmw_kms_present(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct vmw_surface *surface, uint32_t sid, int32_t destX, int32_t destY, struct drm_vmw_rect *clips, uint32_t num_clips) vmw_kms_present() argument
[all...]
H A Dvmwgfx_ldu.c161 struct vmw_framebuffer *vfb) in vmw_ldu_add_active()
168 if (vfb != ld->fb) { in vmw_ldu_add_active()
172 if (vfb->pin) in vmw_ldu_add_active()
173 vfb->pin(vfb); in vmw_ldu_add_active()
174 ld->fb = vfb; in vmw_ldu_add_active()
290 struct vmw_framebuffer *vfb; in vmw_ldu_primary_plane_atomic_update() local
299 vfb = (fb) ? vmw_framebuffer_to_vfb(fb) : NULL; in vmw_ldu_primary_plane_atomic_update()
301 if (vfb) in vmw_ldu_primary_plane_atomic_update()
302 vmw_ldu_add_active(dev_priv, ldu, vfb); in vmw_ldu_primary_plane_atomic_update()
159 vmw_ldu_add_active(struct vmw_private *vmw_priv, struct vmw_legacy_display_unit *ldu, struct vmw_framebuffer *vfb) vmw_ldu_add_active() argument
[all...]
H A Dvmwgfx_scrn.c216 struct vmw_framebuffer *vfb; in vmw_sou_crtc_mode_set_nofb() local
228 vfb = (fb) ? vmw_framebuffer_to_vfb(fb) : NULL; in vmw_sou_crtc_mode_set_nofb()
238 if (vfb) { in vmw_sou_crtc_mode_set_nofb()
482 container_of(update->vfb, typeof(*vfbbo), base); in vmw_sou_bo_define_gmrfb()
484 int depth = update->vfb->base.format->depth; in vmw_sou_bo_define_gmrfb()
495 gmr->body.format.bitsPerPixel = update->vfb->base.format->cpp[0] * 8; in vmw_sou_bo_define_gmrfb()
498 gmr->body.bytesPerLine = update->vfb->base.pitches[0]; in vmw_sou_bo_define_gmrfb()
533 * @vfb: Framebuffer which is blitted to display unit.
543 struct vmw_framebuffer *vfb, in vmw_sou_plane_update_bo()
553 bo_update.base.vfb in vmw_sou_plane_update_bo()
540 vmw_sou_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_bo() argument
701 vmw_sou_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_sou_plane_update_surface() argument
741 struct vmw_framebuffer *vfb = vmw_sou_primary_plane_atomic_update() local
1351 vmw_kms_sou_readback(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_vmw_rect *vclips, uint32_t num_clips, struct drm_crtc *crtc) vmw_kms_sou_readback() argument
[all...]
H A Dvmwgfx_stdu.c228 /* Set up image using information in vfb */ in vmw_stdu_bind_st()
654 * @vfb: Pointer to the buffer-object backed framebuffer.
673 struct vmw_framebuffer *vfb, in vmw_kms_stdu_dma()
684 container_of(vfb, struct vmw_framebuffer_bo, base)->buffer; in vmw_kms_stdu_dma()
708 ddirty.pitch = vfb->base.pitches[0]; in vmw_kms_stdu_dma()
727 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma()
1040 struct vmw_framebuffer *vfb; in vmw_stdu_primary_plane_prepare_fb() local
1057 vfb = vmw_framebuffer_to_vfb(new_fb); in vmw_stdu_primary_plane_prepare_fb()
1058 new_vfbs = (vfb->bo) ? NULL : vmw_framebuffer_to_vfbs(new_fb); in vmw_stdu_primary_plane_prepare_fb()
1064 else if (vfb in vmw_stdu_primary_plane_prepare_fb()
671 vmw_kms_stdu_dma(struct vmw_private *dev_priv, struct drm_file *file_priv, struct vmw_framebuffer *vfb, struct drm_vmw_fence_rep __user *user_fence_rep, struct drm_clip_rect *clips, struct drm_vmw_rect *vclips, uint32_t num_clips, int increment, bool to_surface, bool interruptible, struct drm_crtc *crtc) vmw_kms_stdu_dma() argument
1350 vmw_stdu_plane_update_bo(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_stdu_plane_update_bo() argument
1525 vmw_stdu_plane_update_surface(struct vmw_private *dev_priv, struct drm_plane *plane, struct drm_plane_state *old_state, struct vmw_framebuffer *vfb, struct vmw_fence_obj **out_fence) vmw_stdu_plane_update_surface() argument
1590 struct vmw_framebuffer *vfb = vmw_stdu_primary_plane_atomic_update() local
[all...]
H A Dvmwgfx_ioctl.c265 struct vmw_framebuffer *vfb; in vmw_present_ioctl() local
304 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_ioctl()
318 vfb, surface, arg->sid, in vmw_present_ioctl()
349 struct vmw_framebuffer *vfb; in vmw_present_readback_ioctl() local
388 vfb = vmw_framebuffer_to_vfb(fb); in vmw_present_readback_ioctl()
389 if (!vfb->bo) { in vmw_present_readback_ioctl()
400 vfb, user_fence_rep, in vmw_present_readback_ioctl()
H A Dvmwgfx_kms.h42 * @vfb: Framebuffer which is blitted to display unit.
125 struct vmw_framebuffer *vfb; member
432 struct vmw_framebuffer *vfb,
531 struct vmw_framebuffer *vfb,
553 struct vmw_framebuffer *vfb,
H A Dvmwgfx_fb.c505 struct vmw_framebuffer *vfb; in vmw_fb_kms_framebuffer() local
546 vfb = vmw_kms_new_framebuffer(par->vmw_priv, par->vmw_bo, NULL, in vmw_fb_kms_framebuffer()
548 if (IS_ERR(vfb)) in vmw_fb_kms_framebuffer()
549 return PTR_ERR(vfb); in vmw_fb_kms_framebuffer()
551 par->set_fb = &vfb->base; in vmw_fb_kms_framebuffer()
H A Dvmwgfx_drv.h1176 struct vmw_framebuffer *vfb,
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
H A Dxilinx-csi2rxss.c878 bool en_csi_v20, vfb; in xcsi2rxss_parse_of() local
925 vfb = of_property_read_bool(node, "xlnx,vfb"); in xcsi2rxss_parse_of()
926 if (!vfb) { in xcsi2rxss_parse_of()
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
H A Dxilinx-csi2rxss.c865 bool en_csi_v20, vfb; in xcsi2rxss_parse_of() local
912 vfb = of_property_read_bool(node, "xlnx,vfb"); in xcsi2rxss_parse_of()
913 if (!vfb) { in xcsi2rxss_parse_of()

Completed in 24 milliseconds