/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | cursor.c | 9 nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) argument 11 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true); 15 nv04_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) argument 17 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false); 21 nv04_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) argument 23 nv_crtc->cursor_saved_x = x; nv_crtc->cursor_saved_y = y; 24 NVWriteRAMDAC(nv_crtc 38 nv04_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) argument [all...] |
H A D | tvnv04.c | 142 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 143 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 166 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 173 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
H A D | overlay.c | 103 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 106 int soff = NV_PCRTC0_SIZE * nv_crtc->index; 107 int soff2 = NV_PCRTC0_SIZE * !nv_crtc->index;
|
H A D | dac.c | 411 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 418 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
H A D | dfp.c | 117 struct nouveau_crtc *nv_crtc; local 121 nv_crtc = nouveau_crtc(encoder->crtc); 122 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 129 *fpc = nv_crtc->dpms_saved_fp_control; 132 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index; 133 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc); 136 nv_crtc = nouveau_crtc(crtc); 137 fpc = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index].fp_control; 139 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index); 140 if (!is_fpc_off(*fpc) && !nv_crtc 286 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 449 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local [all...] |
H A D | tvnv17.c | 584 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 611 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
|
H A D | crtc.c | 58 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 60 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 62 regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level; 63 if (nv_crtc->saturation && nv_gf4_disp_arch(crtc->dev)) { 65 regp->CRTC[NV_CIO_CRE_5B] = nv_crtc->saturation << 2; 73 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 75 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; 77 nv_crtc->sharpness = level; 81 NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634); 116 struct nouveau_crtc *nv_crtc local 170 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 613 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 640 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 665 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 686 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 704 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 727 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 748 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 768 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 787 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 798 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 824 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 991 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1030 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1108 struct nouveau_crtc *nv_crtc; local [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_connector.h | 91 nouveau_crtc_connector_get(struct nouveau_crtc *nv_crtc) argument 93 struct drm_device *dev = nv_crtc->base.dev; 95 struct drm_crtc *crtc = to_drm_crtc(nv_crtc);
|
H A D | nouveau_fbcon.c | 272 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 274 nv_crtc->lut.r[regno] = red; 275 nv_crtc->lut.g[regno] = green; 276 nv_crtc->lut.b[regno] = blue; 282 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 284 *red = nv_crtc->lut.r[regno]; 285 *green = nv_crtc->lut.g[regno]; 286 *blue = nv_crtc->lut.b[regno];
|
H A D | nouveau_connector.c | 448 struct nouveau_crtc *nv_crtc; local 451 nv_crtc = NULL; 453 nv_crtc = nouveau_crtc(connector->encoder->crtc); 482 if (!nv_crtc) 485 if (modeset || !nv_crtc->set_scale) { 486 ret = drm_crtc_helper_set_mode(&nv_crtc->base, 487 &nv_crtc->base.mode, 488 nv_crtc->base.x, 489 nv_crtc->base.y, NULL); 493 ret = nv_crtc [all...] |
H A D | nouveau_display.c | 47 struct nouveau_crtc *nv_crtc = local 48 container_of(notify, typeof(*nv_crtc), vblank); 49 drm_handle_vblank(nv_crtc->base.dev, nv_crtc->index); 58 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 59 if (nv_crtc->index == head) { 60 nvif_notify_get(&nv_crtc->vblank); 72 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 73 if (nv_crtc->index == head) { 74 nvif_notify_put(&nv_crtc 174 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 187 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 570 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 600 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 613 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 632 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local [all...] |
H A D | nv50_display.c | 517 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 539 OUT_RING (chan, NvEvoSema0 + nv_crtc->index); 548 u64 addr = nv84_fence_crtc(chan, nv_crtc->index) + sync->addr; 567 u64 addr = nv84_fence_crtc(chan, nv_crtc->index) + sync->addr; 641 nv50_crtc_set_dither(struct nouveau_crtc *nv_crtc, bool update) argument 643 struct nv50_mast *mast = nv50_mast(nv_crtc->base.dev); 648 nv_connector = nouveau_crtc_connector_get(nv_crtc); 651 if (nv_crtc->base.primary->fb->depth > connector->display_info.bpc * 3) 667 evo_mthd(push, 0x08a0 + (nv_crtc->index * 0x0400), 1); 671 evo_mthd(push, 0x0490 + (nv_crtc 689 nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update) argument 794 nv50_crtc_set_raster_vblank_dmi(struct nouveau_crtc *nv_crtc, u32 usec) argument 810 nv50_crtc_set_color_vibrance(struct nouveau_crtc *nv_crtc, bool update) argument 841 nv50_crtc_set_image(struct nouveau_crtc *nv_crtc, struct drm_framebuffer *fb, int x, int y, bool update) argument 887 nv50_crtc_cursor_show(struct nouveau_crtc *nv_crtc) argument 915 nv50_crtc_cursor_hide(struct nouveau_crtc *nv_crtc) argument 940 nv50_crtc_cursor_show_hide(struct nouveau_crtc *nv_crtc, bool show, bool update) argument 967 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1006 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1079 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1175 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1198 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1208 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1243 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1293 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1309 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local 1366 nv50_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) argument 1371 nv50_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) argument 1528 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 1680 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 1708 nv50_audio_disconnect(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) argument 1733 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 1764 nv50_hdmi_disconnect(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) argument 1879 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); local 1902 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local 2143 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local [all...] |