Lines Matching refs:intel_encoder
374 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on() argument
376 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_vdd_on()
377 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_vdd_on()
394 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off() argument
396 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_vdd_off()
409 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on() argument
411 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_on()
412 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_on()
436 static void cdv_intel_edp_panel_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_off() argument
438 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_off()
440 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_off()
468 static void cdv_intel_edp_backlight_on (struct gma_encoder *intel_encoder) in cdv_intel_edp_backlight_on() argument
470 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_backlight_on()
488 static void cdv_intel_edp_backlight_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_backlight_off() argument
490 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_backlight_off()
491 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_backlight_off()
894 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_mode_fixup() local
895 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_dp_mode_fixup()
897 int max_lane_count = cdv_intel_dp_max_lane_count(intel_encoder); in cdv_intel_dp_mode_fixup()
898 int max_clock = cdv_intel_dp_max_link_bw(intel_encoder) == DP_LINK_BW_2_7 ? 1 : 0; in cdv_intel_dp_mode_fixup()
903 if (is_edp(intel_encoder) && intel_dp->panel_fixed_mode) { in cdv_intel_dp_mode_fixup()
925 if (is_edp(intel_encoder)) { in cdv_intel_dp_mode_fixup()
997 struct gma_encoder *intel_encoder; in cdv_intel_dp_set_m_n() local
1003 intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_set_m_n()
1004 intel_dp = intel_encoder->dev_priv; in cdv_intel_dp_set_m_n()
1005 if (intel_encoder->type == INTEL_OUTPUT_DISPLAYPORT) { in cdv_intel_dp_set_m_n()
1008 } else if (is_edp(intel_encoder)) { in cdv_intel_dp_set_m_n()
1037 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_mode_set() local
1040 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_dp_mode_set()
1086 if (is_edp(intel_encoder)) { in cdv_intel_dp_mode_set()
1088 cdv_intel_edp_panel_on(intel_encoder); in cdv_intel_dp_mode_set()
1136 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_prepare() local
1137 int edp = is_edp(intel_encoder); in cdv_intel_dp_prepare()
1140 cdv_intel_edp_backlight_off(intel_encoder); in cdv_intel_dp_prepare()
1141 cdv_intel_edp_panel_off(intel_encoder); in cdv_intel_dp_prepare()
1142 cdv_intel_edp_panel_vdd_on(intel_encoder); in cdv_intel_dp_prepare()
1145 cdv_intel_dp_sink_dpms(intel_encoder, DRM_MODE_DPMS_ON); in cdv_intel_dp_prepare()
1146 cdv_intel_dp_link_down(intel_encoder); in cdv_intel_dp_prepare()
1148 cdv_intel_edp_panel_vdd_off(intel_encoder); in cdv_intel_dp_prepare()
1153 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_commit() local
1154 int edp = is_edp(intel_encoder); in cdv_intel_dp_commit()
1157 cdv_intel_edp_panel_on(intel_encoder); in cdv_intel_dp_commit()
1158 cdv_intel_dp_start_link_train(intel_encoder); in cdv_intel_dp_commit()
1159 cdv_intel_dp_complete_link_train(intel_encoder); in cdv_intel_dp_commit()
1161 cdv_intel_edp_backlight_on(intel_encoder); in cdv_intel_dp_commit()
1167 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_dpms() local
1168 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_dp_dpms()
1171 int edp = is_edp(intel_encoder); in cdv_intel_dp_dpms()
1175 cdv_intel_edp_backlight_off(intel_encoder); in cdv_intel_dp_dpms()
1176 cdv_intel_edp_panel_vdd_on(intel_encoder); in cdv_intel_dp_dpms()
1178 cdv_intel_dp_sink_dpms(intel_encoder, mode); in cdv_intel_dp_dpms()
1179 cdv_intel_dp_link_down(intel_encoder); in cdv_intel_dp_dpms()
1181 cdv_intel_edp_panel_vdd_off(intel_encoder); in cdv_intel_dp_dpms()
1182 cdv_intel_edp_panel_off(intel_encoder); in cdv_intel_dp_dpms()
1186 cdv_intel_edp_panel_on(intel_encoder); in cdv_intel_dp_dpms()
1187 cdv_intel_dp_sink_dpms(intel_encoder, mode); in cdv_intel_dp_dpms()
1189 cdv_intel_dp_start_link_train(intel_encoder); in cdv_intel_dp_dpms()
1190 cdv_intel_dp_complete_link_train(intel_encoder); in cdv_intel_dp_dpms()
1193 cdv_intel_edp_backlight_on(intel_encoder); in cdv_intel_dp_dpms()
1725 struct gma_encoder *intel_encoder = gma_attached_encoder(connector); in cdv_intel_dp_get_modes() local
1726 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_dp_get_modes()
1729 int edp = is_edp(intel_encoder); in cdv_intel_dp_get_modes()
1739 if (is_edp(intel_encoder)) { in cdv_intel_dp_get_modes()
1743 cdv_intel_edp_panel_vdd_off(intel_encoder); in cdv_intel_dp_get_modes()