Home
last modified time | relevance | path

Searched refs:vmw (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
A Dvmwgfx_devcaps.c85 int vmw_devcaps_create(struct vmw_private *vmw) in vmw_devcaps_create() argument
92 if (!vmw->devcaps) in vmw_devcaps_create()
95 vmw_write(vmw, SVGA_REG_DEV_CAP, i); in vmw_devcaps_create()
96 vmw->devcaps[i] = vmw_read(vmw, SVGA_REG_DEV_CAP); in vmw_devcaps_create()
104 vfree(vmw->devcaps); in vmw_devcaps_destroy()
105 vmw->devcaps = NULL; in vmw_devcaps_destroy()
118 else if (vmw->fifo_mem != NULL) in vmw_devcaps_size()
131 memcpy(dst, vmw->devcaps, dst_size); in vmw_devcaps_copy()
133 ret = vmw_fill_compat_cap(vmw, dst, dst_size); in vmw_devcaps_copy()
136 } else if (vmw->fifo_mem) { in vmw_devcaps_copy()
[all …]
A Dvmwgfx_devcaps.h35 int vmw_devcaps_create(struct vmw_private *vmw);
36 void vmw_devcaps_destroy(struct vmw_private *vmw);
37 uint32_t vmw_devcaps_size(const struct vmw_private *vmw, bool gb_aware);
38 int vmw_devcaps_copy(struct vmw_private *vmw, bool gb_aware,
41 static inline uint32_t vmw_devcap_get(struct vmw_private *vmw, in vmw_devcap_get() argument
44 bool gb_objects = !!(vmw->capabilities & SVGA_CAP_GBOBJECTS); in vmw_devcap_get()
46 return vmw->devcaps[devcap]; in vmw_devcap_get()
A Dvmwgfx_drv.c475 vmw->last_read_seqno = vmw_fence_read(vmw); in vmw_device_fini()
478 vmw->config_done_state); in vmw_device_fini()
479 vmw_write(vmw, SVGA_REG_ENABLE, in vmw_device_fini()
480 vmw->enable_state); in vmw_device_fini()
481 vmw_write(vmw, SVGA_REG_TRACES, in vmw_device_fini()
482 vmw->traces_state); in vmw_device_fini()
484 vmw_fifo_destroy(vmw); in vmw_device_fini()
1615 struct vmw_private *vmw; in vmw_probe() local
1628 if (IS_ERR(vmw)) in vmw_probe()
1629 return PTR_ERR(vmw); in vmw_probe()
[all …]
A Dvmwgfx_cmd.c378 struct vmw_private *vmw, in vmw_fifo_res_copy() argument
382 u32 *fifo_mem = vmw->fifo_mem; in vmw_fifo_res_copy()
391 vmw_fifo_mem_write(vmw, SVGA_FIFO_RESERVED, bytes); in vmw_fifo_res_copy()
400 struct vmw_private *vmw, in vmw_fifo_slow_copy() argument
408 vmw_fifo_mem_write(vmw, (next_cmd >> 2), *buffer++); in vmw_fifo_slow_copy()
413 vmw_fifo_mem_write(vmw, SVGA_FIFO_NEXT_CMD, next_cmd); in vmw_fifo_slow_copy()
669 bool vmw_cmd_supported(struct vmw_private *vmw) in vmw_cmd_supported() argument
671 if ((vmw->capabilities & (SVGA_CAP_COMMAND_BUFFERS | in vmw_cmd_supported()
677 return vmw->fifo_mem != NULL; in vmw_cmd_supported()
A Dvmwgfx_drv.h973 extern bool vmw_cmd_supported(struct vmw_private *vmw);
1628 BUG_ON(vmw_is_svga_v3(vmw)); in vmw_fifo_mem_read()
1629 return READ_ONCE(*(vmw->fifo_mem + fifo_reg)); in vmw_fifo_mem_read()
1643 BUG_ON(vmw_is_svga_v3(vmw)); in vmw_fifo_mem_write()
1644 WRITE_ONCE(*(vmw->fifo_mem + fifo_reg), value); in vmw_fifo_mem_write()
1667 if (vmw_is_svga_v3(vmw)) in vmw_irq_status_read()
1668 status = vmw_read(vmw, SVGA_REG_IRQ_STATUS); in vmw_irq_status_read()
1670 status = inl(vmw->io_start + SVGA_IRQSTATUS_PORT); in vmw_irq_status_read()
1677 if (vmw_is_svga_v3(vmw)) in vmw_irq_status_write()
1678 vmw_write(vmw, SVGA_REG_IRQ_STATUS, status); in vmw_irq_status_write()
[all …]
/linux/Documentation/admin-guide/
A Dkernel-parameters.txt3528 no-vmw-sched-clock

Completed in 20 milliseconds