Lines Matching refs:crtc

74 				     struct drm_crtc *crtc)  in __drm_atomic_helper_crtc_state_reset()  argument
76 crtc_state->crtc = crtc; in __drm_atomic_helper_crtc_state_reset()
93 __drm_atomic_helper_crtc_reset(struct drm_crtc *crtc, in __drm_atomic_helper_crtc_reset() argument
97 __drm_atomic_helper_crtc_state_reset(crtc_state, crtc); in __drm_atomic_helper_crtc_reset()
99 if (drm_dev_has_vblank(crtc->dev)) in __drm_atomic_helper_crtc_reset()
100 drm_crtc_vblank_reset(crtc); in __drm_atomic_helper_crtc_reset()
102 crtc->state = crtc_state; in __drm_atomic_helper_crtc_reset()
113 void drm_atomic_helper_crtc_reset(struct drm_crtc *crtc) in drm_atomic_helper_crtc_reset() argument
116 kzalloc(sizeof(*crtc->state), GFP_KERNEL); in drm_atomic_helper_crtc_reset()
118 if (crtc->state) in drm_atomic_helper_crtc_reset()
119 crtc->funcs->atomic_destroy_state(crtc, crtc->state); in drm_atomic_helper_crtc_reset()
121 __drm_atomic_helper_crtc_reset(crtc, crtc_state); in drm_atomic_helper_crtc_reset()
133 void __drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc, in __drm_atomic_helper_crtc_duplicate_state() argument
136 memcpy(state, crtc->state, sizeof(*state)); in __drm_atomic_helper_crtc_duplicate_state()
170 drm_atomic_helper_crtc_duplicate_state(struct drm_crtc *crtc) in drm_atomic_helper_crtc_duplicate_state() argument
174 if (WARN_ON(!crtc->state)) in drm_atomic_helper_crtc_duplicate_state()
179 __drm_atomic_helper_crtc_duplicate_state(crtc, state); in drm_atomic_helper_crtc_duplicate_state()
229 void drm_atomic_helper_crtc_destroy_state(struct drm_crtc *crtc, in drm_atomic_helper_crtc_destroy_state() argument
578 struct drm_crtc *crtc; in drm_atomic_helper_connector_tv_check() local
580 crtc = new_conn_state->crtc; in drm_atomic_helper_connector_tv_check()
581 if (!crtc) in drm_atomic_helper_connector_tv_check()
584 crtc_state = drm_atomic_get_new_crtc_state(state, crtc); in drm_atomic_helper_connector_tv_check()
621 if (state->crtc) in __drm_atomic_helper_connector_duplicate_state()
667 if (state->crtc) in __drm_atomic_helper_connector_destroy_state()