Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_dp.c66 struct drm_device *dev = nv_encoder->base.base.dev; in nouveau_dp_detect()
72 aux = nv_encoder->aux; in nouveau_dp_detect()
80 nv_encoder->dp.link_bw = 27000 * dpcd[1]; in nouveau_dp_detect()
84 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, dpcd[0]); in nouveau_dp_detect()
86 nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect()
87 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect()
89 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect()
90 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect()
91 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect()
92 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect()
[all …]
H A Dnouveau_backlight.c73 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_get_intensity() local
85 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
123 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
126 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity()
138 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
141 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity()
162 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity()
180 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity()
231 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local
250 if (!nv_encoder) in nouveau_backlight_init()
[all …]
H A Dnouveau_connector.c395 (nv_encoder->dcb && nv_encoder->dcb->type == type)) in find_encoder()
396 return nv_encoder; in find_encoder()
450 found = nv_encoder; in nouveau_connector_ddc_detect()
469 found = nv_encoder; in nouveau_connector_ddc_detect()
507 return nv_encoder; in nouveau_connector_of_detect()
590 if (nv_encoder && (i2c = nv_encoder->i2c) != NULL) { in nouveau_connector_detect()
638 if (nv_encoder) { in nouveau_connector_detect()
687 if (!nv_encoder) in nouveau_connector_detect_lvds()
767 if (!nv_encoder) { in nouveau_connector_force()
791 if (nv_encoder && nv_encoder->dcb->type == DCB_OUTPUT_TV) in nouveau_connector_set_property()
[all …]
H A Dnouveau_connector.h142 const struct nouveau_encoder *nv_encoder; in nouveau_connector_is_mst() local
148 nv_encoder = find_encoder(connector, DCB_OUTPUT_ANY); in nouveau_connector_is_mst()
149 if (!nv_encoder) in nouveau_connector_is_mst()
152 encoder = &nv_encoder->base.base; in nouveau_connector_is_mst()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
H A Dnouveau_dispnv04_dfp.c198 nv_encoder->mode = *adjusted_mode; in nv04_dfp_mode_fixup()
481 slave_encoder, &nv_encoder->mode, &nv_encoder->mode); in nv04_dfp_commit()
527 nv_encoder->last_dpms = mode; in nv04_lvds_dpms()
530 mode, nv_encoder->dcb->index); in nv04_lvds_dpms()
572 nv_encoder->last_dpms = mode; in nv04_tmds_dpms()
575 mode, nv_encoder->dcb->index); in nv04_tmds_dpms()
587 nv_encoder->restore.head = in nv04_dfp_save()
624 kfree(nv_encoder); in nv04_dfp_destroy()
702 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_dfp_create()
703 if (!nv_encoder) in nv04_dfp_create()
[all …]
H A Dnouveau_dispnv04_tvnv04.c88 mode, nv_encoder->dcb->index); in nv04_tv_dpms()
181 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_tv_commit()
211 struct nouveau_encoder *nv_encoder; in nv04_tv_create() local
225 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_tv_create()
226 if (!nv_encoder) in nv04_tv_create()
230 encoder = to_drm_encoder(nv_encoder); in nv04_tv_create()
236 nv_encoder->enc_save = drm_i2c_encoder_save; in nv04_tv_create()
237 nv_encoder->enc_restore = drm_i2c_encoder_restore; in nv04_tv_create()
241 nv_encoder->dcb = entry; in nv04_tv_create()
242 nv_encoder->or = ffs(entry->or) - 1; in nv04_tv_create()
[all …]
H A Dnouveau_dispnv04_dac.c469 if (nv_encoder->last_dpms == mode) in nv04_dac_dpms()
471 nv_encoder->last_dpms = mode; in nv04_dac_dpms()
474 mode, nv_encoder->dcb->index); in nv04_dac_dpms()
496 nv_encoder->restore.output); in nv04_dac_restore()
506 kfree(nv_encoder); in nv04_dac_destroy()
539 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_dac_create()
540 if (!nv_encoder) in nv04_dac_create()
543 encoder = to_drm_encoder(nv_encoder); in nv04_dac_create()
545 nv_encoder->dcb = entry; in nv04_dac_create()
546 nv_encoder->or = ffs(entry->or) - 1; in nv04_dac_create()
[all …]
H A Dnouveau_dispnv04_disp.c200 struct nouveau_encoder *nv_encoder; in nv04_display_create() local
272 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_display_create() local
274 nvkm_i2c_bus_find(i2c, nv_encoder->dcb->i2c_index); in nv04_display_create()
275 nv_encoder->i2c = bus ? &bus->i2c : NULL; in nv04_display_create()
282 list_for_each_entry(nv_encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_create()
283 nv_encoder->enc_save(&nv_encoder->base.base); in nv04_display_create()
H A Dnouveau_dispnv04_crtc.c262 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv_crtc_mode_set_vga() local
265 (nv_encoder->dcb->type == DCB_OUTPUT_LVDS || in nv_crtc_mode_set_vga()
266 nv_encoder->dcb->type == DCB_OUTPUT_TMDS)) in nv_crtc_mode_set_vga()
474 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv_crtc_mode_set_regs() local
480 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS) in nv_crtc_mode_set_regs()
482 if (nv_encoder->dcb->type == DCB_OUTPUT_TV) in nv_crtc_mode_set_regs()
484 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS) in nv_crtc_mode_set_regs()
486 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && digital) in nv_crtc_mode_set_regs()
H A Dnouveau_dispnv04_tvnv17.c582 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv17_tv_commit() local
607 nouveau_encoder_connector_get(nv_encoder)->base.name, in nv17_tv_commit()
608 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/
H A Dnouveau_dispnv50_disp.c290 nv_encoder->or = -1; in nv50_outp_release()
291 nv_encoder->link = 0; in nv50_outp_release()
476 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_dac_create()
477 if (!nv_encoder) in nv50_dac_create()
1546 core->func->sor->ctrl(core, nv_encoder->or, nv_encoder->ctrl, asyh); in nv50_sor_update()
1570 nv_encoder->update(nv_encoder, nv_crtc->index, NULL, 0, 0); in nv50_sor_disable()
1671 nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); in nv50_sor_enable()
1724 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_sor_create()
1725 if (!nv_encoder) in nv50_sor_create()
1879 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_pior_create()
[all …]