Lines Matching refs:crtc

455 	struct drm_crtc *crtc;  in nv50_outp_get_new_crtc()  local
460 for_each_new_crtc_in_state(state, crtc, crtc_state, i) { in nv50_outp_get_new_crtc()
462 return nouveau_crtc(crtc); in nv50_outp_get_new_crtc()
479 nv_encoder->crtc = NULL; in nv50_dac_atomic_disable()
510 nv_encoder->crtc = &nv_crtc->base; in nv50_dac_atomic_enable()
621 nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_audio_component_get_eld()
1111 struct drm_crtc *crtc = connector_state->crtc; in nv50_mstc_atomic_best_encoder() local
1113 if (!(mstc->mstm->outp->dcb->heads & drm_crtc_mask(crtc))) in nv50_mstc_atomic_best_encoder()
1116 return &nv50_head(crtc)->msto->encoder; in nv50_mstc_atomic_best_encoder()
1235 struct drm_crtc *crtc; in nv50_mstc_new() local
1257 drm_for_each_crtc(crtc, dev) { in nv50_mstc_new()
1258 if (!(mstm->outp->dcb->heads & drm_crtc_mask(crtc))) in nv50_mstc_new()
1262 &nv50_head(crtc)->msto->encoder); in nv50_mstc_new()
1537 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_sor_atomic_disable()
1569 nv_encoder->crtc = NULL; in nv50_sor_atomic_disable()
1594 nv_encoder->crtc = &nv_crtc->base; in nv50_sor_atomic_enable()
1817 nv_encoder->crtc = NULL; in nv50_pior_atomic_disable()
1861 nv_encoder->crtc = &nv_crtc->base; in nv50_pior_atomic_enable()
1999 struct drm_crtc *crtc; in nv50_disp_atomic_commit_tail() local
2023 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2025 struct nv50_head *head = nv50_head(crtc); in nv50_disp_atomic_commit_tail()
2027 NV_ATOMIC(drm, "%s: clr %04x (set %04x)\n", crtc->name, in nv50_disp_atomic_commit_tail()
2032 drm_crtc_vblank_off(crtc); in nv50_disp_atomic_commit_tail()
2114 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2116 struct nv50_head *head = nv50_head(crtc); in nv50_disp_atomic_commit_tail()
2118 NV_ATOMIC(drm, "%s: set %04x (clr %04x)\n", crtc->name, in nv50_disp_atomic_commit_tail()
2128 drm_crtc_vblank_on(crtc); in nv50_disp_atomic_commit_tail()
2132 drm_crtc_vblank_get(crtc); in nv50_disp_atomic_commit_tail()
2165 for_each_oldnew_crtc_in_state(state, crtc, old_crtc_state, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2167 struct nv50_head *head = nv50_head(crtc); in nv50_disp_atomic_commit_tail()
2169 NV_ATOMIC(drm, "%s: set %04x (clr %04x)\n", crtc->name, in nv50_disp_atomic_commit_tail()
2217 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_disp_atomic_commit_tail()
2222 drm_crtc_accurate_vblank_count(crtc); in nv50_disp_atomic_commit_tail()
2223 spin_lock_irqsave(&crtc->dev->event_lock, flags); in nv50_disp_atomic_commit_tail()
2224 drm_crtc_send_vblank_event(crtc, new_crtc_state->event); in nv50_disp_atomic_commit_tail()
2225 spin_unlock_irqrestore(&crtc->dev->event_lock, flags); in nv50_disp_atomic_commit_tail()
2229 drm_crtc_vblank_put(crtc); in nv50_disp_atomic_commit_tail()
2343 struct drm_crtc *crtc; in nv50_disp_outp_atomic_check_clr() local
2346 if (!(crtc = old_connector_state->crtc)) in nv50_disp_outp_atomic_check_clr()
2349 old_crtc_state = drm_atomic_get_old_crtc_state(&atom->state, crtc); in nv50_disp_outp_atomic_check_clr()
2350 new_crtc_state = drm_atomic_get_new_crtc_state(&atom->state, crtc); in nv50_disp_outp_atomic_check_clr()
2373 struct drm_crtc *crtc; in nv50_disp_outp_atomic_check_set() local
2376 if (!(crtc = connector_state->crtc)) in nv50_disp_outp_atomic_check_set()
2379 new_crtc_state = drm_atomic_get_new_crtc_state(&atom->state, crtc); in nv50_disp_outp_atomic_check_set()
2400 struct drm_crtc *crtc; in nv50_disp_atomic_check() local
2406 drm_for_each_crtc(crtc, dev) { in nv50_disp_atomic_check()
2408 crtc); in nv50_disp_atomic_check()
2412 head = nv50_head(crtc); in nv50_disp_atomic_check()
2419 for_each_new_crtc_in_state(state, crtc, new_crtc_state, i) { in nv50_disp_atomic_check()
2421 ret = drm_atomic_add_affected_planes(state, crtc); in nv50_disp_atomic_check()