Lines Matching refs:drm_dev
44 struct drm_device *drm_dev = drm_crtc->dev; in logicvc_crtc_atomic_begin() local
52 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_begin()
58 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_begin()
73 struct drm_device *drm_dev = drm_crtc->dev; in logicvc_crtc_atomic_enable() local
143 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_enable()
148 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_atomic_enable()
156 struct drm_device *drm_dev = drm_crtc->dev; in logicvc_crtc_atomic_disable() local
176 spin_lock_irq(&drm_dev->event_lock); in logicvc_crtc_atomic_disable()
180 spin_unlock_irq(&drm_dev->event_lock); in logicvc_crtc_atomic_disable()
228 struct drm_device *drm_dev = &logicvc->drm_dev; in logicvc_crtc_vblank_handler() local
238 spin_lock_irqsave(&drm_dev->event_lock, flags); in logicvc_crtc_vblank_handler()
242 spin_unlock_irqrestore(&drm_dev->event_lock, flags); in logicvc_crtc_vblank_handler()
248 struct drm_device *drm_dev = &logicvc->drm_dev; in logicvc_crtc_init() local
249 struct device *dev = drm_dev->dev; in logicvc_crtc_init()
261 drm_err(drm_dev, "Failed to get primary layer\n"); in logicvc_crtc_init()
265 ret = drm_crtc_init_with_planes(drm_dev, &crtc->drm_crtc, in logicvc_crtc_init()
269 drm_err(drm_dev, "Failed to initialize CRTC\n"); in logicvc_crtc_init()