Lines Matching refs:asyh
194 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_release() argument
198 wndw->func->release(wndw, asyw, asyh); in nv50_wndw_atomic_check_release()
270 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_acquire() argument
309 if (!asyh->state.async_flip) in nv50_wndw_atomic_check_acquire()
362 return wndw->func->acquire(wndw, asyw, asyh); in nv50_wndw_atomic_check_acquire()
369 struct nv50_head_atom *asyh) in nv50_wndw_atomic_check_lut() argument
371 struct drm_property_blob *ilut = asyh->state.degamma_lut; in nv50_wndw_atomic_check_lut()
385 if (!(ilut = asyh->state.gamma_lut)) { in nv50_wndw_atomic_check_lut()
391 asyh->wndw.olut |= BIT(wndw->id); in nv50_wndw_atomic_check_lut()
393 asyh->wndw.olut &= ~BIT(wndw->id); in nv50_wndw_atomic_check_lut()
422 if (wndw->func->csc && asyh->state.ctm) { in nv50_wndw_atomic_check_lut()
423 const struct drm_color_ctm *ctm = asyh->state.ctm->data; in nv50_wndw_atomic_check_lut()
433 asyh->state.async_flip = false; in nv50_wndw_atomic_check_lut()
447 struct nv50_head_atom *harm = NULL, *asyh = NULL; in nv50_wndw_atomic_check() local
457 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_atomic_check()
458 if (IS_ERR(asyh)) in nv50_wndw_atomic_check()
459 return PTR_ERR(asyh); in nv50_wndw_atomic_check()
460 modeset = drm_atomic_crtc_needs_modeset(&asyh->state); in nv50_wndw_atomic_check()
461 asyw->visible = asyh->state.active; in nv50_wndw_atomic_check()
476 asyh->state.color_mgmt_changed || in nv50_wndw_atomic_check()
479 ret = nv50_wndw_atomic_check_lut(wndw, armw, asyw, asyh); in nv50_wndw_atomic_check()
487 armw, asyw, asyh); in nv50_wndw_atomic_check()
491 asyh->wndw.mask |= BIT(wndw->id); in nv50_wndw_atomic_check()
540 struct nv50_head_atom *asyh; in nv50_wndw_prepare_fb() local
568 asyh = nv50_head_atom_get(asyw->state.state, asyw->state.crtc); in nv50_wndw_prepare_fb()
569 if (IS_ERR(asyh)) in nv50_wndw_prepare_fb()
570 return PTR_ERR(asyh); in nv50_wndw_prepare_fb()
572 wndw->func->prepare(wndw, asyh, asyw); in nv50_wndw_prepare_fb()