Lines Matching refs:nv_connector
419 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nv50_outp_atomic_check() local
424 nv_connector->native_mode); in nv50_outp_atomic_check()
628 struct nouveau_connector *nv_connector = NULL; in nv50_audio_component_get_eld() local
634 nv_connector = nouveau_connector(nv_encoder->audio.connector); in nv50_audio_component_get_eld()
642 ret = drm_eld_size(nv_connector->base.eld); in nv50_audio_component_get_eld()
643 memcpy(buf, nv_connector->base.eld, in nv50_audio_component_get_eld()
752 struct nouveau_connector *nv_connector, struct drm_atomic_state *state, in nv50_audio_enable() argument
763 u8 data[sizeof(nv_connector->base.eld)]; in nv50_audio_enable()
772 if (!drm_detect_monitor_audio(nv_connector->edid)) in nv50_audio_enable()
777 memcpy(args.data, nv_connector->base.eld, sizeof(args.data)); in nv50_audio_enable()
782 nv_encoder->audio.connector = &nv_connector->base; in nv50_audio_enable()
814 struct nouveau_connector *nv_connector, struct drm_atomic_state *state, in nv50_hdmi_enable() argument
842 if (!drm_detect_hdmi_monitor(nv_connector->edid)) in nv50_hdmi_enable()
845 hdmi = &nv_connector->base.display_info.hdmi; in nv50_hdmi_enable()
848 &nv_connector->base, mode); in nv50_hdmi_enable()
851 &nv_connector->base, mode, in nv50_hdmi_enable()
859 &nv_connector->base, mode); in nv50_hdmi_enable()
890 nv50_audio_enable(encoder, nv_crtc, nv_connector, state, mode); in nv50_hdmi_enable()
1435 struct nouveau_connector *nv_connector, in nv50_mstm_service() argument
1438 struct drm_dp_aux *aux = &nv_connector->aux; in nv50_mstm_service()
1464 nv_connector->base.name, rc); in nv50_mstm_service()
1639 struct nouveau_connector *nv_connector = nv50_outp_get_old_connector(state, nv_encoder); in nv50_sor_atomic_disable() local
1642 struct nouveau_backlight *backlight = nv_connector->backlight; in nv50_sor_atomic_disable()
1644 struct drm_dp_aux *aux = &nv_connector->aux; in nv50_sor_atomic_disable()
1653 nv_connector->base.base.id, nv_connector->base.name, ret); in nv50_sor_atomic_disable()
1694 struct nouveau_connector *nv_connector; in nv50_sor_atomic_enable() local
1703 nv_connector = nv50_outp_get_new_connector(state, nv_encoder); in nv50_sor_atomic_enable()
1708 drm_detect_monitor_audio(nv_connector->edid)) in nv50_sor_atomic_enable()
1724 !drm_detect_hdmi_monitor(nv_connector->edid)) in nv50_sor_atomic_enable()
1730 nv50_hdmi_enable(&nv_encoder->base.base, nv_crtc, nv_connector, state, mode); in nv50_sor_atomic_enable()
1741 if (nv_connector->type == DCB_CONNECTOR_LVDS_SPWG) { in nv50_sor_atomic_enable()
1742 if (((u8 *)nv_connector->edid)[121] == 2) in nv50_sor_atomic_enable()
1771 nv50_audio_enable(encoder, nv_crtc, nv_connector, state, mode); in nv50_sor_atomic_enable()
1774 backlight = nv_connector->backlight; in nv50_sor_atomic_enable()
1776 drm_edp_backlight_enable(&nv_connector->aux, &backlight->edp_info, in nv50_sor_atomic_enable()
1830 struct nouveau_connector *nv_connector = nouveau_connector(connector); in nv50_sor_create() local
1879 nv_encoder->i2c = &nv_connector->aux.ddc; in nv50_sor_create()
1884 if (nv_connector->type != DCB_CONNECTOR_eDP && in nv50_sor_create()
1886 ret = nv50_mstm_new(nv_encoder, &nv_connector->aux, in nv50_sor_create()
1887 16, nv_connector->base.base.id, in nv50_sor_create()