Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/dispnv04/
A Ddfp.c194 nv_encoder->mode = *adjusted_mode; in nv04_dfp_mode_fixup()
477 slave_encoder, &nv_encoder->mode, &nv_encoder->mode); in nv04_dfp_commit()
524 nv_encoder->last_dpms = mode; in nv04_lvds_dpms()
527 mode, nv_encoder->dcb->index); in nv04_lvds_dpms()
569 nv_encoder->last_dpms = mode; in nv04_tmds_dpms()
572 mode, nv_encoder->dcb->index); in nv04_tmds_dpms()
584 nv_encoder->restore.head = in nv04_dfp_save()
621 kfree(nv_encoder); in nv04_dfp_destroy()
699 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_dfp_create()
700 if (!nv_encoder) in nv04_dfp_create()
[all …]
A Dtvnv04.c83 mode, nv_encoder->dcb->index); in nv04_tv_dpms()
176 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_tv_commit()
204 struct nouveau_encoder *nv_encoder; in nv04_tv_create() local
218 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_tv_create()
219 if (!nv_encoder) in nv04_tv_create()
223 encoder = to_drm_encoder(nv_encoder); in nv04_tv_create()
229 nv_encoder->enc_save = drm_i2c_encoder_save; in nv04_tv_create()
230 nv_encoder->enc_restore = drm_i2c_encoder_restore; in nv04_tv_create()
234 nv_encoder->dcb = entry; in nv04_tv_create()
235 nv_encoder->or = ffs(entry->or) - 1; in nv04_tv_create()
[all …]
A Ddac.c465 if (nv_encoder->last_dpms == mode) in nv04_dac_dpms()
467 nv_encoder->last_dpms = mode; in nv04_dac_dpms()
470 mode, nv_encoder->dcb->index); in nv04_dac_dpms()
492 nv_encoder->restore.output); in nv04_dac_restore()
502 kfree(nv_encoder); in nv04_dac_destroy()
535 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv04_dac_create()
536 if (!nv_encoder) in nv04_dac_create()
539 encoder = to_drm_encoder(nv_encoder); in nv04_dac_create()
541 nv_encoder->dcb = entry; in nv04_dac_create()
542 nv_encoder->or = ffs(entry->or) - 1; in nv04_dac_create()
[all …]
A Ddisp.c218 struct nouveau_encoder *nv_encoder; in nv04_display_create() local
291 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_display_create() local
293 nvkm_i2c_bus_find(i2c, nv_encoder->dcb->i2c_index); in nv04_display_create()
294 nv_encoder->i2c = bus ? &bus->i2c : NULL; in nv04_display_create()
301 list_for_each_entry(nv_encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_create()
302 nv_encoder->enc_save(&nv_encoder->base.base); in nv04_display_create()
A Dcrtc.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()
A Ddisp.h102 nv04_encoder_get_connector(struct nouveau_encoder *nv_encoder);
A Dtvnv17.c584 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv17_tv_commit() local
609 nv04_encoder_get_connector(nv_encoder)->base.name, in nv17_tv_commit()
610 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_connector.c387 (nv_encoder->dcb && nv_encoder->dcb->type == type)) in find_encoder()
388 return nv_encoder; in find_encoder()
433 return nv_encoder; in nouveau_connector_ddc_detect()
496 return nv_encoder; in nouveau_connector_of_detect()
593 if (nv_encoder) { in nouveau_connector_detect()
650 if (nv_encoder) { in nouveau_connector_detect()
694 if (!nv_encoder) in nouveau_connector_detect_lvds()
754 if (nv_encoder) in nouveau_connector_detect_lvds()
776 if (!nv_encoder) { in nouveau_connector_force()
800 if (nv_encoder && nv_encoder->dcb->type == DCB_OUTPUT_TV) in nouveau_connector_set_property()
[all …]
A Dnouveau_backlight.c66 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_get_intensity() local
78 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
207 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_get_intensity() local
209 return nvif_outp_bl_get(&nv_encoder->outp); in nv50_get_intensity()
215 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv50_set_intensity() local
232 struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument
242 if (nvif_outp_bl_get(&nv_encoder->outp) < 0 || in nv50_backlight_init()
294 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local
313 if (!nv_encoder) in nouveau_backlight_init()
333 nv_encoder, &props, &ops); in nouveau_backlight_init()
[all …]
A Dnouveau_dp.c218 struct nouveau_encoder *nv_encoder) in nouveau_dp_detect() argument
223 struct nv50_mstm *mstm = nv_encoder->dp.mstm; in nouveau_dp_detect()
225 u8 *dpcd = nv_encoder->dp.dpcd; in nouveau_dp_detect()
241 mutex_lock(&nv_encoder->dp.hpd_irq_lock); in nouveau_dp_detect()
258 hpd = nvif_outp_detect(&nv_encoder->outp); in nouveau_dp_detect()
260 nvif_outp_dp_aux_pwr(&nv_encoder->outp, false); in nouveau_dp_detect()
263 nvif_outp_dp_aux_pwr(&nv_encoder->outp, true); in nouveau_dp_detect()
282 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect()
284 nv_encoder->dp.link_bw); in nouveau_dp_detect()
287 ret = nv50_mstm_detect(nv_encoder); in nouveau_dp_detect()
[all …]
A Dnouveau_connector.h162 const struct nouveau_encoder *nv_encoder; in nouveau_connector_is_mst() local
168 nv_encoder = find_encoder(connector, DCB_OUTPUT_ANY); in nouveau_connector_is_mst()
169 if (!nv_encoder) in nouveau_connector_is_mst()
172 encoder = &nv_encoder->base.base; in nouveau_connector_is_mst()
/linux/drivers/gpu/drm/nouveau/dispnv50/
A Ddisp.c377 max_rate = nv_encoder->dp.link_nr * nv_encoder->dp.link_bw; in nv50_outp_atomic_fix_depth()
479 nv_encoder->crtc = NULL; in nv50_dac_atomic_disable()
568 nv_encoder->i2c = &bus->i2c; in nv50_dac_create()
1542 nv_encoder->ctrl = 0; in nv50_sor_update()
1549 core->func->sor->ctrl(core, nv_encoder->outp.or.id, nv_encoder->ctrl, asyh); in nv50_sor_update()
1577 if (nv_encoder->dcb->type == DCB_OUTPUT_TMDS && nv_encoder->hdmi.enabled) { in nv50_sor_atomic_disable()
1589 nv_encoder->update(nv_encoder, head->base.index, NULL, 0, 0); in nv50_sor_atomic_disable()
1591 nv_encoder->crtc = NULL; in nv50_sor_atomic_disable()
1847 nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); in nv50_sor_atomic_enable()
1970 nv_encoder->crtc = NULL; in nv50_pior_atomic_disable()
[all …]

Completed in 35 milliseconds