Lines Matching refs:pipe_config
1251 static void i9xx_adjust_sdvo_tv_clock(struct intel_crtc_state *pipe_config) in i9xx_adjust_sdvo_tv_clock() argument
1253 struct drm_i915_private *dev_priv = to_i915(pipe_config->uapi.crtc->dev); in i9xx_adjust_sdvo_tv_clock()
1254 unsigned dotclock = pipe_config->port_clock; in i9xx_adjust_sdvo_tv_clock()
1255 struct dpll *clock = &pipe_config->dpll; in i9xx_adjust_sdvo_tv_clock()
1278 pipe_config->clock_set = true; in i9xx_adjust_sdvo_tv_clock()
1301 struct intel_crtc_state *pipe_config, in intel_sdvo_compute_config() argument
1309 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_sdvo_compute_config()
1310 struct drm_display_mode *mode = &pipe_config->hw.mode; in intel_sdvo_compute_config()
1313 pipe_config->pipe_bpp = 8*3; in intel_sdvo_compute_config()
1314 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_sdvo_compute_config()
1317 pipe_config->has_pch_encoder = true; in intel_sdvo_compute_config()
1333 pipe_config->sdvo_tv_clock = true; in intel_sdvo_compute_config()
1360 pipe_config->pixel_multiplier = in intel_sdvo_compute_config()
1363 pipe_config->has_hdmi_sink = intel_has_hdmi_sink(intel_sdvo, conn_state); in intel_sdvo_compute_config()
1365 if (pipe_config->has_hdmi_sink) { in intel_sdvo_compute_config()
1367 pipe_config->has_audio = intel_sdvo->has_hdmi_audio; in intel_sdvo_compute_config()
1369 pipe_config->has_audio = in intel_sdvo_compute_config()
1373 pipe_config->limited_color_range = in intel_sdvo_compute_config()
1374 intel_sdvo_limited_color_range(encoder, pipe_config, in intel_sdvo_compute_config()
1379 i9xx_adjust_sdvo_tv_clock(pipe_config); in intel_sdvo_compute_config()
1386 pipe_config, conn_state)) { in intel_sdvo_compute_config()
1635 struct intel_crtc_state *pipe_config) in intel_sdvo_get_config() argument
1647 pipe_config->output_types |= BIT(INTEL_OUTPUT_SDVO); in intel_sdvo_get_config()
1658 pipe_config->quirks |= PIPE_CONFIG_QUIRK_MODE_SYNC_FLAGS; in intel_sdvo_get_config()
1671 pipe_config->hw.adjusted_mode.flags |= flags; in intel_sdvo_get_config()
1681 pipe_config->pixel_multiplier = in intel_sdvo_get_config()
1686 dotclock = pipe_config->port_clock; in intel_sdvo_get_config()
1688 if (pipe_config->pixel_multiplier) in intel_sdvo_get_config()
1689 dotclock /= pipe_config->pixel_multiplier; in intel_sdvo_get_config()
1691 pipe_config->hw.adjusted_mode.crtc_clock = dotclock; in intel_sdvo_get_config()
1710 encoder_pixel_multiplier != pipe_config->pixel_multiplier, in intel_sdvo_get_config()
1712 pipe_config->pixel_multiplier, encoder_pixel_multiplier); in intel_sdvo_get_config()
1717 pipe_config->limited_color_range = true; in intel_sdvo_get_config()
1725 pipe_config->has_audio = true; in intel_sdvo_get_config()
1731 pipe_config->has_hdmi_sink = true; in intel_sdvo_get_config()
1734 intel_sdvo_get_avi_infoframe(intel_sdvo, pipe_config); in intel_sdvo_get_config()
1829 const struct intel_crtc_state *pipe_config, in intel_enable_sdvo() argument
1835 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_enable_sdvo()
1866 if (pipe_config->has_audio) in intel_enable_sdvo()
1867 intel_sdvo_enable_audio(intel_sdvo, pipe_config, conn_state); in intel_enable_sdvo()