Lines Matching full:framebuffer
373 * Generic framebuffer code
387 * Surface framebuffer code
401 void vmw_framebuffer_surface_destroy(struct drm_framebuffer *framebuffer) in vmw_framebuffer_surface_destroy() argument
404 vmw_framebuffer_to_vfbs(framebuffer); in vmw_framebuffer_surface_destroy()
413 drm_framebuffer_cleanup(framebuffer); in vmw_framebuffer_surface_destroy()
422 struct vmw_framebuffer *framebuffer, in do_surface_dirty_sou() argument
445 if (crtc->fb != &framebuffer->base) in do_surface_dirty_sou()
535 cmd->body.srcImage.sid = cpu_to_le32(framebuffer->user_handle); in do_surface_dirty_sou()
564 int vmw_framebuffer_surface_dirty(struct drm_framebuffer *framebuffer, in vmw_framebuffer_surface_dirty() argument
570 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty()
573 vmw_framebuffer_to_vfbs(framebuffer); in vmw_framebuffer_surface_dirty()
592 norect.x2 = framebuffer->width; in vmw_framebuffer_surface_dirty()
593 norect.y2 = framebuffer->height; in vmw_framebuffer_surface_dirty()
718 * Dmabuf framebuffer code
729 void vmw_framebuffer_dmabuf_destroy(struct drm_framebuffer *framebuffer) in vmw_framebuffer_dmabuf_destroy() argument
732 vmw_framebuffer_to_vfbd(framebuffer); in vmw_framebuffer_dmabuf_destroy()
734 drm_framebuffer_cleanup(framebuffer); in vmw_framebuffer_dmabuf_destroy()
742 struct vmw_framebuffer *framebuffer, in do_dmabuf_dirty_ldu() argument
777 struct vmw_framebuffer *framebuffer) in do_dmabuf_define_gmrfb() argument
779 int depth = framebuffer->base.depth; in do_dmabuf_define_gmrfb()
804 cmd->body.format.bitsPerPixel = framebuffer->base.bits_per_pixel; in do_dmabuf_define_gmrfb()
807 cmd->body.bytesPerLine = framebuffer->base.pitches[0]; in do_dmabuf_define_gmrfb()
808 cmd->body.ptr.gmrId = framebuffer->user_handle; in do_dmabuf_define_gmrfb()
821 struct vmw_framebuffer *framebuffer, in do_dmabuf_dirty_sou() argument
837 ret = do_dmabuf_define_gmrfb(file_priv, dev_priv, framebuffer); in do_dmabuf_dirty_sou()
850 if (crtc->fb != &framebuffer->base) in do_dmabuf_dirty_sou()
910 int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer, in vmw_framebuffer_dmabuf_dirty() argument
916 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_dmabuf_dirty()
919 vmw_framebuffer_to_vfbd(framebuffer); in vmw_framebuffer_dmabuf_dirty()
931 norect.x2 = framebuffer->width; in vmw_framebuffer_dmabuf_dirty()
932 norect.y2 = framebuffer->height; in vmw_framebuffer_dmabuf_dirty()
1015 /* Limited framebuffer color depth support for screen objects */ in vmw_kms_new_framebuffer_dmabuf()
1109 * requested framebuffer. in vmw_kms_fb_create()
1123 * it's registered with a kms framebuffer. This is important, in vmw_kms_fb_create()
1145 /* Create the new framebuffer depending one what we got back */ in vmw_kms_fb_create()