| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_cursor.c | 14 nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) 16 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true); 20 nv04_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) 22 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false); 26 nv04_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) 28 nv_crtc->cursor_saved_x = x; nv_crtc->cursor_saved_y = y; 29 NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index [all...] |
| nouveau_dispnv04_disp.c | 70 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 71 if (nv_crtc->cursor.nvbo) { 72 if (nv_crtc->cursor.set_offset) 73 nouveau_bo_unmap(nv_crtc->cursor.nvbo); 74 nouveau_bo_unpin(nv_crtc->cursor.nvbo); 97 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 98 nv_crtc->save(&nv_crtc->base); 124 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 125 if (!nv_crtc->cursor.nvbo 137 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 153 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 173 struct nouveau_crtc *nv_crtc; local [all...] |
| nouveau_dispnv04_crtc.c | 65 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 67 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 69 regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level; 70 if (nv_crtc->saturation && nv_gf4_disp_arch(crtc->dev)) { 72 regp->CRTC[NV_CIO_CRE_5B] = nv_crtc->saturation << 2; 80 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 82 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 84 nv_crtc->sharpness = level; 88 NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634); 123 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc) local 177 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 240 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 465 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 614 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 641 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 666 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 687 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 705 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 728 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 749 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 769 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 793 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 804 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 826 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 993 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1032 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1303 struct nouveau_crtc *nv_crtc; local [all...] |
| nouveau_dispnv04_dfp.c | 122 struct nouveau_crtc *nv_crtc; local 126 nv_crtc = nouveau_crtc(encoder->crtc); 127 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 134 *fpc = nv_crtc->dpms_saved_fp_control; 137 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; 138 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); 141 nv_crtc = nouveau_crtc(crtc); 142 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 144 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); 145 if (!is_fpc_off(*fpc) && !nv_crtc->fp_users) 291 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 455 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local [all...] |
| nouveau_dispnv04_tvnv04.c | 150 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 151 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 174 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 181 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
| nouveau_dispnv04_overlay.c | 130 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 133 int soff = NV_PCRTC0_SIZE * nv_crtc->index; 134 int soff2 = NV_PCRTC0_SIZE * !nv_crtc->index;
|
| nouveau_dispnv04_dac.c | 420 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 427 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
| nouveau_dispnv04_tvnv17.c | 581 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 608 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/ |
| nouveau_display.c | 60 struct nouveau_crtc *nv_crtc = local 61 container_of(notify, typeof(*nv_crtc), vblank); 62 drm_crtc_handle_vblank(&nv_crtc->base); 70 struct nouveau_crtc *nv_crtc; local 76 nv_crtc = nouveau_crtc(crtc); 77 nvif_notify_get(&nv_crtc->vblank); 86 struct nouveau_crtc *nv_crtc; local 92 nv_crtc = nouveau_crtc(crtc); 93 nvif_notify_put(&nv_crtc->vblank); 172 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc) local 185 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local [all...] |
| nouveau_connector.h | 161 nouveau_crtc_connector_get(struct nouveau_crtc *nv_crtc) 163 struct drm_device *dev = nv_crtc->base.dev; 167 struct drm_crtc *crtc = to_drm_crtc(nv_crtc);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
| nouveau_dispnv50_disp.c | 407 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 408 struct nv50_head_atom *asyh = nv50_head_atom(nv_crtc->base.state); 413 core->func->dac->ctrl(core, nv_encoder->or, 1 << nv_crtc->index, asyh); 520 struct nouveau_crtc *nv_crtc; local 527 nv_crtc = nouveau_crtc(encoder->crtc); 528 if (!nv_connector || !nv_crtc || nv_crtc->index != port) 610 nv50_audio_disable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) 623 (0x0100 << nv_crtc->index), 628 nv50_audio_component_eld_notify(drm->audio.component, nv_crtc->index) 636 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 692 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 1553 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); local 1581 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 1804 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local [all...] |