Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Ddfp.c186 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dfp_mode_fixup() local
188 nv04_encoder_get_connector(nv_encoder); in nv04_dfp_mode_fixup()
194 nv_encoder->mode = *adjusted_mode; in nv04_dfp_mode_fixup()
197 nv_encoder->mode = *nv_connector->native_mode; in nv04_dfp_mode_fixup()
205 struct nouveau_encoder *nv_encoder, int head) in nv04_dfp_prepare_sel_clk() argument
208 uint32_t bits1618 = nv_encoder->dcb->or & DCB_OUTPUT_A ? 0x10000 : 0x40000; in nv04_dfp_prepare_sel_clk()
210 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP) in nv04_dfp_prepare_sel_clk()
237 if (nv_encoder->dcb->type == DCB_OUTPUT_LVDS && nv04_display(dev)->saved_reg.sel_clk & 0xf0) { in nv04_dfp_prepare_sel_clk()
247 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dfp_prepare() local
257 nv04_dfp_prepare_sel_clk(dev, nv_encoder, head); in nv04_dfp_prepare()
[all …]
H A Dtvnv04.c78 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_tv_dpms() local
83 mode, nv_encoder->dcb->index); in nv04_tv_dpms()
166 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_tv_commit() local
175 nv04_encoder_get_connector(nv_encoder)->base.name, in nv04_tv_commit()
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_obj(*nv_encoder); 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 = nouveau_i2c_encoder_save; in nv04_tv_create()
[all …]
H A Ddac.c414 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_commit() local
422 nv04_encoder_get_connector(nv_encoder)->base.name, in nv04_dac_commit()
423 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv04_dac_commit()
462 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_dpms() local
465 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()
477 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_save() local
481 nv_encoder->restore.output = NVReadRAMDAC(dev, 0, NV_PRAMDAC_DACCLK + in nv04_dac_save()
487 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_dac_restore() local
[all …]
H 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()
H 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()
H A Ddisp.h102 nv04_encoder_get_connector(struct nouveau_encoder *nv_encoder);
H 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/
H A Dnouveau_backlight.c66 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_get_intensity() local
67 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_get_intensity()
78 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local
79 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv40_set_intensity()
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
217 return nvif_outp_bl_set(&nv_encoder->outp, backlight_get_brightness(bd)); in nv50_set_intensity()
232 struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument
236 struct nouveau_drm *drm = nouveau_drm(nv_encoder->base.base.dev); in nv50_backlight_init()
[all …]
H 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()