Searched defs:nv_crtc (Results 1 - 15 of 15) sorted by relevance

/drivers/gpu/drm/nouveau/
H A Dnv50_cursor.c37 nv50_cursor_show(struct nouveau_crtc *nv_crtc, bool update) argument
39 struct drm_device *dev = nv_crtc->base.dev;
46 if (update && nv_crtc->cursor.visible)
56 BEGIN_RING(evo, 0, NV84_EVO_CRTC(nv_crtc->index, CURSOR_DMA), 1);
59 BEGIN_RING(evo, 0, NV50_EVO_CRTC(nv_crtc->index, CURSOR_CTRL), 2);
61 OUT_RING(evo, nv_crtc->cursor.offset >> 8);
67 nv_crtc->cursor.visible = true;
72 nv50_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) argument
74 struct drm_device *dev = nv_crtc->base.dev;
81 if (update && !nv_crtc
106 nv50_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) argument
118 nv50_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) argument
132 nv50_cursor_init(struct nouveau_crtc *nv_crtc) argument
[all...]
H A Dnv04_cursor.c9 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 Dnv04_tv.c137 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
138 struct nv04_crtc_reg *regp = &dev_priv->mode_reg.crtc_reg[nv_crtc->index];
160 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
166 drm_get_connector_name(&nouveau_encoder_connector_get(nv_encoder)->base), nv_crtc->index,
H A Dnouveau_drv.c207 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
209 nouveau_bo_unmap(nv_crtc->cursor.nvbo);
210 nouveau_bo_unpin(nv_crtc->cursor.nvbo);
357 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
359 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, TTM_PL_FLAG_VRAM);
361 ret = nouveau_bo_map(nv_crtc->cursor.nvbo);
373 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
375 nv_crtc->lut.depth = 0;
381 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
382 u32 offset = nv_crtc
[all...]
H A Dnouveau_fbcon.c239 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
241 nv_crtc->lut.r[regno] = red;
242 nv_crtc->lut.g[regno] = green;
243 nv_crtc->lut.b[regno] = blue;
249 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
251 *red = nv_crtc->lut.r[regno];
252 *green = nv_crtc->lut.g[regno];
253 *blue = nv_crtc->lut.b[regno];
H A Dnouveau_hdmi.c46 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); local
48 return 0x616500 + (nv_crtc->index * 0x800);
H A Dnouveau_connector.c415 struct nouveau_crtc *nv_crtc; local
418 nv_crtc = NULL;
420 nv_crtc = nouveau_crtc(connector->encoder->crtc);
449 if (!nv_crtc)
452 if (modeset || !nv_crtc->set_scale) {
453 ret = drm_crtc_helper_set_mode(&nv_crtc->base,
454 &nv_crtc->base.mode,
455 nv_crtc->base.x,
456 nv_crtc->base.y, NULL);
460 ret = nv_crtc
[all...]
H A Dnouveau_dp.c417 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
432 dp.crtc = nv_crtc->index;
H A Dnv04_dac.c396 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
403 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
H A Dnv04_dfp.c116 struct nouveau_crtc *nv_crtc; local
120 nv_crtc = nouveau_crtc(encoder->crtc);
121 fpc = &dev_priv->mode_reg.crtc_reg[nv_crtc->index].fp_control;
128 *fpc = nv_crtc->dpms_saved_fp_control;
131 nv_crtc->fp_users |= 1 << nouveau_encoder(encoder)->dcb->index;
132 NVWriteRAMDAC(dev, nv_crtc->index, NV_PRAMDAC_FP_TG_CONTROL, *fpc);
135 nv_crtc = nouveau_crtc(crtc);
136 fpc = &dev_priv->mode_reg.crtc_reg[nv_crtc->index].fp_control;
138 nv_crtc->fp_users &= ~(1 << nouveau_encoder(encoder)->dcb->index);
139 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 Dnv17_tv.c570 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
598 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or));
H A Dnv50_display.c430 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
431 struct nv50_display_crtc *dispc = &disp->crtc[nv_crtc->index];
459 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
460 struct nv50_display_crtc *dispc = &disp->crtc[nv_crtc->index];
478 OUT_RING (chan, NvEvoSema0 + nv_crtc->index);
491 u64 offset = chan->dispc_vma[nv_crtc->index].offset;
H A Dnv04_crtc.c51 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
53 struct nv04_crtc_reg *regp = &dev_priv->mode_reg.crtc_reg[nv_crtc->index];
55 regp->CRTC[NV_CIO_CRE_CSB] = nv_crtc->saturation = level;
56 if (nv_crtc->saturation && nv_gf4_disp_arch(crtc->dev)) {
58 regp->CRTC[NV_CIO_CRE_5B] = nv_crtc->saturation << 2;
66 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
68 struct nv04_crtc_reg *regp = &dev_priv->mode_reg.crtc_reg[nv_crtc->index];
70 nv_crtc->sharpness = level;
74 NVWriteRAMDAC(crtc->dev, nv_crtc->index, NV_PRAMDAC_634, regp->ramdac_634);
107 struct nouveau_crtc *nv_crtc local
159 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
229 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
456 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
613 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
633 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
654 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
672 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
696 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
716 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
733 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
754 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
780 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
958 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
997 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
1028 struct nouveau_crtc *nv_crtc; local
[all...]
H A Dnv50_crtc.c44 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
45 void __iomem *lut = nvbo_kmap_obj_iovirtual(nv_crtc->lut.nvbo);
51 writew(nv_crtc->lut.r[i] >> 2, lut + 8*i + 0);
52 writew(nv_crtc->lut.g[i] >> 2, lut + 8*i + 2);
53 writew(nv_crtc->lut.b[i] >> 2, lut + 8*i + 4);
56 if (nv_crtc->lut.depth == 30) {
57 writew(nv_crtc->lut.r[i - 1] >> 2, lut + 8*i + 0);
58 writew(nv_crtc->lut.g[i - 1] >> 2, lut + 8*i + 2);
59 writew(nv_crtc->lut.b[i - 1] >> 2, lut + 8*i + 4);
64 nv50_crtc_blank(struct nouveau_crtc *nv_crtc, boo argument
135 nv50_crtc_set_dither(struct nouveau_crtc *nv_crtc, bool update) argument
174 nv50_crtc_set_color_vibrance(struct nouveau_crtc *nv_crtc, bool update) argument
209 nouveau_crtc_connector_get(struct nouveau_crtc *nv_crtc) argument
227 nv50_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update) argument
387 struct nouveau_crtc *nv_crtc; local
411 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
450 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
461 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
513 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
527 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
549 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
633 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
749 struct nouveau_crtc *nv_crtc = NULL; local
[all...]
H A Dnvd0_display.c257 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
258 struct evo *evo = &disp->evo[EVO_FLIP(nv_crtc->index)];
281 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
282 struct evo *evo = &disp->evo[EVO_FLIP(nv_crtc->index)];
303 offset = chan->dispc_vma[nv_crtc->index].offset;
364 nvd0_crtc_set_dither(struct nouveau_crtc *nv_crtc, bool update) argument
366 struct drm_nouveau_private *dev_priv = nv_crtc->base.dev->dev_private;
367 struct drm_device *dev = nv_crtc->base.dev;
373 nv_connector = nouveau_crtc_connector_get(nv_crtc);
376 if (nv_crtc
409 nvd0_crtc_set_scale(struct nouveau_crtc *nv_crtc, bool update) argument
500 nvd0_crtc_set_image(struct nouveau_crtc *nv_crtc, struct drm_framebuffer *fb, int x, int y, bool update) argument
529 nvd0_crtc_cursor_show(struct nouveau_crtc *nv_crtc, bool show, bool update) argument
564 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
586 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
639 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
736 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
751 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
790 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
802 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
818 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); local
848 nvd0_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) argument
853 nvd0_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) argument
860 struct nouveau_crtc *nv_crtc; local
969 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
1134 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
1178 struct nouveau_crtc *nv_crtc = nouveau_crtc(nv_encoder->crtc); local
1444 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); local
[all...]

Completed in 77 milliseconds