| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_psr.c | 194 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \ argument 225 static bool psr_global_enabled(struct intel_dp *intel_dp) in psr_global_enabled() 240 static bool sel_update_global_enabled(struct intel_dp *intel_dp) in sel_update_global_enabled() 251 static bool panel_replay_global_enabled(struct intel_dp *intel_dp) in panel_replay_global_enabled() 259 static u32 psr_irq_psr_error_bit_get(struct intel_dp *intel_dp) in psr_irq_psr_error_bit_get() 267 static u32 psr_irq_post_exit_bit_get(struct intel_dp *intel_dp) in psr_irq_post_exit_bit_get() 275 static u32 psr_irq_pre_entry_bit_get(struct intel_dp *intel_dp) in psr_irq_pre_entry_bit_get() 283 static u32 psr_irq_mask_get(struct intel_dp *intel_dp) in psr_irq_mask_get() 363 static void psr_irq_control(struct intel_dp *intel_dp) in psr_irq_control() 419 void intel_psr_irq_handler(struct intel_dp *intel_dp, u32 psr_iir) in intel_psr_irq_handler() [all …]
|
| H A D | intel_dp_link_training.c | 458 static void intel_dp_reset_lttpr_common_caps(struct intel_dp *intel_dp) in intel_dp_reset_lttpr_common_caps() 463 static void intel_dp_reset_lttpr_count(struct intel_dp *intel_dp) in intel_dp_reset_lttpr_count() 469 static u8 *intel_dp_lttpr_phy_caps(struct intel_dp *intel_dp, in intel_dp_lttpr_phy_caps() 475 static void intel_dp_read_lttpr_phy_caps(struct intel_dp *intel_dp, in intel_dp_read_lttpr_phy_caps() 491 static bool intel_dp_read_lttpr_common_caps(struct intel_dp *intel_dp, in intel_dp_read_lttpr_common_caps() 517 intel_dp_set_lttpr_transparent_mode(struct intel_dp *intel_dp, bool enable) in intel_dp_set_lttpr_transparent_mode() 528 bool intel_dp_lttpr_transparent_mode_enabled(struct intel_dp *intel_dp) in intel_dp_lttpr_transparent_mode_enabled() 543 static int intel_dp_init_lttpr_phys(struct intel_dp *intel_dp, const u8 dpcd[DP_RECEIVER_CAP_SIZE]) in intel_dp_init_lttpr_phys() 593 static int intel_dp_init_lttpr(struct intel_dp *intel_dp, const u8 dpcd[DP_RECEIVER_CAP_SIZE]) in intel_dp_init_lttpr() 608 int intel_dp_read_dprx_caps(struct intel_dp *intel_dp, u8 dpcd[DP_RECEIVER_CAP_SIZE]) in intel_dp_read_dprx_caps() [all …]
|
| H A D | intel_dp.c | 119 bool intel_dp_is_edp(struct intel_dp *intel_dp) in intel_dp_is_edp() 158 static int max_dprx_rate(struct intel_dp *intel_dp) in max_dprx_rate() 180 static int max_dprx_lane_count(struct intel_dp *intel_dp) in max_dprx_lane_count() 188 static void intel_dp_set_default_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_default_sink_rates() 194 static bool dprx_supports_128b132b(struct intel_dp *intel_dp) in dprx_supports_128b132b() 202 static u8 dprx_128b132b_link_rates(struct intel_dp *intel_dp, u8 no_bwa_rates) in dprx_128b132b_link_rates() 218 static void intel_dp_set_dpcd_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_dpcd_sink_rates() 292 static void intel_dp_set_sink_rates(struct intel_dp *intel_dp) in intel_dp_set_sink_rates() 312 static void intel_dp_set_default_max_sink_lane_count(struct intel_dp *intel_dp) in intel_dp_set_default_max_sink_lane_count() 317 static void intel_dp_set_max_sink_lane_count(struct intel_dp *intel_dp) in intel_dp_set_max_sink_lane_count() [all …]
|
| H A D | intel_dp_mst.c | 115 int intel_dp_mst_active_streams(struct intel_dp *intel_dp) in intel_dp_mst_active_streams() 120 static bool intel_dp_mst_dec_active_streams(struct intel_dp *intel_dp) in intel_dp_mst_dec_active_streams() 133 static bool intel_dp_mst_inc_active_streams(struct intel_dp *intel_dp) in intel_dp_mst_inc_active_streams() 249 int intel_dp_mtp_tu_compute_config(struct intel_dp *intel_dp, in intel_dp_mtp_tu_compute_config() 443 static int mst_stream_compute_link_config(struct intel_dp *intel_dp, in mst_stream_compute_link_config() 473 static int mst_stream_dsc_compute_link_config(struct intel_dp *intel_dp, in mst_stream_dsc_compute_link_config() 517 struct intel_dp *intel_dp = intel_attached_dp((struct intel_connector *)connector); in get_connector_max_rate() local 557 adjust_limits_for_dsc_hblank_expansion_quirk(struct intel_dp *intel_dp, in adjust_limits_for_dsc_hblank_expansion_quirk() 617 mst_stream_compute_config_limits(struct intel_dp *intel_dp, in mst_stream_compute_config_limits() 644 struct intel_dp *intel_dp = to_primary_dp(encoder); in mst_stream_compute_link_for_joined_pipes() local [all …]
|
| H A D | intel_dp_aux_backlight.c | 115 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() local 178 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_get_backlight() local 216 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_set_aux_backlight() local 249 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_write_content_luminance() local 309 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_enable_backlight() local 386 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_write_panel_luminance_override() local 452 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_get_backlight() local 480 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_set_backlight() local 497 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_enable_backlight() local 520 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_vesa_disable_backlight() local [all …]
|
| H A D | intel_display_types.h | 1823 struct intel_dp { struct 1824 intel_reg_t output_reg; 1825 u32 DP; 1826 int link_rate; 1827 u8 lane_count; 1828 u8 sink_count; 1829 bool downstream_port_changed; 1830 bool needs_modeset_retry; 1831 bool use_max_params; 1832 u8 dpcd[DP_RECEIVER_CAP_SIZE]; [all …]
|
| H A D | intel_quirks.c | 19 static void intel_set_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk) in intel_set_dpcd_quirk() 75 static void quirk_fw_sync_len(struct intel_dp *intel_dp) in quirk_fw_sync_len() 89 static void quirk_disable_edp_panel_replay(struct intel_dp *intel_dp) in quirk_disable_edp_panel_replay() 316 void intel_init_dpcd_quirks(struct intel_dp *intel_dp, in intel_init_dpcd_quirks() 345 bool intel_has_dpcd_quirk(struct intel_dp *intel_dp, enum intel_quirk_id quirk) in intel_has_dpcd_quirk()
|
| H A D | intel_dp_link_caps.c | 226 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_link_caps_connector_compute_order() local 784 struct intel_dp *intel_dp = (struct intel_dp *)p; /* remove const */ in link_config_cmp_by_bw() local 859 struct intel_dp *intel_dp = link_caps->dp; in intel_dp_link_caps_update() local 951 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_force_link_rate_show() local 989 struct intel_dp *intel_dp = link_caps->dp; in parse_link_rate() local 1027 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_force_link_rate_write() local 1057 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_force_lane_count_show() local 1135 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_force_lane_count_write() local 1165 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_max_link_rate_show() local 1188 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_max_lane_count_show() local [all …]
|
| H A D | intel_ddi.c | 357 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_ddi_init_dp_buf_reg() local 892 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_ddi_get_encoder_pipes() local 1130 static u8 intel_ddi_dp_voltage_max(struct intel_dp *intel_dp, in intel_ddi_dp_voltage_max() 1154 static u8 intel_ddi_dp_preemph_max(struct intel_dp *intel_dp) in intel_ddi_dp_preemph_max() 1185 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in icl_ddi_combo_vswing_program() local 1469 static int translate_signal_level(struct intel_dp *intel_dp, in translate_signal_level() 1492 static int intel_ddi_dp_level(struct intel_dp *intel_dp, in intel_ddi_dp_level() 1548 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in hsw_set_signal_levels() local 2329 static void intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp *intel_dp, in intel_dp_sink_set_msa_timing_par_ignore_state() 2345 static void intel_dp_sink_set_fec_ready(struct intel_dp *intel_dp, in intel_dp_sink_set_fec_ready() [all …]
|
| H A D | intel_vrr.c | 41 struct intel_dp *intel_dp; in intel_vrr_is_capable() local 428 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_vrr_compute_config() local
|
| H A D | intel_lt_phy.c | 1296 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_lt_phy_transaction_begin() local 1308 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_lt_phy_transaction_end() local 1339 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_lt_phy_pll_is_ssc_enabled() local
|
| H A D | intel_cdclk.c | 2673 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() local 2687 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() local 2696 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() local 2703 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() local
|
| H A D | intel_cx0_phy.c | 113 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0_phy_transaction_begin() local 126 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0_phy_transaction_end() local 1992 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0pll_update_ssc() local
|