Searched refs:vkmsdev (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/gpu/drm/vkms/ |
D | vkms_output.c | 36 static int vkms_add_overlay_plane(struct vkms_device *vkmsdev, int index, in vkms_add_overlay_plane() argument 41 overlay = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_OVERLAY, index); in vkms_add_overlay_plane() 51 int vkms_output_init(struct vkms_device *vkmsdev, int index) in vkms_output_init() argument 53 struct vkms_output *output = &vkmsdev->output; in vkms_output_init() 54 struct drm_device *dev = &vkmsdev->drm; in vkms_output_init() 63 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init() 67 if (vkmsdev->config->overlay) { in vkms_output_init() 69 ret = vkms_add_overlay_plane(vkmsdev, index, crtc); in vkms_output_init() 75 if (vkmsdev->config->cursor) { in vkms_output_init() 76 cursor = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_CURSOR, index); in vkms_output_init() [all …]
|
D | vkms_writeback.c | 104 struct vkms_device *vkmsdev; in vkms_wb_cleanup_job() local 113 vkmsdev = drm_device_to_vkms_device(job->fb->dev); in vkms_wb_cleanup_job() 114 vkms_set_composer(&vkmsdev->output, false); in vkms_wb_cleanup_job() 123 struct vkms_device *vkmsdev = drm_device_to_vkms_device(conn->dev); in vkms_wb_atomic_commit() local 124 struct vkms_output *output = &vkmsdev->output; in vkms_wb_atomic_commit() 138 vkms_set_composer(&vkmsdev->output, true); in vkms_wb_atomic_commit() 163 int vkms_enable_writeback_connector(struct vkms_device *vkmsdev) in vkms_enable_writeback_connector() argument 165 struct drm_writeback_connector *wb = &vkmsdev->output.wb_connector; in vkms_enable_writeback_connector() 169 return drm_writeback_connector_init(&vkmsdev->drm, wb, in vkms_enable_writeback_connector()
|
D | vkms_drv.c | 96 struct vkms_device *vkmsdev = drm_device_to_vkms_device(dev); in vkms_config_show() local 98 seq_printf(m, "writeback=%d\n", vkmsdev->config->writeback); in vkms_config_show() 99 seq_printf(m, "cursor=%d\n", vkmsdev->config->cursor); in vkms_config_show() 100 seq_printf(m, "overlay=%d\n", vkmsdev->config->overlay); in vkms_config_show() 140 static int vkms_modeset_init(struct vkms_device *vkmsdev) in vkms_modeset_init() argument 142 struct drm_device *dev = &vkmsdev->drm; in vkms_modeset_init() 158 return vkms_output_init(vkmsdev, 0); in vkms_modeset_init()
|
D | vkms_drv.h | 143 int vkms_output_init(struct vkms_device *vkmsdev, int index); 145 struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev, 160 int vkms_enable_writeback_connector(struct vkms_device *vkmsdev);
|
D | vkms_plane.c | 169 struct vkms_plane *vkms_plane_init(struct vkms_device *vkmsdev, in vkms_plane_init() argument 172 struct drm_device *dev = &vkmsdev->drm; in vkms_plane_init()
|
D | vkms_crtc.c | 92 struct vkms_device *vkmsdev = drm_device_to_vkms_device(dev); in vkms_get_vblank_timestamp() local 93 struct vkms_output *output = &vkmsdev->output; in vkms_get_vblank_timestamp()
|