Lines Matching refs:pipe_config
712 struct intel_crtc_config *pipe_config) in intel_hdmi_get_config() argument
733 pipe_config->has_hdmi_sink = true; in intel_hdmi_get_config()
736 pipe_config->has_audio = true; in intel_hdmi_get_config()
740 pipe_config->limited_color_range = true; in intel_hdmi_get_config()
742 pipe_config->adjusted_mode.flags |= flags; in intel_hdmi_get_config()
745 dotclock = pipe_config->port_clock * 2 / 3; in intel_hdmi_get_config()
747 dotclock = pipe_config->port_clock; in intel_hdmi_get_config()
750 ironlake_check_encoder_dotclock(pipe_config, dotclock); in intel_hdmi_get_config()
752 pipe_config->adjusted_mode.crtc_clock = dotclock; in intel_hdmi_get_config()
914 struct intel_crtc_config *pipe_config) in intel_hdmi_compute_config() argument
918 struct drm_display_mode *adjusted_mode = &pipe_config->adjusted_mode; in intel_hdmi_compute_config()
919 int clock_12bpc = pipe_config->adjusted_mode.crtc_clock * 3 / 2; in intel_hdmi_compute_config()
923 pipe_config->has_hdmi_sink = intel_hdmi->has_hdmi_sink; in intel_hdmi_compute_config()
927 if (pipe_config->has_hdmi_sink && in intel_hdmi_compute_config()
935 pipe_config->pixel_multiplier = 2; in intel_hdmi_compute_config()
939 pipe_config->limited_color_range = true; in intel_hdmi_compute_config()
942 pipe_config->has_pch_encoder = true; in intel_hdmi_compute_config()
944 if (pipe_config->has_hdmi_sink && intel_hdmi->has_audio) in intel_hdmi_compute_config()
945 pipe_config->has_audio = true; in intel_hdmi_compute_config()
953 if (pipe_config->pipe_bpp > 8*3 && pipe_config->has_hdmi_sink && in intel_hdmi_compute_config()
960 pipe_config->port_clock = clock_12bpc; in intel_hdmi_compute_config()
966 if (!pipe_config->bw_constrained) { in intel_hdmi_compute_config()
968 pipe_config->pipe_bpp = desired_bpp; in intel_hdmi_compute_config()