Lines Matching refs:asyh
242 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
245 if (!asyh->clr.crc)
274 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
278 if (!asyh->set.crc)
298 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
302 if (!asyh->clr.crc)
321 struct nv50_head_atom *asyh = nv50_head_atom(crtc_state);
325 if (!asyh->set.crc)
333 crc->src = asyh->crc.src;
346 struct nv50_head_atom *asyh,
349 struct nv50_atom *atom = nv50_atom(asyh->state.state);
352 bool changed = armh->crc.src != asyh->crc.src;
354 if (!armh->crc.src && !asyh->crc.src) {
355 asyh->set.crc = false;
356 asyh->clr.crc = false;
364 if (asyh->crc.src && disp->disp->object.oclass >= GV100_DISP &&
365 !(BIT(asyh->crc.wndw) & asyh->wndw.owned)) {
366 if (!asyh->wndw.owned) {
379 asyh->crc.wndw = ffs(asyh->wndw.owned) - 1;
382 if (drm_atomic_crtc_needs_modeset(&asyh->state) || changed ||
383 armh->crc.wndw != asyh->crc.wndw) {
384 asyh->clr.crc = armh->crc.src && armh->state.active;
385 asyh->set.crc = asyh->crc.src && asyh->state.active;
387 asyh->set.or |= armh->or.crc_raster !=
388 asyh->or.crc_raster;
390 if (asyh->clr.crc && asyh->set.crc)
393 asyh->set.crc = false;
394 asyh->clr.crc = false;
412 struct nv50_head_atom *asyh = nv50_head_atom(new_crtc_state);
427 if (!asyh->clr.crc)
470 struct nv50_head_atom *asyh)
479 encoder = nv50_head_atom_get_encoder(asyh);
488 nv50_crc_source_type(outp, asyh->crc.src),
489 &crc->ctx[crc->ctx_idx], asyh->crc.wndw);
569 struct nv50_head_atom *asyh;
611 asyh = nv50_head_atom(crtc_state);
612 asyh->crc.src = source;
613 asyh->or.crc_raster = nv50_crc_raster_type(source);