Lines Matching refs:crtc
255 crtc_state = drm_atomic_get_new_crtc_state(state, conn_state->crtc); in vc4_txp_connector_atomic_check()
299 mode = &conn_state->crtc->state->adjusted_mode; in vc4_txp_connector_atomic_commit()
392 static int vc4_txp_enable_vblank(struct drm_crtc *crtc) in vc4_txp_enable_vblank() argument
397 static void vc4_txp_disable_vblank(struct drm_crtc *crtc) {} in vc4_txp_disable_vblank() argument
410 static int vc4_txp_atomic_check(struct drm_crtc *crtc, in vc4_txp_atomic_check() argument
414 crtc); in vc4_txp_atomic_check()
417 ret = vc4_hvs_atomic_check(crtc, state); in vc4_txp_atomic_check()
426 static void vc4_txp_atomic_enable(struct drm_crtc *crtc, in vc4_txp_atomic_enable() argument
429 drm_crtc_vblank_on(crtc); in vc4_txp_atomic_enable()
430 vc4_hvs_atomic_enable(crtc, state); in vc4_txp_atomic_enable()
433 static void vc4_txp_atomic_disable(struct drm_crtc *crtc, in vc4_txp_atomic_disable() argument
436 struct drm_device *dev = crtc->dev; in vc4_txp_atomic_disable()
439 drm_crtc_vblank_off(crtc); in vc4_txp_atomic_disable()
441 vc4_hvs_atomic_disable(crtc, state); in vc4_txp_atomic_disable()
447 if (crtc->state->event) { in vc4_txp_atomic_disable()
451 drm_crtc_send_vblank_event(crtc, crtc->state->event); in vc4_txp_atomic_disable()
452 crtc->state->event = NULL; in vc4_txp_atomic_disable()