Lines Matching refs:vgdev
47 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_features() local
49 virtio_gpu_add_bool(m, "virgl", vgdev->has_virgl_3d); in virtio_gpu_features()
50 virtio_gpu_add_bool(m, "edid", vgdev->has_edid); in virtio_gpu_features()
51 virtio_gpu_add_bool(m, "indirect", vgdev->has_indirect); in virtio_gpu_features()
54 vgdev->has_resource_assign_uuid); in virtio_gpu_features()
56 virtio_gpu_add_bool(m, "blob resources", vgdev->has_resource_blob); in virtio_gpu_features()
57 virtio_gpu_add_bool(m, "context init", vgdev->has_context_init); in virtio_gpu_features()
58 virtio_gpu_add_int(m, "cap sets", vgdev->num_capsets); in virtio_gpu_features()
59 virtio_gpu_add_int(m, "scanouts", vgdev->num_scanouts); in virtio_gpu_features()
60 if (vgdev->host_visible_region.len) { in virtio_gpu_features()
62 (unsigned long)vgdev->host_visible_region.addr, in virtio_gpu_features()
63 (unsigned long)vgdev->host_visible_region.len); in virtio_gpu_features()
72 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_irq_info() local
75 (u64)atomic64_read(&vgdev->fence_drv.last_fence_id), in virtio_gpu_debugfs_irq_info()
76 vgdev->fence_drv.current_fence_id); in virtio_gpu_debugfs_irq_info()
84 struct virtio_gpu_device *vgdev = node->minor->dev->dev_private; in virtio_gpu_debugfs_host_visible_mm() local
87 if (!vgdev->has_host_visible) { in virtio_gpu_debugfs_host_visible_mm()
93 drm_mm_print(&vgdev->host_visible_mm, &p); in virtio_gpu_debugfs_host_visible_mm()