Home
last modified time | relevance | path

Searched refs:nv_crtc (Results 1 – 11 of 11) sorted by relevance

/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dnouveau_dispnv04_crtc.c171 nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); in nv_crtc_calc_state_ext()
547 if (!nv_crtc->index) in nv_crtc_mode_set_regs()
751 if (!nv_crtc) in nv_crtc_destroy()
763 kfree(nv_crtc); in nv_crtc_destroy()
999 nv_crtc->cursor.hide(nv_crtc, true); in nv04_crtc_cursor_set()
1021 nv_crtc->cursor.offset = nv_crtc->cursor.nvbo->bo.offset; in nv04_crtc_cursor_set()
1022 nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.offset); in nv04_crtc_cursor_set()
1023 nv_crtc->cursor.show(nv_crtc, true); in nv04_crtc_cursor_set()
1034 nv_crtc->cursor.set_pos(nv_crtc, x, y); in nv04_crtc_cursor_move()
1306 nv_crtc = kzalloc(sizeof(*nv_crtc), GFP_KERNEL); in nv04_crtc_create()
[all …]
H A Dnouveau_dispnv04_disp.c71 if (nv_crtc->cursor.nvbo) { in nv04_display_fini()
72 if (nv_crtc->cursor.set_offset) in nv04_display_fini()
98 nv_crtc->save(&nv_crtc->base); in nv04_display_init()
125 if (!nv_crtc->cursor.nvbo) in nv04_display_init()
139 nv_crtc->lut.depth = 0; in nv04_display_init()
155 if (!nv_crtc->cursor.nvbo) in nv04_display_init()
159 nv_crtc->cursor.set_offset(nv_crtc, nv_crtc->cursor.nvbo->bo.offset); in nv04_display_init()
160 nv_crtc->cursor.set_pos(nv_crtc, nv_crtc->cursor_saved_x, in nv04_display_init()
161 nv_crtc->cursor_saved_y); in nv04_display_init()
173 struct nouveau_crtc *nv_crtc; in nv04_display_destroy() local
[all …]
H A Dnouveau_dispnv04_cursor.c14 nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_show() argument
16 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true); in nv04_cursor_show()
20 nv04_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_hide() argument
22 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false); in nv04_cursor_hide()
26 nv04_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) in nv04_cursor_set_pos() argument
28 nv_crtc->cursor_saved_x = x; nv_crtc->cursor_saved_y = y; in nv04_cursor_set_pos()
29 NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index, in nv04_cursor_set_pos()
43 nv04_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) in nv04_cursor_set_offset() argument
45 struct drm_device *dev = nv_crtc->base.dev; in nv04_cursor_set_offset()
48 struct drm_crtc *crtc = &nv_crtc->base; in nv04_cursor_set_offset()
[all …]
H A Dnouveau_dispnv04_dfp.c122 struct nouveau_crtc *nv_crtc; in nv04_dfp_update_fp_control() local
126 nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_update_fp_control()
134 *fpc = nv_crtc->dpms_saved_fp_control; in nv04_dfp_update_fp_control()
141 nv_crtc = nouveau_crtc(crtc); in nv04_dfp_update_fp_control()
145 if (!is_fpc_off(*fpc) && !nv_crtc->fp_users) { in nv04_dfp_update_fp_control()
146 nv_crtc->dpms_saved_fp_control = *fpc; in nv04_dfp_update_fp_control()
150 NVWriteRAMDAC(dev, nv_crtc->index, in nv04_dfp_update_fp_control()
291 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_mode_set() local
301 NV_DEBUG(drm, "Output mode on CRTC %d:\n", nv_crtc->index); in nv04_dfp_mode_set()
455 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dfp_commit() local
[all …]
H A Dnouveau_dispnv04_tvnv04.c150 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_tv_mode_set() local
151 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv04_tv_mode_set()
174 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_tv_commit() local
181 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_tv_commit()
H A Dnouveau_dispnv04_overlay.c130 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv10_update_plane() local
133 int soff = NV_PCRTC0_SIZE * nv_crtc->index; in nv10_update_plane()
134 int soff2 = NV_PCRTC0_SIZE * !nv_crtc->index; in nv10_update_plane()
H A Dnouveau_dispnv04_dac.c420 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dac_commit() local
427 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit()
H A Dnouveau_dispnv04_tvnv17.c581 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv17_tv_commit() local
608 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_display.c55 struct nouveau_crtc *nv_crtc = in nouveau_display_vblank_handler() local
57 drm_crtc_handle_vblank(&nv_crtc->base); in nouveau_display_vblank_handler()
65 struct nouveau_crtc *nv_crtc; in nouveau_display_vblank_enable() local
71 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_enable()
72 nvif_notify_get(&nv_crtc->vblank); in nouveau_display_vblank_enable()
81 struct nouveau_crtc *nv_crtc; in nouveau_display_vblank_disable() local
87 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_disable()
88 nvif_notify_put(&nv_crtc->vblank); in nouveau_display_vblank_disable()
168 nvif_notify_fini(&nv_crtc->vblank); in nouveau_display_vblank_fini()
185 .head = nv_crtc->index, in nouveau_display_vblank_init()
[all …]
H A Dnouveau_connector.h161 nouveau_crtc_connector_get(struct nouveau_crtc *nv_crtc) in nouveau_crtc_connector_get() argument
163 struct drm_device *dev = nv_crtc->base.dev; in nouveau_crtc_connector_get()
167 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
H A Dnouveau_dispnv50_disp.c520 struct nouveau_crtc *nv_crtc; in nv50_audio_component_get_eld() local
527 nv_crtc = nouveau_crtc(encoder->crtc); in nv50_audio_component_get_eld()
528 if (!nv_connector || !nv_crtc || nv_crtc->index != port) in nv50_audio_component_get_eld()
623 (0x0100 << nv_crtc->index), in nv50_audio_disable()
650 (0x0100 << nv_crtc->index), in nv50_audio_enable()
681 (0x0100 << nv_crtc->index), in nv50_hdmi_disable()
703 (0x0100 << nv_crtc->index), in nv50_hdmi_enable()
1557 if (nv_crtc) { in nv50_sor_disable()
1571 nv50_audio_disable(encoder, nv_crtc); in nv50_sor_disable()
1572 nv50_hdmi_disable(&nv_encoder->base.base, nv_crtc); in nv50_sor_disable()
[all …]