Lines Matching refs:nv_connector

402 	struct nouveau_connector *nv_connector = nouveau_connector(connector);  in nv50_outp_atomic_check()  local
407 nv_connector->native_mode); in nv50_outp_atomic_check()
606 struct nouveau_connector *nv_connector = NULL; in nv50_audio_component_get_eld() local
612 nv_connector = nv_encoder->conn; in nv50_audio_component_get_eld()
620 ret = drm_eld_size(nv_connector->base.eld); in nv50_audio_component_get_eld()
621 memcpy(buf, nv_connector->base.eld, in nv50_audio_component_get_eld()
743 struct nouveau_connector *nv_connector, struct drm_atomic_state *state, in nv50_audio_enable() argument
750 if (!nv50_audio_supported(encoder) || !nv_connector->base.display_info.has_audio) in nv50_audio_enable()
755 nvif_outp_hda_eld(&nv_encoder->outp, nv_crtc->index, nv_connector->base.eld, in nv50_audio_enable()
756 drm_eld_size(nv_connector->base.eld)); in nv50_audio_enable()
769 struct nouveau_connector *nv_connector, struct drm_atomic_state *state, in nv50_hdmi_enable() argument
774 struct drm_hdmi_info *hdmi = &nv_connector->base.display_info.hdmi; in nv50_hdmi_enable()
821 if (!drm_hdmi_avi_infoframe_from_display_mode(&infoframe.avi, &nv_connector->base, mode)) { in nv50_hdmi_enable()
822 drm_hdmi_avi_infoframe_quant_range(&infoframe.avi, &nv_connector->base, mode, in nv50_hdmi_enable()
835 &nv_connector->base, mode)) in nv50_hdmi_enable()
1380 struct nouveau_connector *nv_connector, in nv50_mstm_service() argument
1383 struct drm_dp_aux *aux = &nv_connector->aux; in nv50_mstm_service()
1413 nv_connector->base.name, rc); in nv50_mstm_service()
1563 struct nouveau_connector *nv_connector = nv50_outp_get_old_connector(state, nv_encoder); in nv50_sor_atomic_disable() local
1565 struct nouveau_backlight *backlight = nv_connector->backlight; in nv50_sor_atomic_disable()
1566 struct drm_dp_aux *aux = &nv_connector->aux; in nv50_sor_atomic_disable()
1573 nv_connector->base.base.id, nv_connector->base.name, ret); in nv50_sor_atomic_disable()
1749 struct nouveau_connector *nv_connector; in nv50_sor_atomic_enable() local
1758 nv_connector = nv50_outp_get_new_connector(state, nv_encoder); in nv50_sor_atomic_enable()
1764 nv_connector->base.display_info.has_audio) in nv50_sor_atomic_enable()
1773 nv_connector->base.display_info.is_hdmi) in nv50_sor_atomic_enable()
1774 nv50_hdmi_enable(encoder, nv_crtc, nv_connector, state, mode, hda); in nv50_sor_atomic_enable()
1786 !nv_connector->base.display_info.is_hdmi) in nv50_sor_atomic_enable()
1799 if (nv_connector->type == DCB_CONNECTOR_LVDS_SPWG) { in nv50_sor_atomic_enable()
1800 if (((u8 *)nv_connector->edid)[121] == 2) in nv50_sor_atomic_enable()
1832 backlight = nv_connector->backlight; in nv50_sor_atomic_enable()
1834 drm_edp_backlight_enable(&nv_connector->aux, &backlight->edp_info, in nv50_sor_atomic_enable()
1881 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nv50_sor_create() local
1926 nv_encoder->i2c = &nv_connector->aux.ddc; in nv50_sor_create()
1929 if (nv_connector->type != DCB_CONNECTOR_eDP && nv_encoder->outp.info.dp.mst) { in nv50_sor_create()
1930 ret = nv50_mstm_new(nv_encoder, &nv_connector->aux, in nv50_sor_create()
1931 16, nv_connector->base.base.id, in nv50_sor_create()