Lines Matching refs:vkmsdev
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()
107 if (vkmsdev->config->writeback) { in vkms_output_init()
108 writeback = vkms_enable_writeback_connector(vkmsdev); in vkms_output_init()