Home
last modified time | relevance | path

Searched refs:vmw_priv (Results 1 – 15 of 15) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fb.c39 struct vmw_private *vmw_priv; member
100 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_check_var() local
137 if (!(vmw_priv->capabilities & SVGA_CAP_DISPLAY_TOPOLOGY) && in vmw_fb_check_var()
149 if (!vmw_kms_validate_mode_vram(vmw_priv, in vmw_fb_check_var()
162 struct vmw_private *vmw_priv = par->vmw_priv; in vmw_fb_set_par() local
165 ret = vmw_kms_write_svga(vmw_priv, info->var.xres, info->var.yres, in vmw_fb_set_par()
171 if (vmw_priv->capabilities & SVGA_CAP_DISPLAY_TOPOLOGY) { in vmw_fb_set_par()
173 vmw_write(vmw_priv, SVGA_REG_NUM_GUEST_DISPLAYS, 1); in vmw_fb_set_par()
174 vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, 0); in vmw_fb_set_par()
175 vmw_write(vmw_priv, SVGA_REG_DISPLAY_IS_PRIMARY, true); in vmw_fb_set_par()
[all …]
Dvmwgfx_kms.c176 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_set()
260 struct vmw_private *dev_priv = vmw_priv(crtc->dev); in vmw_du_crtc_cursor_move()
596 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_surface_dirty()
947 struct vmw_private *dev_priv = vmw_priv(framebuffer->dev); in vmw_framebuffer_dmabuf_dirty()
993 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_dmabuf_pin()
1014 struct vmw_private *dev_priv = vmw_priv(vfb->base.dev); in vmw_framebuffer_dmabuf_unpin()
1121 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_kms_fb_create()
1526 int vmw_kms_write_svga(struct vmw_private *vmw_priv, in vmw_kms_write_svga() argument
1530 if (vmw_priv->capabilities & SVGA_CAP_PITCHLOCK) in vmw_kms_write_svga()
1531 vmw_write(vmw_priv, SVGA_REG_PITCHLOCK, pitch); in vmw_kms_write_svga()
[all …]
Dvmwgfx_ioctl.c35 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_getparam_ioctl()
86 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_get_cap_3d_ioctl()
127 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_ioctl()
210 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_present_readback_ioctl()
299 vmw_priv(file_priv->minor->dev); in vmw_fops_poll()
322 vmw_priv(file_priv->minor->dev); in vmw_fops_read()
Dvmwgfx_drv.h369 static inline struct vmw_private *vmw_priv(struct drm_device *dev) in vmw_priv() function
495 extern int vmw_dmabuf_to_placement(struct vmw_private *vmw_priv,
505 extern int vmw_dmabuf_to_start_of_vram(struct vmw_private *vmw_priv,
508 extern int vmw_dmabuf_unpin(struct vmw_private *vmw_priv,
648 int vmw_fb_init(struct vmw_private *vmw_priv);
650 int vmw_fb_off(struct vmw_private *vmw_priv);
651 int vmw_fb_on(struct vmw_private *vmw_priv);
659 int vmw_kms_save_vga(struct vmw_private *vmw_priv);
660 int vmw_kms_restore_vga(struct vmw_private *vmw_priv);
668 int vmw_kms_write_svga(struct vmw_private *vmw_priv,
Dvmwgfx_ldu.c155 static int vmw_ldu_del_active(struct vmw_private *vmw_priv, in vmw_ldu_del_active() argument
158 struct vmw_legacy_display *ld = vmw_priv->ldu_priv; in vmw_ldu_del_active()
174 static int vmw_ldu_add_active(struct vmw_private *vmw_priv, in vmw_ldu_add_active() argument
178 struct vmw_legacy_display *ld = vmw_priv->ldu_priv; in vmw_ldu_add_active()
230 dev_priv = vmw_priv(crtc->dev); in vmw_ldu_crtc_set_config()
Dvmwgfx_drv.c686 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_driver_unload()
732 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_preclose()
751 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_driver_open()
802 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_firstopen()
810 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_lastclose()
875 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_master_set()
933 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_master_drop()
1023 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_pci_suspend()
1065 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_pm_prepare()
1093 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_pm_complete()
Dvmwgfx_scrn.c73 static void vmw_sou_del_active(struct vmw_private *vmw_priv, in vmw_sou_del_active() argument
76 struct vmw_screen_object_display *ld = vmw_priv->sou_priv; in vmw_sou_del_active()
85 static void vmw_sou_add_active(struct vmw_private *vmw_priv, in vmw_sou_add_active() argument
89 struct vmw_screen_object_display *ld = vmw_priv->sou_priv; in vmw_sou_add_active()
273 dev_priv = vmw_priv(crtc->dev); in vmw_sou_crtc_set_config()
Dvmwgfx_irq.c36 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_handler()
294 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_preinstall()
312 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_irq_uninstall()
Dvmwgfx_ttm_glue.c42 dev_priv = vmw_priv(file_priv->minor->dev); in vmw_mmap()
Dvmwgfx_resource.c483 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_dmabuf_alloc_ioctl()
643 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_stream_unref_ioctl()
676 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_stream_claim_ioctl()
782 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_dumb_create()
Dvmwgfx_overlay.c60 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay()
465 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_overlay_ioctl()
Dvmwgfx_context.c206 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_context_define_ioctl()
Dvmwgfx_fence.c750 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_obj_signaled_ioctl()
1065 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_fence_event_ioctl()
Dvmwgfx_surface.c654 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_surface_define_ioctl()
Dvmwgfx_execbuf.c1736 struct vmw_private *dev_priv = vmw_priv(dev); in vmw_execbuf_ioctl()