Lines Matching refs:pipe_config

190 				  const struct intel_crtc_state *pipe_config)  in g4x_infoframe_enabled()  argument
247 const struct intel_crtc_state *pipe_config) in ibx_infoframe_enabled() argument
251 enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; in ibx_infoframe_enabled()
310 const struct intel_crtc_state *pipe_config) in cpt_infoframe_enabled() argument
313 enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; in cpt_infoframe_enabled()
365 const struct intel_crtc_state *pipe_config) in vlv_infoframe_enabled() argument
369 enum pipe pipe = to_intel_crtc(pipe_config->base.crtc)->pipe; in vlv_infoframe_enabled()
419 const struct intel_crtc_state *pipe_config) in hsw_infoframe_enabled() argument
422 u32 val = I915_READ(HSW_TVIDEO_DIP_CTL(pipe_config->cpu_transcoder)); in hsw_infoframe_enabled()
1194 struct intel_crtc_state *pipe_config) in intel_hdmi_get_config() argument
1203 pipe_config->output_types |= BIT(INTEL_OUTPUT_HDMI); in intel_hdmi_get_config()
1218 pipe_config->has_hdmi_sink = true; in intel_hdmi_get_config()
1220 if (intel_dig_port->infoframe_enabled(&encoder->base, pipe_config)) in intel_hdmi_get_config()
1221 pipe_config->has_infoframe = true; in intel_hdmi_get_config()
1224 pipe_config->has_audio = true; in intel_hdmi_get_config()
1228 pipe_config->limited_color_range = true; in intel_hdmi_get_config()
1230 pipe_config->base.adjusted_mode.flags |= flags; in intel_hdmi_get_config()
1233 dotclock = pipe_config->port_clock * 2 / 3; in intel_hdmi_get_config()
1235 dotclock = pipe_config->port_clock; in intel_hdmi_get_config()
1237 if (pipe_config->pixel_multiplier) in intel_hdmi_get_config()
1238 dotclock /= pipe_config->pixel_multiplier; in intel_hdmi_get_config()
1240 pipe_config->base.adjusted_mode.crtc_clock = dotclock; in intel_hdmi_get_config()
1242 pipe_config->lane_count = 4; in intel_hdmi_get_config()
1246 const struct intel_crtc_state *pipe_config, in intel_enable_hdmi_audio() argument
1249 struct intel_crtc *crtc = to_intel_crtc(pipe_config->base.crtc); in intel_enable_hdmi_audio()
1251 WARN_ON(!pipe_config->has_hdmi_sink); in intel_enable_hdmi_audio()
1254 intel_audio_codec_enable(encoder, pipe_config, conn_state); in intel_enable_hdmi_audio()
1258 const struct intel_crtc_state *pipe_config, in g4x_enable_hdmi() argument
1269 if (pipe_config->has_audio) in g4x_enable_hdmi()
1275 if (pipe_config->has_audio) in g4x_enable_hdmi()
1276 intel_enable_hdmi_audio(encoder, pipe_config, conn_state); in g4x_enable_hdmi()
1280 const struct intel_crtc_state *pipe_config, in ibx_enable_hdmi() argument
1291 if (pipe_config->has_audio) in ibx_enable_hdmi()
1310 if (pipe_config->pipe_bpp > 24 && in ibx_enable_hdmi()
1311 pipe_config->pixel_multiplier > 1) { in ibx_enable_hdmi()
1325 if (pipe_config->has_audio) in ibx_enable_hdmi()
1326 intel_enable_hdmi_audio(encoder, pipe_config, conn_state); in ibx_enable_hdmi()
1330 const struct intel_crtc_state *pipe_config, in cpt_enable_hdmi() argument
1335 struct intel_crtc *crtc = to_intel_crtc(pipe_config->base.crtc); in cpt_enable_hdmi()
1343 if (pipe_config->has_audio) in cpt_enable_hdmi()
1356 if (pipe_config->pipe_bpp > 24) { in cpt_enable_hdmi()
1368 if (pipe_config->pipe_bpp > 24) { in cpt_enable_hdmi()
1380 if (pipe_config->has_audio) in cpt_enable_hdmi()
1381 intel_enable_hdmi_audio(encoder, pipe_config, conn_state); in cpt_enable_hdmi()
1385 const struct intel_crtc_state *pipe_config, in vlv_enable_hdmi() argument
1687 struct intel_crtc_state *pipe_config, in intel_hdmi_compute_config() argument
1692 struct drm_display_mode *adjusted_mode = &pipe_config->base.adjusted_mode; in intel_hdmi_compute_config()
1697 int clock_8bpc = pipe_config->base.adjusted_mode.crtc_clock; in intel_hdmi_compute_config()
1706 pipe_config->has_hdmi_sink = !force_dvi && intel_hdmi->has_hdmi_sink; in intel_hdmi_compute_config()
1708 if (pipe_config->has_hdmi_sink) in intel_hdmi_compute_config()
1709 pipe_config->has_infoframe = true; in intel_hdmi_compute_config()
1713 pipe_config->limited_color_range = in intel_hdmi_compute_config()
1714 pipe_config->has_hdmi_sink && in intel_hdmi_compute_config()
1718 pipe_config->limited_color_range = in intel_hdmi_compute_config()
1723 pipe_config->pixel_multiplier = 2; in intel_hdmi_compute_config()
1730 if (!intel_hdmi_ycbcr420_config(connector, pipe_config, in intel_hdmi_compute_config()
1739 pipe_config->has_pch_encoder = true; in intel_hdmi_compute_config()
1741 if (pipe_config->has_hdmi_sink) { in intel_hdmi_compute_config()
1743 pipe_config->has_audio = intel_hdmi->has_audio; in intel_hdmi_compute_config()
1745 pipe_config->has_audio = in intel_hdmi_compute_config()
1753 if (hdmi_deep_color_possible(pipe_config, 12) && in intel_hdmi_compute_config()
1760 pipe_config->port_clock = clock_12bpc; in intel_hdmi_compute_config()
1761 } else if (hdmi_deep_color_possible(pipe_config, 10) && in intel_hdmi_compute_config()
1768 pipe_config->port_clock = clock_10bpc; in intel_hdmi_compute_config()
1773 pipe_config->port_clock = clock_8bpc; in intel_hdmi_compute_config()
1776 if (!pipe_config->bw_constrained) { in intel_hdmi_compute_config()
1778 pipe_config->pipe_bpp = desired_bpp; in intel_hdmi_compute_config()
1781 if (hdmi_port_clock_valid(intel_hdmi, pipe_config->port_clock, in intel_hdmi_compute_config()
1790 pipe_config->lane_count = 4; in intel_hdmi_compute_config()
1795 pipe_config->hdmi_scrambling = true; in intel_hdmi_compute_config()
1797 if (pipe_config->port_clock > 340000) { in intel_hdmi_compute_config()
1798 pipe_config->hdmi_scrambling = true; in intel_hdmi_compute_config()
1799 pipe_config->hdmi_high_tmds_clock_ratio = true; in intel_hdmi_compute_config()
1964 const struct intel_crtc_state *pipe_config, in intel_hdmi_pre_enable() argument
1970 intel_hdmi_prepare(encoder, pipe_config); in intel_hdmi_pre_enable()
1973 pipe_config->has_infoframe, in intel_hdmi_pre_enable()
1974 pipe_config, conn_state); in intel_hdmi_pre_enable()
1978 const struct intel_crtc_state *pipe_config, in vlv_hdmi_pre_enable() argument
1984 vlv_phy_pre_encoder_enable(encoder, pipe_config); in vlv_hdmi_pre_enable()
1991 pipe_config->has_infoframe, in vlv_hdmi_pre_enable()
1992 pipe_config, conn_state); in vlv_hdmi_pre_enable()
1994 g4x_enable_hdmi(encoder, pipe_config, conn_state); in vlv_hdmi_pre_enable()
2000 const struct intel_crtc_state *pipe_config, in vlv_hdmi_pre_pll_enable() argument
2003 intel_hdmi_prepare(encoder, pipe_config); in vlv_hdmi_pre_pll_enable()
2005 vlv_phy_pre_pll_enable(encoder, pipe_config); in vlv_hdmi_pre_pll_enable()
2009 const struct intel_crtc_state *pipe_config, in chv_hdmi_pre_pll_enable() argument
2012 intel_hdmi_prepare(encoder, pipe_config); in chv_hdmi_pre_pll_enable()
2014 chv_phy_pre_pll_enable(encoder, pipe_config); in chv_hdmi_pre_pll_enable()
2048 const struct intel_crtc_state *pipe_config, in chv_hdmi_pre_enable() argument
2055 chv_phy_pre_encoder_enable(encoder, pipe_config); in chv_hdmi_pre_enable()
2062 pipe_config->has_infoframe, in chv_hdmi_pre_enable()
2063 pipe_config, conn_state); in chv_hdmi_pre_enable()
2065 g4x_enable_hdmi(encoder, pipe_config, conn_state); in chv_hdmi_pre_enable()