Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/vkms/
Dvkms_writeback.c90 struct vkms_device *vkmsdev; in vkms_wb_cleanup_job() local
98 vkmsdev = drm_device_to_vkms_device(gem_obj->dev); in vkms_wb_cleanup_job()
99 vkms_set_composer(&vkmsdev->output, false); in vkms_wb_cleanup_job()
105 struct vkms_device *vkmsdev = drm_device_to_vkms_device(conn->dev); in vkms_wb_atomic_commit() local
106 struct vkms_output *output = &vkmsdev->output; in vkms_wb_atomic_commit()
114 vkms_set_composer(&vkmsdev->output, true); in vkms_wb_atomic_commit()
130 int vkms_enable_writeback_connector(struct vkms_device *vkmsdev) in vkms_enable_writeback_connector() argument
132 struct drm_writeback_connector *wb = &vkmsdev->output.wb_connector; in vkms_enable_writeback_connector()
134 vkmsdev->output.wb_connector.encoder.possible_crtcs = 1; in vkms_enable_writeback_connector()
137 return drm_writeback_connector_init(&vkmsdev->drm, wb, in vkms_enable_writeback_connector()
Dvkms_output.c35 int vkms_output_init(struct vkms_device *vkmsdev, int index) in vkms_output_init() argument
37 struct vkms_output *output = &vkmsdev->output; in vkms_output_init()
38 struct drm_device *dev = &vkmsdev->drm; in vkms_output_init()
45 primary = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_PRIMARY, index); in vkms_output_init()
50 cursor = vkms_plane_init(vkmsdev, DRM_PLANE_TYPE_CURSOR, index); in vkms_output_init()
83 ret = vkms_enable_writeback_connector(vkmsdev); in vkms_output_init()
Dvkms_drv.h118 int vkms_output_init(struct vkms_device *vkmsdev, int index);
120 struct drm_plane *vkms_plane_init(struct vkms_device *vkmsdev,
153 int vkms_enable_writeback_connector(struct vkms_device *vkmsdev);
Dvkms_drv.c123 static int vkms_modeset_init(struct vkms_device *vkmsdev) in vkms_modeset_init() argument
125 struct drm_device *dev = &vkmsdev->drm; in vkms_modeset_init()
138 return vkms_output_init(vkmsdev, 0); in vkms_modeset_init()
Dvkms_plane.c180 struct drm_plane *vkms_plane_init(struct vkms_device *vkmsdev, in vkms_plane_init() argument
183 struct drm_device *dev = &vkmsdev->drm; in vkms_plane_init()
Dvkms_crtc.c86 struct vkms_device *vkmsdev = drm_device_to_vkms_device(dev); in vkms_get_vblank_timestamp() local
87 struct vkms_output *output = &vkmsdev->output; in vkms_get_vblank_timestamp()