Lines Matching refs:asyh
246 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_stop_reporting() local
249 if (!asyh->clr.crc) in nv50_crc_atomic_stop_reporting()
278 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_init_notifier_contexts() local
282 if (!asyh->set.crc) in nv50_crc_atomic_init_notifier_contexts()
302 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_release_notifier_contexts() local
306 if (!asyh->clr.crc) in nv50_crc_atomic_release_notifier_contexts()
325 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state); in nv50_crc_atomic_start_reporting() local
329 if (!asyh->set.crc) in nv50_crc_atomic_start_reporting()
337 crc->src = asyh->crc.src; in nv50_crc_atomic_start_reporting()
350 struct nv50_head_atom *asyh, in nv50_crc_atomic_check_head() argument
353 struct nv50_atom *atom = nv50_atom(asyh->state.state); in nv50_crc_atomic_check_head()
354 bool changed = armh->crc.src != asyh->crc.src; in nv50_crc_atomic_check_head()
356 if (!armh->crc.src && !asyh->crc.src) { in nv50_crc_atomic_check_head()
357 asyh->set.crc = false; in nv50_crc_atomic_check_head()
358 asyh->clr.crc = false; in nv50_crc_atomic_check_head()
362 if (drm_atomic_crtc_needs_modeset(&asyh->state) || changed) { in nv50_crc_atomic_check_head()
363 asyh->clr.crc = armh->crc.src && armh->state.active; in nv50_crc_atomic_check_head()
364 asyh->set.crc = asyh->crc.src && asyh->state.active; in nv50_crc_atomic_check_head()
366 asyh->set.or |= armh->or.crc_raster != in nv50_crc_atomic_check_head()
367 asyh->or.crc_raster; in nv50_crc_atomic_check_head()
369 if (asyh->clr.crc && asyh->set.crc) in nv50_crc_atomic_check_head()
372 asyh->set.crc = false; in nv50_crc_atomic_check_head()
373 asyh->clr.crc = false; in nv50_crc_atomic_check_head()
391 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state); in nv50_crc_atomic_check_outp() local
406 if (!asyh->clr.crc) in nv50_crc_atomic_check_outp()
449 struct nv50_head_atom *asyh) in nv50_crc_atomic_set() argument
458 encoder = nv50_head_atom_get_encoder(asyh); in nv50_crc_atomic_set()
466 func->set_src(head, outp->or, nv50_crc_source_type(outp, asyh->crc.src), in nv50_crc_atomic_set()
547 struct nv50_head_atom *asyh; in nv50_crc_set_source() local
589 asyh = nv50_head_atom(crtc_state); in nv50_crc_set_source()
590 asyh->crc.src = source; in nv50_crc_set_source()
591 asyh->or.crc_raster = nv50_crc_raster_type(source); in nv50_crc_set_source()