Lines Matching refs:vkms_device
58 struct vkms_device *vkms = drm_device_to_vkms_device(dev); in vkms_release()
96 struct vkms_device *vkmsdev = drm_device_to_vkms_device(dev); in vkms_config_show()
140 static int vkms_modeset_init(struct vkms_device *vkmsdev) in vkms_modeset_init()
165 struct vkms_device *vkms_device; in vkms_create() local
176 vkms_device = devm_drm_dev_alloc(&pdev->dev, &vkms_driver, in vkms_create()
177 struct vkms_device, drm); in vkms_create()
178 if (IS_ERR(vkms_device)) { in vkms_create()
179 ret = PTR_ERR(vkms_device); in vkms_create()
182 vkms_device->platform = pdev; in vkms_create()
183 vkms_device->config = config; in vkms_create()
184 config->dev = vkms_device; in vkms_create()
186 ret = dma_coerce_mask_and_coherent(vkms_device->drm.dev, in vkms_create()
194 ret = drm_vblank_init(&vkms_device->drm, 1); in vkms_create()
200 ret = vkms_modeset_init(vkms_device); in vkms_create()
204 ret = drm_dev_register(&vkms_device->drm, 0); in vkms_create()
208 drm_fbdev_generic_setup(&vkms_device->drm, 0); in vkms_create()