Lines Matching refs:crtc

464 	struct drm_crtc *new_crtc = new_plane_state->crtc;  in mgag200_primary_plane_helper_atomic_check()
545 enum drm_mode_status mgag200_crtc_helper_mode_valid(struct drm_crtc *crtc, in mgag200_crtc_helper_mode_valid() argument
548 struct mga_device *mdev = to_mga_device(crtc->dev); in mgag200_crtc_helper_mode_valid()
575 int mgag200_crtc_helper_atomic_check(struct drm_crtc *crtc, struct drm_atomic_state *new_state) in mgag200_crtc_helper_atomic_check() argument
577 struct drm_device *dev = crtc->dev; in mgag200_crtc_helper_atomic_check()
580 struct drm_crtc_state *new_crtc_state = drm_atomic_get_new_crtc_state(new_state, crtc); in mgag200_crtc_helper_atomic_check()
593 ret = funcs->pixpllc_atomic_check(crtc, new_state); in mgag200_crtc_helper_atomic_check()
609 void mgag200_crtc_helper_atomic_flush(struct drm_crtc *crtc, struct drm_atomic_state *old_state) in mgag200_crtc_helper_atomic_flush() argument
611 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_helper_atomic_flush()
613 struct drm_device *dev = crtc->dev; in mgag200_crtc_helper_atomic_flush()
626 void mgag200_crtc_helper_atomic_enable(struct drm_crtc *crtc, struct drm_atomic_state *old_state) in mgag200_crtc_helper_atomic_enable() argument
628 struct drm_device *dev = crtc->dev; in mgag200_crtc_helper_atomic_enable()
631 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_helper_atomic_enable()
643 funcs->pixpllc_atomic_update(crtc, old_state); in mgag200_crtc_helper_atomic_enable()
656 void mgag200_crtc_helper_atomic_disable(struct drm_crtc *crtc, struct drm_atomic_state *old_state) in mgag200_crtc_helper_atomic_disable() argument
658 struct mga_device *mdev = to_mga_device(crtc->dev); in mgag200_crtc_helper_atomic_disable()
670 void mgag200_crtc_reset(struct drm_crtc *crtc) in mgag200_crtc_reset() argument
674 if (crtc->state) in mgag200_crtc_reset()
675 crtc->funcs->atomic_destroy_state(crtc, crtc->state); in mgag200_crtc_reset()
679 __drm_atomic_helper_crtc_reset(crtc, &mgag200_crtc_state->base); in mgag200_crtc_reset()
681 __drm_atomic_helper_crtc_reset(crtc, NULL); in mgag200_crtc_reset()
684 struct drm_crtc_state *mgag200_crtc_atomic_duplicate_state(struct drm_crtc *crtc) in mgag200_crtc_atomic_duplicate_state() argument
686 struct drm_crtc_state *crtc_state = crtc->state; in mgag200_crtc_atomic_duplicate_state()
696 __drm_atomic_helper_crtc_duplicate_state(crtc, &new_mgag200_crtc_state->base); in mgag200_crtc_atomic_duplicate_state()
705 void mgag200_crtc_atomic_destroy_state(struct drm_crtc *crtc, struct drm_crtc_state *crtc_state) in mgag200_crtc_atomic_destroy_state() argument