Lines Matching refs:asyh
196 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_release() argument
200 wndw->func->release(wndw, asyw, asyh); in nv50_wndw_atomic_check_release()
272 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_acquire() argument
311 if (!asyh->state.async_flip) in nv50_wndw_atomic_check_acquire()
364 return wndw->func->acquire(wndw, asyw, asyh); in nv50_wndw_atomic_check_acquire()
371 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_lut() argument
373 struct drm_property_blob *ilut = asyh->state.degamma_lut; in nv50_wndw_atomic_check_lut()
387 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
393 asyh->wndw.olut |= BIT(wndw->id); in nv50_wndw_atomic_check_lut()
395 asyh->wndw.olut &= ~BIT(wndw->id); in nv50_wndw_atomic_check_lut()
421 if (wndw->func->csc && asyh->state.ctm) { in nv50_wndw_atomic_check_lut()
422 const struct drm_color_ctm *ctm = asyh->state.ctm->data; in nv50_wndw_atomic_check_lut()
432 asyh->state.async_flip = false; in nv50_wndw_atomic_check_lut()
446 struct nv50_head_atom *harm = NULL, *asyh = NULL; in nv50_wndw_atomic_check() local
456 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_atomic_check()
457 if (IS_ERR(asyh)) in nv50_wndw_atomic_check()
458 return PTR_ERR(asyh); in nv50_wndw_atomic_check()
459 modeset = drm_atomic_crtc_needs_modeset(&asyh->state); in nv50_wndw_atomic_check()
460 asyw->visible = asyh->state.active; in nv50_wndw_atomic_check()
475 asyh->state.color_mgmt_changed || in nv50_wndw_atomic_check()
478 ret = nv50_wndw_atomic_check_lut(wndw, armw, asyw, asyh); in nv50_wndw_atomic_check()
486 armw, asyw, asyh); in nv50_wndw_atomic_check()
490 asyh->wndw.mask |= BIT(wndw->id); in nv50_wndw_atomic_check()
539 struct nv50_head_atom *asyh; in nv50_wndw_prepare_fb() local
570 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_prepare_fb()
571 if (IS_ERR(asyh)) in nv50_wndw_prepare_fb()
572 return PTR_ERR(asyh); in nv50_wndw_prepare_fb()
574 wndw->func->prepare(wndw, asyh, asyw); in nv50_wndw_prepare_fb()