/linux-6.3-rc2/drivers/gpu/drm/nouveau/ |
A D | nouveau_dp.c | 108 u8 *dpcd = nv_encoder->dp.dpcd; in nouveau_dp_detect() 161 nv_encoder->dp.link_nr = in nouveau_dp_detect() 174 nv_encoder->dp.link_bw = val; in nouveau_dp_detect() 180 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, in nouveau_dp_detect() 183 nv_encoder->dcb->dpconf.link_nr, in nouveau_dp_detect() 186 if (nv_encoder->dcb->dpconf.link_nr < nv_encoder->dp.link_nr) in nouveau_dp_detect() 187 nv_encoder->dp.link_nr = nv_encoder->dcb->dpconf.link_nr; in nouveau_dp_detect() 188 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect() 189 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect() 192 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw); in nouveau_dp_detect() [all …]
|
A D | nouveau_connector.c | 387 (nv_encoder->dcb && nv_encoder->dcb->type == type)) in find_encoder() 388 return nv_encoder; in find_encoder() 427 nv_encoder); in nouveau_connector_ddc_detect() 431 found = nv_encoder; in nouveau_connector_ddc_detect() 482 return nv_encoder; in nouveau_connector_of_detect() 580 if (nv_encoder && (i2c = nv_encoder->i2c) != NULL) { in nouveau_connector_detect() 629 if (nv_encoder) { in nouveau_connector_detect() 673 if (!nv_encoder) in nouveau_connector_detect_lvds() 754 if (!nv_encoder) { in nouveau_connector_force() 778 if (nv_encoder && nv_encoder->dcb->type == DCB_OUTPUT_TV) in nouveau_connector_set_property() [all …]
|
A D | nouveau_backlight.c | 65 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_get_intensity() local 77 struct nouveau_encoder *nv_encoder = bl_get_data(bd); in nv40_set_intensity() local 117 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_get_intensity() 132 int or = ffs(nv_encoder->dcb->or) - 1; in nv50_set_intensity() 245 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_get_intensity() 263 int or = ffs(nv_encoder->dcb->or) - 1; in nva3_set_intensity() 295 struct nouveau_encoder *nv_encoder, in nv50_backlight_init() argument 361 struct nouveau_encoder *nv_encoder = NULL; in nouveau_backlight_init() local 380 if (!nv_encoder) in nouveau_backlight_init() 400 nv_encoder, &props, &ops); in nouveau_backlight_init() [all …]
|
A D | nouveau_connector.h | 163 const struct nouveau_encoder *nv_encoder; in nouveau_connector_is_mst() local 169 nv_encoder = find_encoder(connector, DCB_OUTPUT_ANY); in nouveau_connector_is_mst() 170 if (!nv_encoder) in nouveau_connector_is_mst() 173 encoder = &nv_encoder->base.base; in nouveau_connector_is_mst()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv04/ |
A D | dfp.c | 194 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 D | tvnv04.c | 83 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 D | dac.c | 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() 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 D | disp.c | 221 struct nouveau_encoder *nv_encoder; in nv04_display_create() local 296 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv04_display_create() local 298 nvkm_i2c_bus_find(i2c, nv_encoder->dcb->i2c_index); in nv04_display_create() 299 nv_encoder->i2c = bus ? &bus->i2c : NULL; in nv04_display_create() 306 list_for_each_entry(nv_encoder, &dev->mode_config.encoder_list, base.base.head) in nv04_display_create() 307 nv_encoder->enc_save(&nv_encoder->base.base); in nv04_display_create()
|
A D | crtc.c | 262 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 D | disp.h | 102 nv04_encoder_get_connector(struct nouveau_encoder *nv_encoder);
|
A D | tvnv17.c | 578 struct nouveau_encoder *nv_encoder = nouveau_encoder(encoder); in nv17_tv_commit() local 603 nv04_encoder_get_connector(nv_encoder)->base.name, in nv17_tv_commit() 604 nv_crtc->index, '@' + ffs(nv_encoder->dcb->or)); in nv17_tv_commit()
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/dispnv50/ |
A D | disp.c | 533 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_dac_create() 534 if (!nv_encoder) in nv50_dac_create() 536 nv_encoder->dcb = dcbe; in nv50_dac_create() 1526 nv_encoder->update(nv_encoder, nv_crtc->index, NULL, 0, 0); in nv50_sor_atomic_disable() 1638 nv_encoder->update(nv_encoder, nv_crtc->index, asyh, proto, depth); in nv50_sor_atomic_enable() 1699 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_sor_create() 1700 if (!nv_encoder) in nv50_sor_create() 1876 nv_encoder = kzalloc(sizeof(*nv_encoder), GFP_KERNEL); in nv50_pior_create() 1877 if (!nv_encoder) in nv50_pior_create() 1880 nv_encoder->i2c = ddc; in nv50_pior_create() [all …]
|