• Home
  • Raw
  • Download

Lines Matching refs:nv_connector

643 	struct nouveau_connector *nv_connector;  in nv50_crtc_set_dither()  local
647 nv_connector = nouveau_crtc_connector_get(nv_crtc); in nv50_crtc_set_dither()
648 connector = &nv_connector->base; in nv50_crtc_set_dither()
649 if (nv_connector->dithering_mode == DITHERING_MODE_AUTO) { in nv50_crtc_set_dither()
653 mode = nv_connector->dithering_mode; in nv50_crtc_set_dither()
656 if (nv_connector->dithering_depth == DITHERING_DEPTH_AUTO) { in nv50_crtc_set_dither()
660 mode |= nv_connector->dithering_depth; in nv50_crtc_set_dither()
693 struct nouveau_connector *nv_connector; in nv50_crtc_set_scale() local
700 nv_connector = nouveau_crtc_connector_get(nv_crtc); in nv50_crtc_set_scale()
701 if (nv_connector && nv_connector->native_mode) in nv50_crtc_set_scale()
702 mode = nv_connector->scaling_mode; in nv50_crtc_set_scale()
705 omode = nv_connector->native_mode; in nv50_crtc_set_scale()
718 if (nv_connector && ( nv_connector->underscan == UNDERSCAN_ON || in nv50_crtc_set_scale()
719 (nv_connector->underscan == UNDERSCAN_AUTO && in nv50_crtc_set_scale()
720 nv_connector->edid && in nv50_crtc_set_scale()
721 drm_detect_hdmi_monitor(nv_connector->edid)))) { in nv50_crtc_set_scale()
722 u32 bX = nv_connector->underscan_hborder; in nv50_crtc_set_scale()
723 u32 bY = nv_connector->underscan_vborder; in nv50_crtc_set_scale()
1062 struct nouveau_connector *nv_connector; in nv50_crtc_mode_set() local
1134 nv_connector = nouveau_crtc_connector_get(nv_crtc); in nv50_crtc_mode_set()
1457 struct nouveau_connector *nv_connector; in nv50_dac_mode_fixup() local
1459 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_dac_mode_fixup()
1460 if (nv_connector && nv_connector->native_mode) { in nv50_dac_mode_fixup()
1461 if (nv_connector->scaling_mode != DRM_MODE_SCALE_NONE) { in nv50_dac_mode_fixup()
1463 *adjusted_mode = *nv_connector->native_mode; in nv50_dac_mode_fixup()
1623 struct nouveau_connector *nv_connector; in nv50_audio_mode_set() local
1626 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_audio_mode_set()
1627 if (!drm_detect_monitor_audio(nv_connector->edid)) in nv50_audio_mode_set()
1630 drm_edid_to_eld(&nv_connector->base, nv_connector->edid); in nv50_audio_mode_set()
1633 nv_connector->base.eld, in nv50_audio_mode_set()
1634 nv_connector->base.eld[2] * 4); in nv50_audio_mode_set()
1654 struct nouveau_connector *nv_connector; in nv50_hdmi_mode_set() local
1660 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_hdmi_mode_set()
1661 if (!drm_detect_hdmi_monitor(nv_connector->edid)) in nv50_hdmi_mode_set()
1726 struct nouveau_connector *nv_connector; in nv50_sor_mode_fixup() local
1728 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_sor_mode_fixup()
1729 if (nv_connector && nv_connector->native_mode) { in nv50_sor_mode_fixup()
1730 if (nv_connector->scaling_mode != DRM_MODE_SCALE_NONE) { in nv50_sor_mode_fixup()
1732 *adjusted_mode = *nv_connector->native_mode; in nv50_sor_mode_fixup()
1785 struct nouveau_connector *nv_connector; in nv50_sor_mode_set() local
1792 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_sor_mode_set()
1815 if (nv_connector->type == DCB_CONNECTOR_LVDS_SPWG) { in nv50_sor_mode_set()
1816 if (((u8 *)nv_connector->edid)[121] == 2) in nv50_sor_mode_set()
1831 if (nv_connector->base.display_info.bpc == 8) in nv50_sor_mode_set()
1838 if (nv_connector->base.display_info.bpc == 6) { in nv50_sor_mode_set()
1842 if (nv_connector->base.display_info.bpc == 8) { in nv50_sor_mode_set()
1974 struct nouveau_connector *nv_connector; in nv50_pior_mode_fixup() local
1976 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_pior_mode_fixup()
1977 if (nv_connector && nv_connector->native_mode) { in nv50_pior_mode_fixup()
1978 if (nv_connector->scaling_mode != DRM_MODE_SCALE_NONE) { in nv50_pior_mode_fixup()
1980 *adjusted_mode = *nv_connector->native_mode; in nv50_pior_mode_fixup()
2001 struct nouveau_connector *nv_connector; in nv50_pior_mode_set() local
2006 nv_connector = nouveau_encoder_connector_get(nv_encoder); in nv50_pior_mode_set()
2007 switch (nv_connector->base.display_info.bpc) { in nv50_pior_mode_set()