Lines Matching refs:framebuffer

426 static void vmw_framebuffer_surface_destroy(struct drm_framebuffer *framebuffer)  in vmw_framebuffer_surface_destroy()  argument
429 vmw_framebuffer_to_vfbs(framebuffer); in vmw_framebuffer_surface_destroy()
438 drm_framebuffer_cleanup(framebuffer); in vmw_framebuffer_surface_destroy()
447 struct vmw_framebuffer *framebuffer, in do_surface_dirty_sou() argument
471 if (crtc->primary->fb != &framebuffer->base) in do_surface_dirty_sou()
560 cmd->body.srcImage.sid = cpu_to_le32(framebuffer->user_handle); in do_surface_dirty_sou()
592 static int vmw_framebuffer_surface_dirty(struct drm_framebuffer *framebuffer, in vmw_framebuffer_surface_dirty() argument
598 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty()
600 vmw_framebuffer_to_vfbs(framebuffer); in vmw_framebuffer_surface_dirty()
623 norect.x2 = framebuffer->width; in vmw_framebuffer_surface_dirty()
624 norect.y2 = framebuffer->height; in vmw_framebuffer_surface_dirty()
763 static void vmw_framebuffer_dmabuf_destroy(struct drm_framebuffer *framebuffer) in vmw_framebuffer_dmabuf_destroy() argument
766 vmw_framebuffer_to_vfbd(framebuffer); in vmw_framebuffer_dmabuf_destroy()
768 drm_framebuffer_cleanup(framebuffer); in vmw_framebuffer_dmabuf_destroy()
776 struct vmw_framebuffer *framebuffer, in do_dmabuf_dirty_ldu() argument
811 struct vmw_framebuffer *framebuffer) in do_dmabuf_define_gmrfb() argument
813 int depth = framebuffer->base.depth; in do_dmabuf_define_gmrfb()
838 cmd->body.format.bitsPerPixel = framebuffer->base.bits_per_pixel; in do_dmabuf_define_gmrfb()
841 cmd->body.bytesPerLine = framebuffer->base.pitches[0]; in do_dmabuf_define_gmrfb()
842 cmd->body.ptr.gmrId = framebuffer->user_handle; in do_dmabuf_define_gmrfb()
855 struct vmw_framebuffer *framebuffer, in do_dmabuf_dirty_sou() argument
872 ret = do_dmabuf_define_gmrfb(file_priv, dev_priv, framebuffer); in do_dmabuf_dirty_sou()
885 if (crtc->primary->fb != &framebuffer->base) in do_dmabuf_dirty_sou()
949 static int vmw_framebuffer_dmabuf_dirty(struct drm_framebuffer *framebuffer, in vmw_framebuffer_dmabuf_dirty() argument
955 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_dmabuf_dirty()
957 vmw_framebuffer_to_vfbd(framebuffer); in vmw_framebuffer_dmabuf_dirty()
973 norect.x2 = framebuffer->width; in vmw_framebuffer_dmabuf_dirty()
974 norect.y2 = framebuffer->height; in vmw_framebuffer_dmabuf_dirty()