/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_crtc_state_dump.c | 30 intel_dump_m_n_config(const struct intel_crtc_state *pipe_config, in intel_dump_m_n_config() argument 34 struct drm_i915_private *i915 = to_i915(pipe_config->uapi.crtc->dev); in intel_dump_m_n_config() 200 void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config, in intel_crtc_state_dump() argument 204 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_crtc_state_dump() 213 str_yes_no(pipe_config->hw.enable), context); in intel_crtc_state_dump() 215 if (!pipe_config->hw.enable) in intel_crtc_state_dump() 218 snprintf_output_types(buf, sizeof(buf), pipe_config->output_types); in intel_crtc_state_dump() 221 str_yes_no(pipe_config->hw.active), in intel_crtc_state_dump() 222 buf, pipe_config->output_types, in intel_crtc_state_dump() 223 intel_output_format_name(pipe_config in intel_crtc_state_dump() [all...] |
H A D | g4x_hdmi.c | 149 struct intel_crtc_state *pipe_config) in intel_hdmi_get_config() 157 pipe_config->output_types |= BIT(INTEL_OUTPUT_HDMI); in intel_hdmi_get_config() 172 pipe_config->has_hdmi_sink = true; in intel_hdmi_get_config() 174 pipe_config->infoframes.enable |= in intel_hdmi_get_config() 175 intel_hdmi_infoframes_enabled(encoder, pipe_config); in intel_hdmi_get_config() 177 if (pipe_config->infoframes.enable) in intel_hdmi_get_config() 178 pipe_config->has_infoframe = true; in intel_hdmi_get_config() 181 pipe_config->has_audio = true; in intel_hdmi_get_config() 185 pipe_config->limited_color_range = true; in intel_hdmi_get_config() 187 pipe_config in intel_hdmi_get_config() 148 intel_hdmi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_hdmi_get_config() argument 216 g4x_hdmi_enable_port(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) g4x_hdmi_enable_port() argument 234 g4x_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_enable_hdmi() argument 248 ibx_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) ibx_enable_hdmi() argument 301 cpt_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) cpt_enable_hdmi() argument 356 vlv_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_enable_hdmi() argument 453 intel_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_hdmi_pre_enable() argument 468 vlv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_enable() argument 492 vlv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_pll_enable() argument 502 chv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_pll_enable() argument 545 chv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_enable() argument [all...] |
H A D | g4x_dp.c | 57 struct intel_crtc_state *pipe_config) in g4x_dp_set_clock() 79 if (pipe_config->port_clock == divisor[i].dot) { in g4x_dp_set_clock() 80 pipe_config->dpll = divisor[i]; in g4x_dp_set_clock() 81 pipe_config->clock_set = true; in g4x_dp_set_clock() 89 const struct intel_crtc_state *pipe_config) in intel_dp_prepare() 94 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_dp_prepare() 95 const struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dp_prepare() 98 pipe_config->port_clock, in intel_dp_prepare() 99 pipe_config->lane_count); in intel_dp_prepare() 124 intel_dp->DP |= DP_PORT_WIDTH(pipe_config in intel_dp_prepare() 56 g4x_dp_set_clock(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) g4x_dp_set_clock() argument 88 intel_dp_prepare(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) intel_dp_prepare() argument 190 ilk_edp_pll_on(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) ilk_edp_pll_on() argument 332 intel_dp_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dp_get_config() argument 641 intel_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_dp() argument 683 g4x_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_enable_dp() argument 693 vlv_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_enable_dp() argument 702 g4x_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_pre_enable_dp() argument 717 vlv_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_pre_enable_dp() argument 727 vlv_dp_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_dp_pre_pll_enable() argument 737 chv_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_pre_enable_dp() argument 750 chv_dp_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_dp_pre_pll_enable() argument [all...] |
H A D | intel_modeset_verify.c | 90 const struct intel_crtc_state *pipe_config) in intel_pipe_config_sanity_check() 92 if (pipe_config->has_pch_encoder) { in intel_pipe_config_sanity_check() 93 int fdi_dotclock = intel_dotclock_calculate(intel_fdi_link_freq(dev_priv, pipe_config), in intel_pipe_config_sanity_check() 94 &pipe_config->fdi_m_n); in intel_pipe_config_sanity_check() 95 int dotclock = pipe_config->hw.adjusted_mode.crtc_clock; in intel_pipe_config_sanity_check() 166 struct intel_crtc_state *pipe_config = old_crtc_state; in verify_crtc_state() local 178 pipe_config->hw.enable = new_crtc_state->hw.enable; in verify_crtc_state() 180 intel_crtc_get_pipe_config(pipe_config); in verify_crtc_state() 183 if (IS_I830(dev_priv) && pipe_config->hw.active) in verify_crtc_state() 184 pipe_config in verify_crtc_state() 89 intel_pipe_config_sanity_check(struct drm_i915_private *dev_priv, const struct intel_crtc_state *pipe_config) intel_pipe_config_sanity_check() argument [all...] |
H A D | intel_dp_mst.c | 306 struct intel_crtc_state *pipe_config, in intel_dp_mst_compute_config() 313 &pipe_config->hw.adjusted_mode; in intel_dp_mst_compute_config() 320 pipe_config->sink_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dp_mst_compute_config() 321 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dp_mst_compute_config() 322 pipe_config->has_pch_encoder = false; in intel_dp_mst_compute_config() 324 pipe_config->has_audio = in intel_dp_mst_compute_config() 326 intel_audio_compute_config(encoder, pipe_config, conn_state); in intel_dp_mst_compute_config() 338 limits.min_bpp = intel_dp_min_bpp(pipe_config->output_format); in intel_dp_mst_compute_config() 347 limits.max_bpp = min(pipe_config->pipe_bpp, 24); in intel_dp_mst_compute_config() 349 intel_dp_adjust_compliance_config(intel_dp, pipe_config, in intel_dp_mst_compute_config() 305 intel_dp_mst_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_mst_compute_config() argument 665 intel_mst_pre_pll_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_pre_pll_enable_dp() argument 686 intel_mst_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_pre_enable_dp() argument 745 intel_mst_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_enable_dp() argument 816 intel_dp_mst_enc_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dp_mst_enc_get_config() argument [all...] |
H A D | intel_crt.c | 141 struct intel_crtc_state *pipe_config) in intel_crt_get_config() 143 pipe_config->output_types |= BIT(INTEL_OUTPUT_ANALOG); in intel_crt_get_config() 145 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in intel_crt_get_config() 147 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config() 151 struct intel_crtc_state *pipe_config) in hsw_crt_get_config() 153 lpt_pch_get_config(pipe_config); in hsw_crt_get_config() 155 hsw_ddi_get_config(encoder, pipe_config); in hsw_crt_get_config() 157 pipe_config->hw.adjusted_mode.flags &= ~(DRM_MODE_FLAG_PHSYNC | in hsw_crt_get_config() 161 pipe_config in hsw_crt_get_config() 140 intel_crt_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_crt_get_config() argument 150 hsw_crt_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) hsw_crt_get_config() argument 394 intel_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_crt_compute_config() argument 410 pch_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) pch_crt_compute_config() argument 426 hsw_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) hsw_crt_compute_config() argument [all...] |
H A D | intel_dp.c | 1311 const struct intel_crtc_state *pipe_config) in intel_dp_source_supports_fec() 1319 if (DISPLAY_VER(dev_priv) == 11 && pipe_config->cpu_transcoder != TRANSCODER_A) in intel_dp_source_supports_fec() 1326 const struct intel_crtc_state *pipe_config) in intel_dp_supports_fec() 1328 return intel_dp_source_supports_fec(intel_dp, pipe_config) && in intel_dp_supports_fec() 1417 struct intel_crtc_state *pipe_config, in intel_dp_adjust_compliance_config() 1427 pipe_config->dither_force_disable = bpp == 6 * 3; in intel_dp_adjust_compliance_config() 1481 struct intel_crtc_state *pipe_config, in intel_dp_compute_link_config_wide() 1485 int bpp, i, lane_count, clock = intel_dp_mode_clock(pipe_config, conn_state); in intel_dp_compute_link_config_wide() 1489 int output_bpp = intel_dp_output_bpp(pipe_config->output_format, bpp); in intel_dp_compute_link_config_wide() 1506 pipe_config in intel_dp_compute_link_config_wide() 1310 intel_dp_source_supports_fec(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) intel_dp_source_supports_fec() argument 1325 intel_dp_supports_fec(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) intel_dp_supports_fec() argument 1416 intel_dp_adjust_compliance_config(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, struct link_config_limits *limits) intel_dp_adjust_compliance_config() argument 1480 intel_dp_compute_link_config_wide(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state, const struct link_config_limits *limits) intel_dp_compute_link_config_wide() argument 1658 intel_dp_dsc_compute_config(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state, struct link_config_limits *limits, int timeslots, bool compute_pipe_bpp) intel_dp_dsc_compute_config() argument 1804 intel_dp_compute_link_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state, bool respect_downstream_limits) intel_dp_compute_link_config() argument 2111 can_enable_drrs(struct intel_connector *connector, const struct intel_crtc_state *pipe_config, const struct drm_display_mode *downclock_mode) can_enable_drrs() argument 2141 intel_dp_drrs_compute_config(struct intel_connector *connector, struct intel_crtc_state *pipe_config, int output_bpp) intel_dp_drrs_compute_config() argument 2240 intel_dp_audio_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_audio_compute_config() argument 2257 intel_dp_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_compute_config() argument [all...] |
H A D | intel_fdi.c | 132 struct intel_crtc_state *pipe_config) in ilk_check_fdi_lanes() 135 struct drm_atomic_state *state = pipe_config->uapi.state; in ilk_check_fdi_lanes() 141 pipe_name(pipe), pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 142 if (pipe_config->fdi_lanes > 4) { in ilk_check_fdi_lanes() 145 pipe_name(pipe), pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 150 if (pipe_config->fdi_lanes > 2) { in ilk_check_fdi_lanes() 153 pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 168 if (pipe_config->fdi_lanes <= 2) in ilk_check_fdi_lanes() 180 pipe_name(pipe), pipe_config->fdi_lanes); in ilk_check_fdi_lanes() 185 if (pipe_config in ilk_check_fdi_lanes() 131 ilk_check_fdi_lanes(struct drm_device *dev, enum pipe pipe, struct intel_crtc_state *pipe_config) ilk_check_fdi_lanes() argument 226 intel_fdi_link_freq(struct drm_i915_private *i915, const struct intel_crtc_state *pipe_config) intel_fdi_link_freq() argument 235 ilk_fdi_compute_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) ilk_fdi_compute_config() argument [all...] |
H A D | intel_dvo.c | 158 struct intel_crtc_state *pipe_config) in intel_dvo_get_config() 164 pipe_config->output_types |= BIT(INTEL_OUTPUT_DVO); in intel_dvo_get_config() 176 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config() 178 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config() 198 const struct intel_crtc_state *pipe_config, in intel_enable_dvo() 206 &pipe_config->hw.mode, in intel_enable_dvo() 207 &pipe_config->hw.adjusted_mode); in intel_enable_dvo() 254 struct intel_crtc_state *pipe_config, in intel_dvo_compute_config() 259 struct drm_display_mode *adjusted_mode = &pipe_config in intel_dvo_compute_config() 157 intel_dvo_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dvo_get_config() argument 196 intel_enable_dvo(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_dvo() argument 253 intel_dvo_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dvo_compute_config() argument 286 intel_dvo_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_dvo_pre_enable() argument [all...] |
H A D | intel_display.c | 2604 struct intel_crtc_state *pipe_config) in intel_get_transcoder_timings() 2608 enum transcoder cpu_transcoder = pipe_config->cpu_transcoder; in intel_get_transcoder_timings() 2609 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_get_transcoder_timings() 2640 if (intel_pipe_is_interlaced(pipe_config)) { in intel_get_transcoder_timings() 2670 struct intel_crtc_state *pipe_config) in intel_get_pipe_src_size() 2678 drm_rect_init(&pipe_config->pipe_src, 0, 0, in intel_get_pipe_src_size() 2682 intel_bigjoiner_adjust_pipe_src(pipe_config); in intel_get_pipe_src_size() 2791 struct intel_crtc_state *pipe_config) in vlv_crtc_clock_get() 2801 if ((pipe_config->dpll_hw_state.dpll & DPLL_VCO_ENABLE) == 0) in vlv_crtc_clock_get() 2814 pipe_config in vlv_crtc_clock_get() 2603 intel_get_transcoder_timings(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_get_transcoder_timings() argument 2669 intel_get_pipe_src_size(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_get_pipe_src_size() argument 2790 vlv_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) vlv_crtc_clock_get() argument 2817 chv_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) chv_crtc_clock_get() argument 2890 i9xx_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) i9xx_get_pipe_config() argument 3286 ilk_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) ilk_get_pipe_config() argument 3589 hsw_get_transcoder_state(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config, struct intel_display_power_domain_set *power_domain_set) hsw_get_transcoder_state() argument 3627 bxt_get_dsi_transcoder_state(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config, struct intel_display_power_domain_set *power_domain_set) bxt_get_dsi_transcoder_state() argument 3690 hsw_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) hsw_get_pipe_config() argument 3818 i9xx_pll_refclk(struct drm_device *dev, const struct intel_crtc_state *pipe_config) i9xx_pll_refclk() argument 3835 i9xx_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) i9xx_crtc_clock_get() argument 3947 intel_crtc_dotclock(const struct intel_crtc_state *pipe_config) intel_crtc_dotclock() argument 5003 intel_pipe_config_compare(const struct intel_crtc_state *current_config, const struct intel_crtc_state *pipe_config, bool fastset) intel_pipe_config_compare() argument [all...] |
H A D | icl_dsi.c | 277 const struct intel_crtc_state *pipe_config) in configure_dual_link_mode() 286 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in configure_dual_link_mode() 302 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 679 const struct intel_crtc_state *pipe_config) in gen11_dsi_configure_transcoder() 683 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in gen11_dsi_configure_transcoder() 699 if (afe_clk(encoder, pipe_config) >= 1500 * 1000) { in gen11_dsi_configure_transcoder() 725 if (pipe_config->dsc.compression_enable) { in gen11_dsi_configure_transcoder() 792 configure_dual_link_mode(encoder, pipe_config); in gen11_dsi_configure_transcoder() 1186 const struct intel_crtc_state *pipe_config, in gen11_dsi_pre_enable() 1190 gen11_dsi_map_pll(encoder, pipe_config); in gen11_dsi_pre_enable() 276 configure_dual_link_mode(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) configure_dual_link_mode() argument 678 gen11_dsi_configure_transcoder(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) gen11_dsi_configure_transcoder() argument 1184 gen11_dsi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) gen11_dsi_pre_enable() argument 1453 gen11_dsi_get_timings(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) gen11_dsi_get_timings() argument 1508 gen11_dsi_get_cmd_mode_config(struct intel_dsi *intel_dsi, struct intel_crtc_state *pipe_config) gen11_dsi_get_cmd_mode_config() argument 1520 gen11_dsi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) gen11_dsi_get_config() argument 1613 gen11_dsi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) gen11_dsi_compute_config() argument [all...] |
H A D | vlv_dsi.c | 271 struct intel_crtc_state *pipe_config, in intel_dsi_compute_config() 278 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() 282 pipe_config->sink_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dsi_compute_config() 283 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dsi_compute_config() 289 ret = intel_panel_fitting(pipe_config, conn_state); in intel_dsi_compute_config() 300 pipe_config->pipe_bpp = 24; in intel_dsi_compute_config() 302 pipe_config->pipe_bpp = 18; in intel_dsi_compute_config() 306 pipe_config->mode_flags |= in intel_dsi_compute_config() 311 pipe_config->cpu_transcoder = TRANSCODER_DSI_C; in intel_dsi_compute_config() 313 pipe_config in intel_dsi_compute_config() 270 intel_dsi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dsi_compute_config() argument 719 intel_dsi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_dsi_pre_enable() argument 1006 bxt_dsi_get_pipe_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) bxt_dsi_get_pipe_config() argument 1169 intel_dsi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dsi_get_config() argument 1298 intel_dsi_prepare(struct intel_encoder *intel_encoder, const struct intel_crtc_state *pipe_config) intel_dsi_prepare() argument [all...] |
H A D | intel_ddi.c | 373 static void ddi_dotclock_get(struct intel_crtc_state *pipe_config) in ddi_dotclock_get() argument 376 if (pipe_config->has_pch_encoder) in ddi_dotclock_get() 379 pipe_config->hw.adjusted_mode.crtc_clock = in ddi_dotclock_get() 380 intel_crtc_dotclock(pipe_config); in ddi_dotclock_get() 2277 struct intel_crtc_state *pipe_config) in intel_ddi_mso_get_config() 2279 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_ddi_mso_get_config() 2289 pipe_config->splitter.enable = dss1 & SPLITTER_ENABLE; in intel_ddi_mso_get_config() 2290 if (!pipe_config->splitter.enable) in intel_ddi_mso_get_config() 2294 pipe_config->splitter.enable = false; in intel_ddi_mso_get_config() 2304 pipe_config in intel_ddi_mso_get_config() 2276 intel_ddi_mso_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_ddi_mso_get_config() argument 3653 intel_ddi_read_func_ctl(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_ddi_read_func_ctl() argument 3773 intel_ddi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_ddi_get_config() argument 4052 intel_ddi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_ddi_compute_config() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_mst.c | 98 struct intel_crtc_state *pipe_config, in intel_dp_mst_compute_config() 109 &pipe_config->hw.adjusted_mode; in intel_dp_mst_compute_config() 116 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dp_mst_compute_config() 117 pipe_config->has_pch_encoder = false; in intel_dp_mst_compute_config() 120 pipe_config->has_audio = connector->port->has_audio; in intel_dp_mst_compute_config() 122 pipe_config->has_audio = in intel_dp_mst_compute_config() 135 limits.min_bpp = intel_dp_min_bpp(pipe_config); in intel_dp_mst_compute_config() 144 limits.max_bpp = min(pipe_config->pipe_bpp, 24); in intel_dp_mst_compute_config() 146 intel_dp_adjust_compliance_config(intel_dp, pipe_config, &limits); in intel_dp_mst_compute_config() 148 ret = intel_dp_mst_compute_link_config(encoder, pipe_config, in intel_dp_mst_compute_config() 97 intel_dp_mst_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_mst_compute_config() argument 451 intel_mst_pre_pll_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_pre_pll_enable_dp() argument 465 intel_mst_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_pre_enable_dp() argument 527 intel_mst_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_mst_enable_dp() argument 583 intel_dp_mst_enc_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dp_mst_enc_get_config() argument [all...] |
H A D | intel_hdmi.c | 269 const struct intel_crtc_state *pipe_config) in g4x_infoframes_enabled() 345 const struct intel_crtc_state *pipe_config) in ibx_infoframes_enabled() 348 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; in ibx_infoframes_enabled() 427 const struct intel_crtc_state *pipe_config) in cpt_infoframes_enabled() 430 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; in cpt_infoframes_enabled() 504 const struct intel_crtc_state *pipe_config) in vlv_infoframes_enabled() 507 enum pipe pipe = to_intel_crtc(pipe_config->uapi.crtc)->pipe; in vlv_infoframes_enabled() 576 const struct intel_crtc_state *pipe_config) in hsw_infoframes_enabled() 580 HSW_TVIDEO_DIP_CTL(pipe_config->cpu_transcoder)); in hsw_infoframes_enabled() 1850 struct intel_crtc_state *pipe_config) in intel_hdmi_get_config() 268 g4x_infoframes_enabled(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) g4x_infoframes_enabled() argument 344 ibx_infoframes_enabled(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) ibx_infoframes_enabled() argument 426 cpt_infoframes_enabled(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) cpt_infoframes_enabled() argument 503 vlv_infoframes_enabled(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) vlv_infoframes_enabled() argument 575 hsw_infoframes_enabled(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) hsw_infoframes_enabled() argument 1849 intel_hdmi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_hdmi_get_config() argument 1915 intel_enable_hdmi_audio(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_hdmi_audio() argument 1928 g4x_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_enable_hdmi() argument 1951 ibx_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) ibx_enable_hdmi() argument 2003 cpt_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) cpt_enable_hdmi() argument 2057 vlv_enable_hdmi(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_enable_hdmi() argument 2499 intel_hdmi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_hdmi_compute_config() argument 2756 intel_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_hdmi_pre_enable() argument 2771 vlv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_enable() argument 2794 vlv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_hdmi_pre_pll_enable() argument 2804 chv_hdmi_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_pll_enable() argument 2847 chv_hdmi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_hdmi_pre_enable() argument [all...] |
H A D | intel_lvds.c | 119 struct intel_crtc_state *pipe_config) in intel_lvds_get_config() 125 pipe_config->output_types |= BIT(INTEL_OUTPUT_LVDS); in intel_lvds_get_config() 137 pipe_config->hw.adjusted_mode.flags |= flags; in intel_lvds_get_config() 140 pipe_config->gmch_pfit.lvds_border_bits = in intel_lvds_get_config() 147 pipe_config->gmch_pfit.control |= tmp & PANEL_8TO6_DITHER_ENABLE; in intel_lvds_get_config() 150 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_lvds_get_config() 225 const struct intel_crtc_state *pipe_config, in intel_pre_enable_lvds() 230 struct intel_crtc *crtc = to_intel_crtc(pipe_config->uapi.crtc); in intel_pre_enable_lvds() 231 const struct drm_display_mode *adjusted_mode = &pipe_config in intel_pre_enable_lvds() 118 intel_lvds_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_lvds_get_config() argument 223 intel_pre_enable_lvds(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_pre_enable_lvds() argument 305 intel_enable_lvds(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_lvds() argument 394 intel_lvds_compute_config(struct intel_encoder *intel_encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_lvds_compute_config() argument [all...] |
H A D | intel_crt.c | 130 struct intel_crtc_state *pipe_config) in intel_crt_get_config() 132 pipe_config->output_types |= BIT(INTEL_OUTPUT_ANALOG); in intel_crt_get_config() 134 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in intel_crt_get_config() 136 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config() 140 struct intel_crtc_state *pipe_config) in hsw_crt_get_config() 144 intel_ddi_get_config(encoder, pipe_config); in hsw_crt_get_config() 146 pipe_config->hw.adjusted_mode.flags &= ~(DRM_MODE_FLAG_PHSYNC | in hsw_crt_get_config() 150 pipe_config->hw.adjusted_mode.flags |= intel_crt_get_flags(encoder); in hsw_crt_get_config() 152 pipe_config in hsw_crt_get_config() 129 intel_crt_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_crt_get_config() argument 139 hsw_crt_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) hsw_crt_get_config() argument 380 intel_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_crt_compute_config() argument 395 pch_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) pch_crt_compute_config() argument 411 hsw_crt_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) hsw_crt_compute_config() argument [all...] |
H A D | intel_display.c | 150 struct intel_crtc_state *pipe_config); 152 struct intel_crtc_state *pipe_config); 167 const struct intel_crtc_state *pipe_config); 169 const struct intel_crtc_state *pipe_config); 246 const struct intel_crtc_state *pipe_config) in intel_fdi_link_freq() 249 return pipe_config->port_clock; /* SPLL */ in intel_fdi_link_freq() 1399 const struct intel_crtc_state *pipe_config) in _vlv_enable_pll() 1404 intel_de_write(dev_priv, DPLL(pipe), pipe_config->dpll_hw_state.dpll); in _vlv_enable_pll() 1413 const struct intel_crtc_state *pipe_config) in vlv_enable_pll() 1418 assert_pipe_disabled(dev_priv, pipe_config in vlv_enable_pll() 245 intel_fdi_link_freq(struct drm_i915_private *dev_priv, const struct intel_crtc_state *pipe_config) intel_fdi_link_freq() argument 1398 _vlv_enable_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) _vlv_enable_pll() argument 1412 vlv_enable_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) vlv_enable_pll() argument 1432 _chv_enable_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) _chv_enable_pll() argument 1462 chv_enable_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) chv_enable_pll() argument 7817 ilk_check_fdi_lanes(struct drm_device *dev, enum pipe pipe, struct intel_crtc_state *pipe_config) ilk_check_fdi_lanes() argument 7896 ilk_fdi_compute_config(struct intel_crtc *intel_crtc, struct intel_crtc_state *pipe_config) ilk_fdi_compute_config() argument 8071 intel_crtc_compute_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_crtc_compute_config() argument 8393 vlv_compute_dpll(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) vlv_compute_dpll() argument 8410 chv_compute_dpll(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) chv_compute_dpll() argument 8426 vlv_prepare_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) vlv_prepare_pll() argument 8525 chv_prepare_pll(struct intel_crtc *crtc, const struct intel_crtc_state *pipe_config) chv_prepare_pll() argument 8644 struct intel_crtc_state *pipe_config; vlv_force_pll_on() local 8894 intel_get_pipe_timings(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_get_pipe_timings() argument 8939 intel_get_pipe_src_size(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_get_pipe_src_size() argument 8954 intel_mode_from_pipe_config(struct drm_display_mode *mode, struct intel_crtc_state *pipe_config) intel_mode_from_pipe_config() argument 9274 vlv_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) vlv_crtc_clock_get() argument 9387 chv_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) chv_crtc_clock_get() argument 9460 i9xx_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) i9xx_get_pipe_config() argument 10474 intel_dp_get_m_n(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) intel_dp_get_m_n() argument 10485 ilk_get_fdi_m_n_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) ilk_get_fdi_m_n_config() argument 10698 ilk_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) ilk_get_pipe_config() argument 10839 cnl_get_ddi_pll(struct drm_i915_private *dev_priv, enum port port, struct intel_crtc_state *pipe_config) cnl_get_ddi_pll() argument 10854 icl_get_ddi_pll(struct drm_i915_private *dev_priv, enum port port, struct intel_crtc_state *pipe_config) icl_get_ddi_pll() argument 10900 bxt_get_ddi_pll(struct drm_i915_private *dev_priv, enum port port, struct intel_crtc_state *pipe_config) bxt_get_ddi_pll() argument 10924 skl_get_ddi_pll(struct drm_i915_private *dev_priv, enum port port, struct intel_crtc_state *pipe_config) skl_get_ddi_pll() argument 10939 hsw_get_ddi_pll(struct drm_i915_private *dev_priv, enum port port, struct intel_crtc_state *pipe_config) hsw_get_ddi_pll() argument 10974 hsw_get_transcoder_state(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config, u64 *power_domain_mask, intel_wakeref_t *wakerefs) hsw_get_transcoder_state() argument 11071 bxt_get_dsi_transcoder_state(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config, u64 *power_domain_mask, intel_wakeref_t *wakerefs) bxt_get_dsi_transcoder_state() argument 11126 hsw_get_ddi_port_state(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) hsw_get_ddi_port_state() argument 11182 hsw_get_pipe_config(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) hsw_get_pipe_config() argument 12117 i9xx_pll_refclk(struct drm_device *dev, const struct intel_crtc_state *pipe_config) i9xx_pll_refclk() argument 12134 i9xx_crtc_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) i9xx_crtc_clock_get() argument 12244 ilk_pch_clock_get(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) ilk_pch_clock_get() argument 12862 compute_sink_pipe_bpp(const struct drm_connector_state *conn_state, struct intel_crtc_state *pipe_config) compute_sink_pipe_bpp() argument 12904 compute_baseline_pipe_bpp(struct intel_crtc *crtc, struct intel_crtc_state *pipe_config) compute_baseline_pipe_bpp() argument 12952 intel_dump_m_n_config(const struct intel_crtc_state *pipe_config, const char *id, unsigned int lane_count, const struct intel_link_m_n *m_n) intel_dump_m_n_config() argument 13075 intel_dump_pipe_config(const struct intel_crtc_state *pipe_config, struct intel_atomic_state *state, const char *context) intel_dump_pipe_config() argument 13358 intel_modeset_pipe_config(struct intel_crtc_state *pipe_config) intel_modeset_pipe_config() argument 13691 intel_pipe_config_compare(const struct intel_crtc_state *current_config, const struct intel_crtc_state *pipe_config, bool fastset) intel_pipe_config_compare() argument 14062 intel_pipe_config_sanity_check(struct drm_i915_private *dev_priv, const struct intel_crtc_state *pipe_config) intel_pipe_config_sanity_check() argument 14311 struct intel_crtc_state *pipe_config = old_crtc_state; verify_crtc_state() local [all...] |
H A D | intel_dvo.c | 163 struct intel_crtc_state *pipe_config) in intel_dvo_get_config() 169 pipe_config->output_types |= BIT(INTEL_OUTPUT_DVO); in intel_dvo_get_config() 181 pipe_config->hw.adjusted_mode.flags |= flags; in intel_dvo_get_config() 183 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_dvo_get_config() 203 const struct intel_crtc_state *pipe_config, in intel_enable_dvo() 212 &pipe_config->hw.mode, in intel_enable_dvo() 213 &pipe_config->hw.adjusted_mode); in intel_enable_dvo() 252 struct intel_crtc_state *pipe_config, in intel_dvo_compute_config() 258 struct drm_display_mode *adjusted_mode = &pipe_config in intel_dvo_compute_config() 162 intel_dvo_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dvo_get_config() argument 201 intel_enable_dvo(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_dvo() argument 251 intel_dvo_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dvo_compute_config() argument 277 intel_dvo_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_dvo_pre_enable() argument [all...] |
H A D | icl_dsi.c | 275 const struct intel_crtc_state *pipe_config) in configure_dual_link_mode() 288 &pipe_config->hw.adjusted_mode; in configure_dual_link_mode() 663 const struct intel_crtc_state *pipe_config) in gen11_dsi_configure_transcoder() 667 struct intel_crtc *intel_crtc = to_intel_crtc(pipe_config->uapi.crtc); in gen11_dsi_configure_transcoder() 683 if (afe_clk(encoder, pipe_config) >= 1500 * 1000) { in gen11_dsi_configure_transcoder() 709 if (pipe_config->dsc.compression_enable) { in gen11_dsi_configure_transcoder() 779 configure_dual_link_mode(encoder, pipe_config); in gen11_dsi_configure_transcoder() 1173 const struct intel_crtc_state *pipe_config, in gen11_dsi_pre_enable() 1177 gen11_dsi_map_pll(encoder, pipe_config); in gen11_dsi_pre_enable() 1180 gen11_dsi_enable_port_and_phy(encoder, pipe_config); in gen11_dsi_pre_enable() 274 configure_dual_link_mode(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) configure_dual_link_mode() argument 662 gen11_dsi_configure_transcoder(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) gen11_dsi_configure_transcoder() argument 1171 gen11_dsi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) gen11_dsi_pre_enable() argument 1395 gen11_dsi_get_timings(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) gen11_dsi_get_timings() argument 1450 gen11_dsi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) gen11_dsi_get_config() argument 1519 gen11_dsi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) gen11_dsi_compute_config() argument [all...] |
H A D | intel_dp.c | 1849 struct intel_crtc_state *pipe_config) in intel_dp_set_clock() 1871 if (pipe_config->port_clock == divisor[i].clock) { in intel_dp_set_clock() 1872 pipe_config->dpll = divisor[i].dpll; in intel_dp_set_clock() 1873 pipe_config->clock_set = true; in intel_dp_set_clock() 1957 const struct intel_crtc_state *pipe_config) in intel_dp_source_supports_fec() 1965 if (IS_GEN(dev_priv, 11) && pipe_config->cpu_transcoder != TRANSCODER_A) in intel_dp_source_supports_fec() 1972 const struct intel_crtc_state *pipe_config) in intel_dp_supports_fec() 1974 return intel_dp_source_supports_fec(intel_dp, pipe_config) && in intel_dp_supports_fec() 2073 struct intel_crtc_state *pipe_config, in intel_dp_adjust_compliance_config() 2083 pipe_config in intel_dp_adjust_compliance_config() 1848 intel_dp_set_clock(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dp_set_clock() argument 1956 intel_dp_source_supports_fec(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) intel_dp_source_supports_fec() argument 1971 intel_dp_supports_fec(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) intel_dp_supports_fec() argument 2072 intel_dp_adjust_compliance_config(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, struct link_config_limits *limits) intel_dp_adjust_compliance_config() argument 2123 intel_dp_compute_link_config_wide(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, const struct link_config_limits *limits) intel_dp_compute_link_config_wide() argument 2233 intel_dp_dsc_compute_config(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state, struct link_config_limits *limits) intel_dp_dsc_compute_config() argument 2357 intel_dp_compute_link_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_compute_link_config() argument 2676 intel_dp_drrs_compute_config(struct intel_dp *intel_dp, struct intel_crtc_state *pipe_config, int output_bpp, bool constant_n) intel_dp_drrs_compute_config() argument 2704 intel_dp_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dp_compute_config() argument 2806 intel_dp_prepare(struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config) intel_dp_prepare() argument 3418 ilk_edp_pll_on(struct intel_dp *intel_dp, const struct intel_crtc_state *pipe_config) ilk_edp_pll_on() argument 3618 intel_dp_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dp_get_config() argument 3908 intel_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_enable_dp() argument 3956 g4x_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_enable_dp() argument 3965 vlv_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_enable_dp() argument 3973 g4x_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) g4x_pre_enable_dp() argument 4094 vlv_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_pre_enable_dp() argument 4104 vlv_dp_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) vlv_dp_pre_pll_enable() argument 4114 chv_pre_enable_dp(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_pre_enable_dp() argument 4127 chv_dp_pre_pll_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) chv_dp_pre_pll_enable() argument [all...] |
H A D | vlv_dsi.c | 263 struct intel_crtc_state *pipe_config, in intel_dsi_compute_config() 271 struct drm_display_mode *adjusted_mode = &pipe_config->hw.adjusted_mode; in intel_dsi_compute_config() 275 pipe_config->output_format = INTEL_OUTPUT_FORMAT_RGB; in intel_dsi_compute_config() 281 ret = intel_gmch_panel_fitting(pipe_config, conn_state); in intel_dsi_compute_config() 283 ret = intel_pch_panel_fitting(pipe_config, conn_state); in intel_dsi_compute_config() 295 pipe_config->pipe_bpp = 24; in intel_dsi_compute_config() 297 pipe_config->pipe_bpp = 18; in intel_dsi_compute_config() 301 pipe_config->mode_flags |= in intel_dsi_compute_config() 306 pipe_config->cpu_transcoder = TRANSCODER_DSI_C; in intel_dsi_compute_config() 308 pipe_config in intel_dsi_compute_config() 262 intel_dsi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_dsi_compute_config() argument 761 intel_dsi_pre_enable(struct intel_atomic_state *state, struct intel_encoder *encoder, const struct intel_crtc_state *pipe_config, const struct drm_connector_state *conn_state) intel_dsi_pre_enable() argument 1073 bxt_dsi_get_pipe_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) bxt_dsi_get_pipe_config() argument 1237 intel_dsi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_dsi_get_config() argument 1362 intel_dsi_prepare(struct intel_encoder *intel_encoder, const struct intel_crtc_state *pipe_config) intel_dsi_prepare() argument [all...] |
H A D | intel_ddi.c | 1542 static void ddi_dotclock_get(struct intel_crtc_state *pipe_config) in ddi_dotclock_get() argument 1546 if (pipe_config->has_pch_encoder) in ddi_dotclock_get() 1547 dotclock = intel_dotclock_calculate(pipe_config->port_clock, in ddi_dotclock_get() 1548 &pipe_config->fdi_m_n); in ddi_dotclock_get() 1549 else if (intel_crtc_has_dp_encoder(pipe_config)) in ddi_dotclock_get() 1550 dotclock = intel_dotclock_calculate(pipe_config->port_clock, in ddi_dotclock_get() 1551 &pipe_config->dp_m_n); in ddi_dotclock_get() 1552 else if (pipe_config->has_hdmi_sink && pipe_config->pipe_bpp > 24) in ddi_dotclock_get() 1553 dotclock = pipe_config in ddi_dotclock_get() 1567 intel_ddi_clock_get(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_ddi_clock_get() argument 4312 intel_ddi_get_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config) intel_ddi_get_config() argument 4508 intel_ddi_compute_config(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config, struct drm_connector_state *conn_state) intel_ddi_compute_config() argument [all...] |
H A D | intel_pipe_crc.c | 290 struct intel_crtc_state *pipe_config; in intel_crtc_crc_setup_workarounds() local 306 pipe_config = intel_atomic_get_crtc_state(state, crtc); in intel_crtc_crc_setup_workarounds() 307 if (IS_ERR(pipe_config)) { in intel_crtc_crc_setup_workarounds() 308 ret = PTR_ERR(pipe_config); in intel_crtc_crc_setup_workarounds() 312 pipe_config->uapi.mode_changed = pipe_config->has_psr; in intel_crtc_crc_setup_workarounds() 313 pipe_config->crc_enabled = enable; in intel_crtc_crc_setup_workarounds() 316 pipe_config->hw.active && crtc->pipe == PIPE_A && in intel_crtc_crc_setup_workarounds() 317 pipe_config->cpu_transcoder == TRANSCODER_EDP) in intel_crtc_crc_setup_workarounds() 318 pipe_config in intel_crtc_crc_setup_workarounds() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/ |
H A D | dc_dmub_srv.c | 466 pipe_data->pipe_config.vblank_data.drr_info.drr_in_use = true; in populate_subvp_cmd_drr_info() 467 pipe_data->pipe_config.vblank_data.drr_info.use_ramping = false; // for now don't use ramping in populate_subvp_cmd_drr_info() 468 pipe_data->pipe_config.vblank_data.drr_info.drr_window_size_ms = 4; // hardcode 4ms DRR window for now in populate_subvp_cmd_drr_info() 499 pipe_data->pipe_config.vblank_data.drr_info.min_vtotal_supported = min_vtotal_supported; in populate_subvp_cmd_drr_info() 500 pipe_data->pipe_config.vblank_data.drr_info.max_vtotal_supported = max_vtotal_supported; in populate_subvp_cmd_drr_info() 501 pipe_data->pipe_config.vblank_data.drr_info.drr_vblank_start_margin = dc->caps.subvp_drr_vblank_start_margin_us; in populate_subvp_cmd_drr_info() 545 pipe_data->pipe_config.vblank_data.pix_clk_100hz = vblank_pipe->stream->timing.pix_clk_100hz; in populate_subvp_cmd_vblank_pipe_info() 546 pipe_data->pipe_config.vblank_data.vblank_start = vblank_pipe->stream->timing.v_total - in populate_subvp_cmd_vblank_pipe_info() 548 pipe_data->pipe_config.vblank_data.vtotal = vblank_pipe->stream->timing.v_total; in populate_subvp_cmd_vblank_pipe_info() 549 pipe_data->pipe_config in populate_subvp_cmd_vblank_pipe_info() [all...] |