Lines Matching refs:crtc
318 static void qxl_crtc_update_monitors_config(struct drm_crtc *crtc, in qxl_crtc_update_monitors_config() argument
321 struct drm_device *dev = crtc->dev; in qxl_crtc_update_monitors_config()
323 struct qxl_crtc *qcrtc = to_qxl_crtc(crtc); in qxl_crtc_update_monitors_config()
339 if (crtc->state->active) { in qxl_crtc_update_monitors_config()
340 struct drm_display_mode *mode = &crtc->mode; in qxl_crtc_update_monitors_config()
344 head.x = crtc->x; in qxl_crtc_update_monitors_config()
345 head.y = crtc->y; in qxl_crtc_update_monitors_config()
371 crtc->state->active ? "on" : "off", reason); in qxl_crtc_update_monitors_config()
382 static void qxl_crtc_atomic_flush(struct drm_crtc *crtc, in qxl_crtc_atomic_flush() argument
385 qxl_crtc_update_monitors_config(crtc, "flush"); in qxl_crtc_atomic_flush()
388 static void qxl_crtc_destroy(struct drm_crtc *crtc) in qxl_crtc_destroy() argument
390 struct qxl_crtc *qxl_crtc = to_qxl_crtc(crtc); in qxl_crtc_destroy()
393 drm_crtc_cleanup(crtc); in qxl_crtc_destroy()
454 static void qxl_crtc_atomic_enable(struct drm_crtc *crtc, in qxl_crtc_atomic_enable() argument
457 qxl_crtc_update_monitors_config(crtc, "enable"); in qxl_crtc_atomic_enable()
460 static void qxl_crtc_atomic_disable(struct drm_crtc *crtc, in qxl_crtc_atomic_disable() argument
463 qxl_crtc_update_monitors_config(crtc, "disable"); in qxl_crtc_atomic_disable()
480 if (!new_plane_state->crtc || !new_plane_state->fb) in qxl_primary_atomic_check()
492 struct qxl_crtc *qcrtc = to_qxl_crtc(plane_state->crtc); in qxl_primary_apply_cursor()
538 struct qxl_crtc *qcrtc = to_qxl_crtc(plane_state->crtc); in qxl_primary_move_cursor()
668 qdev->dumb_heads[new_state->crtc->index].x; in qxl_primary_atomic_update()
738 qcrtc = to_qxl_crtc(old_state->crtc); in qxl_cursor_atomic_disable()
848 qxl_prepare_shadow(qdev, user_bo, new_state->crtc->index); in qxl_plane_prepare_fb()
853 struct qxl_crtc *qcrtc = to_qxl_crtc(new_state->crtc); in qxl_plane_prepare_fb()