Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcursor.c9 nv04_cursor_show(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_show() argument
11 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, true); in nv04_cursor_show()
15 nv04_cursor_hide(struct nouveau_crtc *nv_crtc, bool update) in nv04_cursor_hide() argument
17 nv_show_cursor(nv_crtc->base.dev, nv_crtc->index, false); in nv04_cursor_hide()
21 nv04_cursor_set_pos(struct nouveau_crtc *nv_crtc, int x, int y) in nv04_cursor_set_pos() argument
23 nv_crtc->cursor_saved_x = x; nv_crtc->cursor_saved_y = y; in nv04_cursor_set_pos()
24 NVWriteRAMDAC(nv_crtc->base.dev, nv_crtc->index, in nv04_cursor_set_pos()
38 nv04_cursor_set_offset(struct nouveau_crtc *nv_crtc, uint32_t offset) in nv04_cursor_set_offset() argument
40 struct drm_device *dev = nv_crtc->base.dev; in nv04_cursor_set_offset()
42 struct nv04_crtc_reg *regp = &nv04_display(dev)->mode_reg.crtc_reg[nv_crtc->index]; in nv04_cursor_set_offset()
[all …]
H A Ddisp.c89 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv04_display_fini() local
90 if (nv_crtc->cursor.nvbo) { in nv04_display_fini()
91 if (nv_crtc->cursor.set_offset) in nv04_display_fini()
92 nouveau_bo_unmap(nv_crtc->cursor.nvbo); in nv04_display_fini()
93 nouveau_bo_unpin(nv_crtc->cursor.nvbo); in nv04_display_fini()
116 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv04_display_init() local
117 nv_crtc->save(&nv_crtc->base); in nv04_display_init()
143 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv04_display_init() local
144 if (!nv_crtc->cursor.nvbo) in nv04_display_init()
147 ret = nouveau_bo_pin(nv_crtc->cursor.nvbo, in nv04_display_init()
[all …]
H A Doverlay.c124 struct nouveau_crtc *nv_crtc = nouveau_crtc(crtc); in nv10_update_plane() local
128 int soff = NV_PCRTC0_SIZE * nv_crtc->index; in nv10_update_plane()
129 int soff2 = NV_PCRTC0_SIZE * !nv_crtc->index; in nv10_update_plane()
H A Ddac.c416 struct nouveau_crtc *nv_crtc = nouveau_crtc(encoder->crtc); in nv04_dac_commit() local
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_connector.h181 nouveau_crtc_connector_get(struct nouveau_crtc *nv_crtc) in nouveau_crtc_connector_get() argument
183 struct drm_device *dev = nv_crtc->base.dev; in nouveau_crtc_connector_get()
187 struct drm_crtc *crtc = to_drm_crtc(nv_crtc); in nouveau_crtc_connector_get()
H A Dnouveau_display.c53 struct nouveau_crtc *nv_crtc; in nouveau_display_vblank_enable() local
55 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_enable()
56 nvif_event_allow(&nv_crtc->vblank); in nouveau_display_vblank_enable()
64 struct nouveau_crtc *nv_crtc; in nouveau_display_vblank_disable() local
66 nv_crtc = nouveau_crtc(crtc); in nouveau_display_vblank_disable()
67 nvif_event_block(&nv_crtc->vblank); in nouveau_display_vblank_disable()
/linux/drivers/gpu/drm/nouveau/dispnv50/
H A Ddisp.c496 struct nouveau_crtc *nv_crtc = nv50_outp_get_new_crtc(state, nv_encoder); in nv50_dac_atomic_enable() local
498 nv50_head_atom(drm_atomic_get_new_crtc_state(state, &nv_crtc->base)); in nv50_dac_atomic_enable()
502 switch (nv_crtc->index) { in nv50_dac_atomic_enable()
520 nv_encoder->crtc = &nv_crtc->base; in nv50_dac_atomic_enable()
608 struct nouveau_crtc *nv_crtc; in nv50_audio_component_get_eld() local
623 nv_crtc = nouveau_crtc(nv_encoder->crtc); in nv50_audio_component_get_eld()
625 if (!nv_crtc || nv_encoder->outp.or.id != port || nv_crtc->index != dev_id) in nv50_audio_component_get_eld()
732 nv50_audio_disable(struct drm_encoder *encoder, struct nouveau_crtc *nv_crtc) in nv50_audio_disable() argument
744 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, NULL, 0); in nv50_audio_disable()
748 nv50_audio_component_eld_notify(drm->audio.component, outp->or.id, nv_crtc->index); in nv50_audio_disable()
[all …]
H A Dhead.c560 struct nouveau_crtc *nv_crtc = container_of(event, struct nouveau_crtc, vblank); in nv50_head_vblank_handler() local
562 if (drm_crtc_handle_vblank(&nv_crtc->base)) in nv50_head_vblank_handler()
563 nv50_crc_handle_vblank(nv50_head(&nv_crtc->base)); in nv50_head_vblank_handler()
575 struct nouveau_crtc *nv_crtc; in nv50_head_create() local
609 nv_crtc = &head->base; in nv50_head_create()
610 crtc = &nv_crtc->base; in nv50_head_create()
633 false, &nv_crtc->vblank); in nv50_head_create()