| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dp_link_training.c | 37 #include "intel_dp.h" 445 struct intel_dp *dp; 458 static void intel_dp_reset_lttpr_common_caps(struct intel_dp *intel_dp) in intel_dp_reset_lttpr_common_caps() argument 460 memset(intel_dp->lttpr_common_caps, 0, sizeof(intel_dp->lttpr_common_caps)); 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() argument 465 intel_dp->lttpr_common_caps[DP_PHY_REPEATER_CNT - in intel_dp_reset_lttpr_count() 469 static u8 *intel_dp_lttpr_phy_caps(struct intel_dp *intel_d argument 475 intel_dp_read_lttpr_phy_caps(struct intel_dp * intel_dp,const u8 dpcd[DP_RECEIVER_CAP_SIZE],enum drm_dp_phy dp_phy) intel_dp_read_lttpr_phy_caps() argument 491 intel_dp_read_lttpr_common_caps(struct intel_dp * intel_dp,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) intel_dp_read_lttpr_common_caps() argument 517 intel_dp_set_lttpr_transparent_mode(struct intel_dp * intel_dp,bool enable) intel_dp_set_lttpr_transparent_mode() argument 528 intel_dp_lttpr_transparent_mode_enabled(struct intel_dp * intel_dp) intel_dp_lttpr_transparent_mode_enabled() argument 543 intel_dp_init_lttpr_phys(struct intel_dp * intel_dp,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) intel_dp_init_lttpr_phys() argument 593 intel_dp_init_lttpr(struct intel_dp * intel_dp,const u8 dpcd[DP_RECEIVER_CAP_SIZE]) intel_dp_init_lttpr() argument 608 intel_dp_read_dprx_caps(struct intel_dp * intel_dp,u8 dpcd[DP_RECEIVER_CAP_SIZE]) intel_dp_read_dprx_caps() argument 648 intel_dp_init_lttpr_and_dprx_caps(struct intel_dp * intel_dp) intel_dp_init_lttpr_and_dprx_caps() argument 695 intel_dp_lttpr_voltage_max(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_lttpr_voltage_max() argument 706 intel_dp_lttpr_preemph_max(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_lttpr_preemph_max() argument 718 intel_dp_phy_is_downstream_of_source(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_phy_is_downstream_of_source() argument 730 intel_dp_phy_voltage_max(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_phy_voltage_max() argument 753 intel_dp_phy_preemph_max(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_phy_preemph_max() argument 775 has_per_lane_signal_levels(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) has_per_lane_signal_levels() argument 785 intel_dp_get_lane_adjust_tx_ffe_preset(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,const u8 link_status[DP_LINK_STATUS_SIZE],int lane) intel_dp_get_lane_adjust_tx_ffe_preset() argument 805 intel_dp_get_lane_adjust_vswing_preemph(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,const u8 link_status[DP_LINK_STATUS_SIZE],int lane) intel_dp_get_lane_adjust_vswing_preemph() argument 841 intel_dp_get_lane_adjust_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,const u8 link_status[DP_LINK_STATUS_SIZE],int lane) intel_dp_get_lane_adjust_train() argument 879 intel_dp_get_adjust_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,const u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_get_adjust_train() argument 916 intel_dp_training_pattern_set_reg(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_training_pattern_set_reg() argument 925 intel_dp_set_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,u8 dp_train_pat) intel_dp_set_link_train() argument 961 intel_dp_program_link_training_pattern(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,u8 dp_train_pat) intel_dp_program_link_training_pattern() argument 1000 intel_dp_set_signal_levels(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_set_signal_levels() argument 1027 intel_dp_reset_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy,u8 dp_train_pat) intel_dp_reset_link_train() argument 1038 intel_dp_update_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_update_link_train() argument 1088 intel_dp_link_max_vswing_reached(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_link_max_vswing_reached() argument 1108 intel_dp_link_training_set_mode(struct intel_dp * intel_dp,int link_rate,bool is_vrr,bool pr_with_as_sdp_enable) intel_dp_link_training_set_mode() argument 1122 intel_dp_pr_with_as_sdp_enabled(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_pr_with_as_sdp_enabled() argument 1130 intel_dp_update_downspread_ctrl(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_update_downspread_ctrl() argument 1152 intel_dp_link_training_set_bw(struct intel_dp * intel_dp,int link_bw,int rate_select,int lane_count,bool enhanced_framing,bool post_lt_adj_req) intel_dp_link_training_set_bw() argument 1188 intel_dp_training_pattern(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_training_pattern() argument 1240 intel_dp_use_post_lt_adj_req(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_use_post_lt_adj_req() argument 1248 intel_dp_update_link_bw_set(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,u8 link_bw,u8 rate_select) intel_dp_update_link_bw_set() argument 1262 intel_dp_prepare_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_prepare_link_train() argument 1338 intel_dp_dump_link_status(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy,const u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_dump_link_status() argument 1352 intel_dp_link_training_clock_recovery(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_link_training_clock_recovery() argument 1446 intel_dp_link_training_channel_equalization(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_link_training_channel_equalization() argument 1516 intel_dp_post_lt_adj_req(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_post_lt_adj_req() argument 1602 intel_dp_stop_post_lt_adj_req(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_stop_post_lt_adj_req() argument 1618 intel_dp_disable_dpcd_training_pattern(struct intel_dp * intel_dp,enum drm_dp_phy dp_phy) intel_dp_disable_dpcd_training_pattern() argument 1628 intel_dp_128b132b_intra_hop(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_128b132b_intra_hop() argument 1777 intel_dp_stop_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_stop_link_train() argument 1809 intel_dp_link_train_phy(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,enum drm_dp_phy dp_phy) intel_dp_link_train_phy() argument 1832 intel_dp_can_link_train_fallback_for_edp(struct intel_dp * intel_dp,int link_rate,u8 lane_count) intel_dp_can_link_train_fallback_for_edp() argument 1851 reduce_link_params(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int * new_link_rate,int * new_lane_count) reduce_link_params() argument 1889 intel_dp_get_link_train_fallback_values(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_get_link_train_fallback_values() argument 1977 intel_dp_schedule_fallback_link_training(struct intel_atomic_state * state,struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_schedule_fallback_link_training() argument 2003 intel_dp_link_train_all_phys(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int lttpr_count) intel_dp_link_train_all_phys() argument 2038 intel_dp_128b132b_lane_eq(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_128b132b_lane_eq() argument 2170 intel_dp_128b132b_lane_cds(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int lttpr_count) intel_dp_128b132b_lane_cds() argument 2226 intel_dp_128b132b_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int lttpr_count) intel_dp_128b132b_link_train() argument 2280 intel_dp_start_link_train(struct intel_atomic_state * state,struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_start_link_train() argument 2353 intel_dp_128b132b_sdp_crc16(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_128b132b_sdp_crc16() argument 2373 intel_dp_link_params_valid(struct intel_dp * intel_dp,int link_rate,u8 lane_count) intel_dp_link_params_valid() argument 2413 intel_dp_link_ok(struct intel_dp * intel_dp,u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_link_ok() argument 2440 intel_dp_read_link_status(struct intel_dp * intel_dp,u8 link_status[DP_LINK_STATUS_SIZE]) intel_dp_read_link_status() argument 2475 intel_dp_needs_link_retrain(struct intel_dp * intel_dp) intel_dp_needs_link_retrain() argument 2523 intel_dp_is_connected(struct intel_dp * intel_dp) intel_dp_is_connected() argument 2550 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_retrain_link() local 2628 intel_dp_check_link_state(struct intel_dp * intel_dp) intel_dp_check_link_state() argument 2731 struct intel_dp *intel_dp = link_training->dp; i915_dp_force_link_retrain_write() local 2797 intel_dp_link_training_init(struct intel_dp * intel_dp) intel_dp_link_training_init() argument [all...] |
| H A D | intel_psr.c | 46 #include "intel_dp.h" 194 #define CAN_PSR(intel_dp) ((intel_dp)->psr.sink_support && \ argument 195 (intel_dp)->psr.source_support) 225 static bool psr_global_enabled(struct intel_dp *intel_dp) in psr_global_enabled() argument 227 struct intel_connector *connector = intel_dp->attached_connector; in psr_global_enabled() 229 switch (intel_dp->psr.debug & I915_PSR_DEBUG_MODE_MASK) { in psr_global_enabled() 231 return intel_dp_is_edp(intel_dp) ? in psr_global_enabled() 240 static bool sel_update_global_enabled(struct intel_dp *intel_d argument 251 panel_replay_global_enabled(struct intel_dp * intel_dp) panel_replay_global_enabled() argument 259 psr_irq_psr_error_bit_get(struct intel_dp * intel_dp) psr_irq_psr_error_bit_get() argument 267 psr_irq_post_exit_bit_get(struct intel_dp * intel_dp) psr_irq_post_exit_bit_get() argument 275 psr_irq_pre_entry_bit_get(struct intel_dp * intel_dp) psr_irq_pre_entry_bit_get() argument 283 psr_irq_mask_get(struct intel_dp * intel_dp) psr_irq_mask_get() argument 363 psr_irq_control(struct intel_dp * intel_dp) psr_irq_control() argument 419 intel_psr_irq_handler(struct intel_dp * intel_dp,u32 psr_iir) intel_psr_irq_handler() argument 470 intel_dp_get_sink_sync_latency(struct intel_dp * intel_dp) intel_dp_get_sink_sync_latency() argument 484 _psr_compute_su_granularity(struct intel_dp * intel_dp,struct intel_connector * connector) _psr_compute_su_granularity() argument 590 _panel_replay_init_dpcd(struct intel_dp * intel_dp,struct intel_connector * connector) _panel_replay_init_dpcd() argument 650 _psr_init_dpcd(struct intel_dp * intel_dp,struct intel_connector * connector) _psr_init_dpcd() argument 718 intel_psr_init_dpcd(struct intel_dp * intel_dp,struct intel_connector * connector) intel_psr_init_dpcd() argument 725 hsw_psr_setup_aux(struct intel_dp * intel_dp) hsw_psr_setup_aux() argument 764 struct intel_dp *intel_dp = intel_attached_dp(connector); psr2_su_region_et_valid() local 777 _panel_replay_enable_sink(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) _panel_replay_enable_sink() argument 806 _psr_enable_sink(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) _psr_enable_sink() argument 836 intel_psr_enable_sink(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_psr_enable_sink() argument 849 intel_psr_panel_replay_enable_sink(struct intel_dp * intel_dp) intel_psr_panel_replay_enable_sink() argument 861 intel_psr1_get_tp_time(struct intel_dp * intel_dp) intel_psr1_get_tp_time() argument 913 psr_compute_idle_frames(struct intel_dp * intel_dp) psr_compute_idle_frames() argument 931 is_dc5_dc6_blocked(struct intel_dp * intel_dp) is_dc5_dc6_blocked() argument 944 hsw_activate_psr1(struct intel_dp * intel_dp) hsw_activate_psr1() argument 982 intel_psr2_get_tp_time(struct intel_dp * intel_dp) intel_psr2_get_tp_time() argument 1010 psr2_block_count(struct intel_dp * intel_dp) psr2_block_count() argument 1016 frames_before_su_entry(struct intel_dp * intel_dp) frames_before_su_entry() argument 1032 intel_psr_allow_pr_bw_optimization(struct intel_dp * intel_dp) intel_psr_allow_pr_bw_optimization() argument 1046 dg2_activate_panel_replay(struct intel_dp * intel_dp) dg2_activate_panel_replay() argument 1077 hsw_activate_psr2(struct intel_dp * intel_dp) hsw_activate_psr2() argument 1197 psr2_program_idle_frames(struct intel_dp * intel_dp,u32 idle_frames) psr2_program_idle_frames() argument 1208 intel_psr2_sel_fetch_config_valid(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_psr2_sel_fetch_config_valid() argument 1226 struct intel_dp *intel_dp = intel_attached_dp(connector); psr2_granularity_check() local 1281 struct intel_dp *intel_dp = intel_attached_dp(connector); apply_scanline_indication_wa() local 1306 struct intel_dp *intel_dp = intel_attached_dp(connector); _compute_psr2_sdp_prior_scanline_indication() local 1329 intel_psr_entry_setup_frames(struct intel_dp * intel_dp,struct drm_connector_state * conn_state,const struct drm_display_mode * adjusted_mode) intel_psr_entry_setup_frames() argument 1425 wake_lines_fit_into_vblank(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,bool aux_less,bool needs_panel_replay,bool needs_sel_update) wake_lines_fit_into_vblank() argument 1460 alpm_config_valid(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,bool aux_less,bool needs_panel_replay,bool needs_sel_update) alpm_config_valid() argument 1484 intel_psr2_config_valid(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state) intel_psr2_config_valid() argument 1587 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_sel_update_config_valid() local 1652 _psr_compute_config(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state) _psr_compute_config() argument 1700 struct intel_dp *intel_dp = intel_attached_dp(connector); _panel_replay_compute_config() local 1765 intel_psr_needs_wa_18037818876(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_psr_needs_wa_18037818876() argument 1774 psr2_dc3co_disable_locked(struct intel_dp * intel_dp) psr2_dc3co_disable_locked() argument 1787 struct intel_dp *intel_dp = psr2_dc3co_disable_work() local 1796 psr2_dc3co_flush_locked(struct intel_dp * intel_dp,unsigned int frontbuffer_bits) psr2_dc3co_flush_locked() argument 1819 intel_psr_set_non_psr_pipes(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_psr_set_non_psr_pipes() argument 1845 intel_psr_compute_config(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state) intel_psr_compute_config() argument 1900 struct intel_dp *intel_dp; intel_psr_get_config() local 1942 intel_psr_activate(struct intel_dp * intel_dp) intel_psr_activate() argument 1976 wm_optimization_wa(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) wm_optimization_wa() argument 2001 intel_psr_enable_source(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_psr_enable_source() argument 2129 psr_interrupt_error_check(struct intel_dp * intel_dp) psr_interrupt_error_check() argument 2159 intel_psr_enable_locked(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_psr_enable_locked() argument 2230 intel_psr_exit(struct intel_dp * intel_dp) intel_psr_exit() argument 2276 intel_psr2_in_deep_sleep(struct intel_dp * intel_dp) intel_psr2_in_deep_sleep() argument 2297 intel_psr_wait_exit_locked(struct intel_dp * intel_dp) intel_psr_wait_exit_locked() argument 2319 intel_psr_disable_locked(struct intel_dp * intel_dp) intel_psr_disable_locked() argument 2402 intel_psr_disable(struct intel_dp * intel_dp,const struct intel_crtc_state * old_crtc_state) intel_psr_disable() argument 2431 intel_psr_pause(struct intel_dp * intel_dp) intel_psr_pause() argument 2462 intel_psr_resume(struct intel_dp * intel_dp) intel_psr_resume() argument 2510 struct intel_dp *intel_dp; intel_psr_needs_vblank_notification() local 2596 intel_psr_force_update(struct intel_dp * intel_dp) intel_psr_force_update() argument 2629 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr2_program_trans_man_trk_ctl() local 2849 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_apply_pr_link_on_su_wa() local 3148 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_pre_plane_update() local 3216 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_post_plane_update() local 3336 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_wait_for_idle_locked() local 3369 __psr_wait_for_idle_locked(struct intel_dp * intel_dp) __psr_wait_for_idle_locked() argument 3464 intel_psr_debug_set(struct intel_dp * intel_dp,u64 val) intel_psr_debug_set() argument 3507 intel_psr_handle_irq(struct intel_dp * intel_dp) intel_psr_handle_irq() argument 3519 struct intel_dp *intel_dp = intel_psr_work() local 3557 intel_psr_configure_full_frame_update(struct intel_dp * intel_dp) intel_psr_configure_full_frame_update() argument 3577 _psr_invalidate_handle(struct intel_dp * intel_dp) _psr_invalidate_handle() argument 3616 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_invalidate() local 3635 _psr_flush_handle(struct intel_dp * intel_dp) _psr_flush_handle() argument 3697 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_flush() local 3742 intel_psr_init(struct intel_dp * intel_dp) intel_psr_init() argument 3783 psr_get_status_and_error_status(struct intel_dp * intel_dp,u8 * status,u8 * error_status) psr_get_status_and_error_status() argument 3809 psr_alpm_check(struct intel_dp * intel_dp) psr_alpm_check() argument 3822 psr_capability_changed_check(struct intel_dp * intel_dp) psr_capability_changed_check() argument 3853 intel_psr_short_pulse(struct intel_dp * intel_dp) intel_psr_short_pulse() argument 3914 intel_psr_enabled(struct intel_dp * intel_dp) intel_psr_enabled() argument 3940 intel_psr_link_ok(struct intel_dp * intel_dp) intel_psr_link_ok() argument 3973 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_lock() local 3996 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_unlock() local 4004 intel_psr_apply_underrun_on_idle_wa_locked(struct intel_dp * intel_dp) intel_psr_apply_underrun_on_idle_wa_locked() argument 4030 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); psr_dc5_dc6_wa_work() local 4091 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_notify_pipe_change() local 4138 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_psr_notify_vblank_enable_disable() local 4160 psr_source_status(struct intel_dp * intel_dp,struct seq_file * m) psr_source_status() argument 4229 intel_psr_print_mode(struct intel_dp * intel_dp,struct seq_file * m) intel_psr_print_mode() argument 4261 intel_psr_status(struct seq_file * m,struct intel_dp * intel_dp,struct intel_connector * connector) intel_psr_status() argument 4372 struct intel_dp *intel_dp = NULL; i915_edp_psr_status_show() local 4402 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); i915_edp_psr_debug_set() local 4424 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); i915_edp_psr_debug_get() local 4449 psr_mode_str(struct intel_dp * intel_dp) psr_mode_str() argument 4462 struct intel_dp *intel_dp = intel_attached_dp(connector); i915_psr_sink_status_show() local 4519 struct intel_dp *intel_dp = intel_attached_dp(connector); i915_psr_status_show() local 4542 intel_psr_needs_alpm(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_psr_needs_alpm() argument 4552 intel_psr_needs_alpm_aux_less(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_psr_needs_alpm_aux_less() argument 4558 intel_psr_compute_config_late(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_psr_compute_config_late() argument 4646 intel_psr_pr_async_video_timing_supported(struct intel_dp * intel_dp) intel_psr_pr_async_video_timing_supported() argument [all...] |
| H A D | intel_dp.c | 72 #include "intel_dp.h" 114 * @intel_dp: DP struct 121 bool intel_dp_is_edp(struct intel_dp *intel_dp) in intel_dp_is_edp() 123 struct intel_digital_port *dig_port = dp_to_dig_port(intel_dp); in intel_dp_is_edp() 128 static void intel_dp_unset_edid(struct intel_dp *intel_dp); 160 static int max_dprx_rate(struct intel_dp *intel_dp) in max_dprx_rate() 162 struct intel_display *display = to_intel_display(intel_dp); in max_dprx_rate() 119 intel_dp_is_edp(struct intel_dp * intel_dp) intel_dp_is_edp() argument 158 max_dprx_rate(struct intel_dp * intel_dp) max_dprx_rate() argument 180 max_dprx_lane_count(struct intel_dp * intel_dp) max_dprx_lane_count() argument 188 intel_dp_set_default_sink_rates(struct intel_dp * intel_dp) intel_dp_set_default_sink_rates() argument 194 dprx_supports_128b132b(struct intel_dp * intel_dp) dprx_supports_128b132b() argument 202 dprx_128b132b_link_rates(struct intel_dp * intel_dp,u8 no_bwa_rates) dprx_128b132b_link_rates() argument 218 intel_dp_set_dpcd_sink_rates(struct intel_dp * intel_dp) intel_dp_set_dpcd_sink_rates() argument 292 intel_dp_set_sink_rates(struct intel_dp * intel_dp) intel_dp_set_sink_rates() argument 312 intel_dp_set_default_max_sink_lane_count(struct intel_dp * intel_dp) intel_dp_set_default_max_sink_lane_count() argument 317 intel_dp_set_max_sink_lane_count(struct intel_dp * intel_dp) intel_dp_set_max_sink_lane_count() argument 370 intel_dp_get_max_common_lane_count(struct intel_dp * intel_dp) intel_dp_get_max_common_lane_count() argument 451 intel_dp_max_link_data_rate(struct intel_dp * intel_dp,int max_dprx_rate,int max_dprx_lanes) intel_dp_max_link_data_rate() argument 463 intel_dp_has_joiner(struct intel_dp * intel_dp) intel_dp_has_joiner() argument 483 dg2_max_source_rate(struct intel_dp * intel_dp) dg2_max_source_rate() argument 488 icl_max_source_rate(struct intel_dp * intel_dp) icl_max_source_rate() argument 498 ehl_max_source_rate(struct intel_dp * intel_dp) ehl_max_source_rate() argument 506 mtl_max_source_rate(struct intel_dp * intel_dp) mtl_max_source_rate() argument 521 vbt_max_link_rate(struct intel_dp * intel_dp) vbt_max_link_rate() argument 542 intel_dp_set_source_rates(struct intel_dp * intel_dp) intel_dp_set_source_rates() argument 661 intel_dp_get_common_rates(struct intel_dp * intel_dp,int common_rates[DP_MAX_SUPPORTED_RATES],int * num_common_rates) intel_dp_get_common_rates() argument 684 intel_dp_set_common_link_params(struct intel_dp * intel_dp) intel_dp_set_common_link_params() argument 975 source_can_output(struct intel_dp * intel_dp,enum intel_output_format format) source_can_output() argument 1003 dfp_can_convert_from_rgb(struct intel_dp * intel_dp,enum intel_output_format sink_format) dfp_can_convert_from_rgb() argument 1020 dfp_can_convert_from_ycbcr444(struct intel_dp * intel_dp,enum intel_output_format sink_format) dfp_can_convert_from_ycbcr444() argument 1033 dfp_can_convert(struct intel_dp * intel_dp,enum intel_output_format output_format,enum intel_output_format sink_format) dfp_can_convert() argument 1055 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_output_format() local 1134 intel_dp_max_tmds_clock(struct intel_dp * intel_dp) intel_dp_max_tmds_clock() argument 1148 intel_dp_tmds_clock_valid(struct intel_dp * intel_dp,int clock,int bpc,enum intel_output_format sink_format,bool respect_downstream_limits) intel_dp_tmds_clock_valid() argument 1187 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_mode_valid_downstream() local 1221 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_sink_format_valid() local 1269 intel_dp_can_join(struct intel_dp * intel_dp,int num_joined_pipes) intel_dp_can_join() argument 1320 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_mode_valid_format() local 1444 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_mode_valid() local 1514 intel_dp_print_rates(struct intel_dp * intel_dp) intel_dp_print_rates() argument 1532 intel_dp_rate_select(struct intel_dp * intel_dp,int rate) intel_dp_rate_select() argument 1544 intel_dp_compute_rate(struct intel_dp * intel_dp,int port_clock,u8 * link_bw,u8 * rate_select) intel_dp_compute_rate() argument 1564 intel_dp_has_hdmi_sink(struct intel_dp * intel_dp) intel_dp_has_hdmi_sink() argument 1571 intel_dp_source_supports_fec(struct intel_dp * intel_dp,const struct intel_crtc_state * pipe_config) intel_dp_source_supports_fec() argument 1587 intel_dp_supports_fec(struct intel_dp * intel_dp,const struct intel_connector * connector,const struct intel_crtc_state * pipe_config) intel_dp_supports_fec() argument 1595 intel_dp_supports_dsc(struct intel_dp * intel_dp,const struct intel_connector * connector,const struct intel_crtc_state * crtc_state) intel_dp_supports_dsc() argument 1609 intel_dp_hdmi_compute_bpc(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int bpc,bool respect_downstream_limits) intel_dp_hdmi_compute_bpc() argument 1641 intel_dp_max_bpp(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,bool respect_downstream_limits) intel_dp_max_bpp() argument 1708 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 1931 is_bw_sufficient_for_dsc_config(struct intel_dp * intel_dp,int link_clock,int lane_count,int mode_clock,int mode_hdisplay,int dsc_slice_count,int link_bpp_x16,unsigned long bw_overhead_flags) is_bw_sufficient_for_dsc_config() argument 1948 dsc_compute_link_config(struct intel_dp * intel_dp,struct intel_crtc_state * pipe_config,struct drm_connector_state * conn_state,const struct link_config_limits * limits,int dsc_bpp_x16) dsc_compute_link_config() argument 2110 dsc_src_max_compressed_bpp(struct intel_dp * intel_dp) dsc_src_max_compressed_bpp() argument 2156 intel_dp_dsc_valid_compressed_bpp(struct intel_dp * intel_dp,int bpp_x16) intel_dp_dsc_valid_compressed_bpp() argument 2211 dsc_compute_compressed_bpp(struct intel_dp * intel_dp,struct intel_crtc_state * pipe_config,struct drm_connector_state * conn_state,const struct link_config_limits * limits,int pipe_bpp) dsc_compute_compressed_bpp() argument 2287 intel_dp_force_dsc_pipe_bpp(struct intel_dp * intel_dp,const struct link_config_limits * limits) intel_dp_force_dsc_pipe_bpp() argument 2311 intel_dp_dsc_compute_pipe_bpp(struct intel_dp * intel_dp,struct intel_crtc_state * pipe_config,struct drm_connector_state * conn_state,const struct link_config_limits * limits) intel_dp_dsc_compute_pipe_bpp() argument 2368 intel_dp_dsc_compute_config(struct intel_dp * intel_dp,struct intel_crtc_state * pipe_config,struct drm_connector_state * conn_state,const struct link_config_limits * limits,int timeslots) intel_dp_dsc_compute_config() argument 2487 struct intel_dp *intel_dp = intel_attached_dp(connector); compute_max_compressed_bpp_x16() local 2529 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_mode_valid_with_dsc() local 2560 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_get_connector_max_link_config() local 2580 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_compute_config_link_bpp_limits() local 2668 intel_dp_compute_config_limits(struct intel_dp * intel_dp,struct drm_connector_state * conn_state,struct intel_crtc_state * crtc_state,bool respect_downstream_limits,bool dsc,struct link_config_limits * limits) intel_dp_compute_config_limits() argument 2830 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_link_for_joined_pipes() local 2928 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_link_config() local 3103 intel_dp_needs_as_sdp(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_dp_needs_as_sdp() argument 3122 intel_dp_compute_as_sdp(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state) intel_dp_compute_as_sdp() argument 3172 intel_dp_compute_vsc_sdp(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,const struct drm_connector_state * conn_state) intel_dp_compute_vsc_sdp() argument 3232 intel_dp_compute_hdr_metadata_infoframe_sdp(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,const struct drm_connector_state * conn_state) intel_dp_compute_hdr_metadata_infoframe_sdp() argument 3352 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_output_format() local 3374 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_formats() local 3412 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_audio_compute_config() local 3437 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_queue_modeset_retry_for_link() local 3557 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_config() local 3663 intel_dp_set_link_params(struct intel_dp * intel_dp,int link_rate,int lane_count) intel_dp_set_link_params() argument 3673 intel_dp_reset_link_params(struct intel_dp * intel_dp) intel_dp_reset_link_params() argument 3693 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(conn_state->best_encoder)); intel_edp_backlight_on() local 3707 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(old_conn_state->best_encoder)); intel_edp_backlight_off() local 3719 downstream_hpd_needs_d0(struct intel_dp * intel_dp) downstream_hpd_needs_d0() argument 3908 intel_dp_init_source_oui(struct intel_dp * intel_dp) intel_dp_init_source_oui() argument 3940 intel_dp_invalidate_source_oui(struct intel_dp * intel_dp) intel_dp_invalidate_source_oui() argument 3945 intel_dp_wait_source_oui(struct intel_dp * intel_dp) intel_dp_wait_source_oui() argument 3960 intel_dp_set_power(struct intel_dp * intel_dp,u8 mode) intel_dp_set_power() argument 4019 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_sync_state() local 4044 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_initial_fastset_check() local 4086 intel_dp_get_pcon_dsc_cap(struct intel_dp * intel_dp) intel_dp_get_pcon_dsc_cap() argument 4139 intel_dp_hdmi_sink_max_frl(struct intel_dp * intel_dp) intel_dp_hdmi_sink_max_frl() argument 4169 intel_dp_pcon_is_frl_trained(struct intel_dp * intel_dp,u8 max_frl_bw_mask,u8 * frl_trained_mask) intel_dp_pcon_is_frl_trained() argument 4180 intel_dp_pcon_start_frl_training(struct intel_dp * intel_dp) intel_dp_pcon_start_frl_training() argument 4248 intel_dp_is_hdmi_2_1_sink(struct intel_dp * intel_dp) intel_dp_is_hdmi_2_1_sink() argument 4259 intel_dp_pcon_set_tmds_mode(struct intel_dp * intel_dp) intel_dp_pcon_set_tmds_mode() argument 4280 intel_dp_check_frl_training(struct intel_dp * intel_dp) intel_dp_check_frl_training() argument 4319 intel_dp_pcon_dsc_enc_slices(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_pcon_dsc_enc_slices() argument 4335 intel_dp_pcon_dsc_enc_bpp(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int num_slices,int slice_width) intel_dp_pcon_dsc_enc_bpp() argument 4353 intel_dp_pcon_dsc_configure(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_pcon_dsc_configure() argument 4409 intel_dp_configure_protocol_converter(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_dp_configure_protocol_converter() argument 4475 intel_dp_read_dprx_feature_enum(struct intel_dp * intel_dp) intel_dp_read_dprx_feature_enum() argument 4603 intel_dp_detect_dsc_caps(struct intel_dp * intel_dp,struct intel_connector * connector) intel_dp_detect_dsc_caps() argument 4624 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_edp_mso_mode_fixup() local 4648 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_edp_fixup_vbt_bpp() local 4672 intel_edp_mso_init(struct intel_dp * intel_dp) intel_edp_mso_init() argument 4711 intel_edp_set_data_override_rates(struct intel_dp * intel_dp) intel_edp_set_data_override_rates() argument 4728 intel_edp_set_sink_rates(struct intel_dp * intel_dp) intel_edp_set_sink_rates() argument 4789 intel_edp_init_dpcd(struct intel_dp * intel_dp,struct intel_connector * connector) intel_edp_init_dpcd() argument 4860 intel_dp_has_sink_count(struct intel_dp * intel_dp) intel_dp_has_sink_count() argument 4870 intel_dp_update_sink_caps(struct intel_dp * intel_dp) intel_dp_update_sink_caps() argument 4890 intel_dp_get_dpcd(struct intel_dp * intel_dp) intel_dp_get_dpcd() argument 4958 intel_dp_mst_mode_choose(struct intel_dp * intel_dp,enum drm_dp_mst_mode sink_mst_mode) intel_dp_mst_mode_choose() argument 4977 intel_dp_mst_detect(struct intel_dp * intel_dp) intel_dp_mst_detect() argument 5000 intel_dp_mst_configure(struct intel_dp * intel_dp) intel_dp_mst_configure() argument 5017 intel_dp_mst_disconnect(struct intel_dp * intel_dp) intel_dp_mst_disconnect() argument 5050 intel_dp_get_sink_irq_esi(struct intel_dp * intel_dp,u8 * esi) intel_dp_get_sink_irq_esi() argument 5072 intel_dp_ack_sink_irq_esi(struct intel_dp * intel_dp,u8 esi[4]) intel_dp_ack_sink_irq_esi() argument 5086 intel_dp_get_sink_irq_esi_sst(struct intel_dp * intel_dp,u8 esi[4]) intel_dp_get_sink_irq_esi_sst() argument 5108 intel_dp_ack_sink_irq_esi_sst(struct intel_dp * intel_dp,u8 esi[4]) intel_dp_ack_sink_irq_esi_sst() argument 5131 intel_dp_get_and_ack_sink_irq_esi_sst(struct intel_dp * intel_dp,u8 esi[4]) intel_dp_get_and_ack_sink_irq_esi_sst() argument 5162 struct intel_dp *intel_dp = intel_dp_needs_vsc_colorimetry() local 5623 intel_dp_mst_hpd_irq(struct intel_dp * intel_dp,u8 * esi,u8 * ack) intel_dp_mst_hpd_irq() argument 5652 intel_dp_check_mst_status(struct intel_dp * intel_dp) intel_dp_check_mst_status() argument 5711 intel_dp_handle_hdmi_link_status_change(struct intel_dp * intel_dp) intel_dp_handle_hdmi_link_status_change() argument 5734 intel_dp_has_connector(struct intel_dp * intel_dp,const struct drm_connector_state * conn_state) intel_dp_has_connector() argument 5774 intel_dp_get_active_pipes(struct intel_dp * intel_dp,struct drm_modeset_acquire_ctx * ctx,u8 * pipe_mask) intel_dp_get_active_pipes() argument 5825 intel_dp_handle_device_service_irq(struct intel_dp * intel_dp,u8 irq_mask) intel_dp_handle_device_service_irq() argument 5846 intel_dp_handle_link_service_irq(struct intel_dp * intel_dp,u8 irq_mask) intel_dp_handle_link_service_irq() argument 5895 intel_dp_short_pulse(struct intel_dp * intel_dp) intel_dp_short_pulse() argument 5949 intel_dp_detect_dpcd(struct intel_dp * intel_dp) intel_dp_detect_dpcd() argument 6006 edp_detect(struct intel_dp * intel_dp) edp_detect() argument 6069 intel_dp_get_edid(struct intel_dp * intel_dp) intel_dp_get_edid() argument 6087 intel_dp_update_dfp(struct intel_dp * intel_dp,const struct drm_edid * drm_edid) intel_dp_update_dfp() argument 6127 intel_dp_can_ycbcr420(struct intel_dp * intel_dp) intel_dp_can_ycbcr420() argument 6145 intel_dp_update_420(struct intel_dp * intel_dp) intel_dp_update_420() argument 6174 intel_dp_set_edid(struct intel_dp * intel_dp) intel_dp_set_edid() argument 6201 intel_dp_unset_edid(struct intel_dp * intel_dp) intel_dp_unset_edid() argument 6224 intel_dp_sink_supports_as_sdp_v2(struct intel_dp * intel_dp) intel_dp_sink_supports_as_sdp_v2() argument 6264 intel_dp_detect_sdp_caps(struct intel_dp * intel_dp) intel_dp_detect_sdp_caps() argument 6281 intel_dp_needs_dpcd_probe(struct intel_dp * intel_dp,bool force_on_external) intel_dp_needs_dpcd_probe() argument 6297 intel_dp_dpcd_set_probe(struct intel_dp * intel_dp,bool force_on_external) intel_dp_dpcd_set_probe() argument 6310 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_detect() local 6463 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_force() local 6485 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_get_modes() local 6518 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_connector_register() local 6553 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_connector_unregister() local 6578 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_encoder_flush_work() local 6599 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_encoder_suspend() local 6608 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_encoder_shutdown() local 6730 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_connector_atomic_check() local 6817 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_hpd_pulse() local 6920 intel_dp_add_properties(struct intel_dp * intel_dp,struct drm_connector * _connector) intel_dp_add_properties() argument 6954 intel_edp_add_properties(struct intel_dp * intel_dp) intel_edp_add_properties() argument 6969 intel_edp_backlight_setup(struct intel_dp * intel_dp,struct intel_connector * connector) intel_edp_backlight_setup() argument 6981 intel_edp_init_connector(struct intel_dp * intel_dp,struct intel_connector * connector) intel_edp_init_connector() argument 7152 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_init_connector() local 7261 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_cleanup_connector() local 7278 struct intel_dp *intel_dp; intel_dp_mst_suspend() local 7301 struct intel_dp *intel_dp; intel_dp_mst_resume() local 7340 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_dp_compute_config_late() local 7404 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_joiner_candidate_valid() local 7429 intel_dp_link_init(struct intel_dp * intel_dp) intel_dp_link_init() argument 7445 intel_dp_link_cleanup(struct intel_dp * intel_dp) intel_dp_link_cleanup() argument [all...] |
| H A D | intel_dp_mst.c | 48 #include "intel_dp.h" 107 static struct intel_dp *to_primary_dp(struct intel_encoder *encoder) in to_primary_dp() 115 int intel_dp_mst_active_streams(struct intel_dp *intel_dp) in intel_dp_mst_active_streams() argument 117 return intel_dp->mst.active_streams; 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() argument 122 struct intel_display *display = to_intel_display(intel_dp); in intel_dp_mst_dec_active_streams() 125 intel_dp->mst.active_streams, intel_dp in intel_dp_mst_dec_active_streams() 133 intel_dp_mst_inc_active_streams(struct intel_dp * intel_dp) intel_dp_mst_inc_active_streams() argument 249 intel_dp_mtp_tu_compute_config(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state,int min_bpp_x16,int max_bpp_x16,int bpp_step_x16,bool dsc) intel_dp_mtp_tu_compute_config() argument 443 mst_stream_compute_link_config(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state,const struct link_config_limits * limits) mst_stream_compute_link_config() argument 473 mst_stream_dsc_compute_link_config(struct intel_dp * intel_dp,struct intel_crtc_state * crtc_state,struct drm_connector_state * conn_state,const struct link_config_limits * limits) mst_stream_dsc_compute_link_config() argument 517 struct intel_dp *intel_dp = intel_attached_dp((struct intel_connector *)connector); get_connector_max_rate() local 557 adjust_limits_for_dsc_hblank_expansion_quirk(struct intel_dp * intel_dp,const struct intel_connector * connector,const struct intel_crtc_state * crtc_state,struct link_config_limits * limits,bool dsc) adjust_limits_for_dsc_hblank_expansion_quirk() argument 617 mst_stream_compute_config_limits(struct intel_dp * intel_dp,struct drm_connector_state * conn_state,struct intel_crtc_state * crtc_state,bool dsc,struct link_config_limits * limits) mst_stream_compute_config_limits() argument 644 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_compute_link_for_joined_pipes() local 746 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_compute_config() local 969 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_compute_config_late() local 1075 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_disable() local 1095 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_post_disable() local 1189 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_post_pll_disable() local 1202 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_pre_pll_enable() local 1216 intel_mst_probed_link_params_valid(struct intel_dp * intel_dp,int link_rate,int lane_count) intel_mst_probed_link_params_valid() argument 1223 intel_mst_set_probed_link_params(struct intel_dp * intel_dp,int link_rate,int lane_count) intel_mst_set_probed_link_params() argument 1230 intel_mst_reprobe_topology(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_mst_reprobe_topology() argument 1251 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_pre_enable() local 1345 struct intel_dp *intel_dp = to_primary_dp(encoder); mst_stream_enable() local 1437 struct intel_dp *intel_dp = connector->mst.dp; mst_connector_get_ddc_modes() local 1513 struct intel_dp *intel_dp = connector->mst.dp; mst_connector_mode_valid_ctx() local 1660 struct intel_dp *intel_dp = connector->mst.dp; mst_connector_atomic_best_encoder() local 1672 struct intel_dp *intel_dp = connector->mst.dp; mst_connector_detect_ctx() local 1721 mst_topology_add_connector_properties(struct intel_dp * intel_dp,struct drm_connector * _connector,const char * pathprop) mst_topology_add_connector_properties() argument 1749 intel_dp_mst_read_decompression_port_dsc_caps(struct intel_dp * intel_dp,struct intel_connector * connector) intel_dp_mst_read_decompression_port_dsc_caps() argument 1822 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst.mgr); mst_topology_add_connector() local 1883 struct intel_dp *intel_dp = container_of(mgr, struct intel_dp, mst.mgr); mst_topology_poll_hpd_irq() local 1952 struct intel_dp *intel_dp = &dig_port->dp; mst_stream_encoders_create() local 1964 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_mst_encoder_init() local 1992 intel_dp_mst_source_support(struct intel_dp * intel_dp) intel_dp_mst_source_support() argument 2000 struct intel_dp *intel_dp = &dig_port->dp; intel_dp_mst_encoder_cleanup() local 2200 intel_dp_mst_prepare_probe(struct intel_dp * intel_dp) intel_dp_mst_prepare_probe() argument 2239 intel_dp_mst_verify_dpcd_state(struct intel_dp * intel_dp) intel_dp_mst_verify_dpcd_state() argument [all...] |
| H A D | intel_dp_aux_backlight.c | 42 #include "intel_dp.h" 116 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_supports_hdr_backlight() 117 struct drm_dp_aux *aux = &intel_dp->aux; in intel_dp_aux_supports_hdr_backlight() 122 intel_dp_wait_source_oui(intel_dp); in intel_dp_aux_supports_hdr_backlight() 179 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); in intel_dp_aux_hdr_get_backlight() 184 ret = drm_dp_dpcd_read_byte(&intel_dp->aux, INTEL_EDP_HDR_GETSET_CTRL_PARAMS, &tmp); in intel_dp_aux_hdr_get_backlight() 203 ret = drm_dp_dpcd_read_data(&intel_dp->aux, INTEL_EDP_BRIGHTNESS_NITS_LSB, buf, in intel_dp_aux_hdr_get_backlight() 220 struct intel_dp *intel_d in intel_dp_aux_hdr_set_aux_backlight() 115 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_supports_hdr_backlight() local 178 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_hdr_get_backlight() local 216 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_hdr_set_aux_backlight() local 249 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_write_content_luminance() local 309 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_hdr_enable_backlight() local 386 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_write_panel_luminance_override() local 452 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_vesa_get_backlight() local 480 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_vesa_set_backlight() local 497 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_vesa_enable_backlight() local 520 struct intel_dp *intel_dp = enc_to_intel_dp(connector->encoder); intel_dp_aux_vesa_disable_backlight() local 535 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_aux_vesa_setup_backlight() local 613 check_if_vesa_backlight_possible(struct intel_dp * intel_dp) check_if_vesa_backlight_possible() argument 644 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_aux_supports_vesa_backlight() local 686 struct intel_dp *intel_dp = intel_attached_dp(connector); intel_dp_aux_init_backlight_funcs() local [all...] |
| H A D | intel_dp_mst.h | 16 struct intel_dp; 21 int intel_dp_mst_active_streams(struct intel_dp *intel_dp); 24 bool intel_dp_mst_source_support(struct intel_dp *intel_dp); 33 void intel_dp_mst_prepare_probe(struct intel_dp *intel_dp); 34 bool intel_dp_mst_verify_dpcd_state(struct intel_dp *intel_dp); 36 int intel_dp_mtp_tu_compute_config(struct intel_dp *intel_dp,
|
| 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() argument 21 intel_dp->quirks.mask |= BIT(quirk); in intel_set_dpcd_quirk() 75 static void quirk_fw_sync_len(struct intel_dp *intel_dp) in quirk_fw_sync_len() argument 77 struct intel_display *display = to_intel_display(intel_dp); in quirk_fw_sync_len() 79 intel_set_dpcd_quirk(intel_dp, QUIRK_FW_SYNC_LEN); in quirk_fw_sync_len() 89 static void quirk_disable_edp_panel_replay(struct intel_dp *intel_dp) in quirk_disable_edp_panel_replay() argument 91 struct intel_display *display = to_intel_display(intel_dp); in quirk_disable_edp_panel_replay() 316 intel_init_dpcd_quirks(struct intel_dp * intel_dp,const struct drm_dp_dpcd_ident * ident) intel_init_dpcd_quirks() argument 345 intel_has_dpcd_quirk(struct intel_dp * intel_dp,enum intel_quirk_id quirk) intel_has_dpcd_quirk() argument [all...] |
| H A D | intel_dp_link_caps.c | 107 struct intel_dp *dp; 226 struct intel_dp *intel_dp = intel_attached_dp(connector); in intel_dp_link_caps_connector_compute_order() local 229 .dir = connector_compute_order_dir(connector->mst.dp, intel_dp->use_max_params) in intel_dp_link_caps_connector_compute_order() 784 struct intel_dp *intel_dp = (struct intel_dp *)p; /* remove const */ in link_config_cmp_by_bw() local 785 struct intel_dp_link_caps *link_caps = intel_dp->link.caps; in link_config_cmp_by_bw() 859 struct intel_dp *intel_dp = link_caps->dp; in intel_dp_link_caps_update() local 860 struct intel_display *display = to_intel_display(intel_dp); in intel_dp_link_caps_update() 907 intel_dp); in intel_dp_link_caps_update() 951 struct intel_dp *intel_dp = intel_attached_dp(connector); in i915_dp_force_link_rate_show() local 952 struct intel_dp_link_caps *link_caps = intel_dp->link.caps; in i915_dp_force_link_rate_show() [all …]
|
| H A D | intel_dp_aux.h | 13 struct intel_dp; 16 void intel_dp_aux_fini(struct intel_dp *intel_dp); 17 void intel_dp_aux_init(struct intel_dp *intel_dp); 23 int intel_dp_aux_fw_sync_len(struct intel_dp *intel_dp);
|
| H A D | intel_ddi.c | 60 #include "intel_dp.h" 358 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_ddi_init_dp_buf_reg() 362 intel_dp->DP = DDI_PORT_WIDTH(crtc_state->lane_count) | in intel_ddi_init_dp_buf_reg() 366 intel_dp->DP |= DDI_BUF_PORT_REVERSAL; in intel_ddi_init_dp_buf_reg() 368 intel_dp->DP |= DDI_A_4_LANES; in intel_ddi_init_dp_buf_reg() 372 intel_dp->DP |= DDI_BUF_PORT_DATA_40BIT; in intel_ddi_init_dp_buf_reg() 374 intel_dp->DP |= DDI_BUF_PORT_DATA_10BIT; in intel_ddi_init_dp_buf_reg() 378 intel_dp->DP |= ddi_buf_phy_link_rate(crtc_state->port_clock); in intel_ddi_init_dp_buf_reg() 380 intel_dp in intel_ddi_init_dp_buf_reg() 357 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_init_dp_buf_reg() local 892 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_get_encoder_pipes() local 1130 intel_ddi_dp_voltage_max(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_ddi_dp_voltage_max() argument 1154 intel_ddi_dp_preemph_max(struct intel_dp * intel_dp) intel_ddi_dp_preemph_max() argument 1185 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); icl_ddi_combo_vswing_program() local 1469 translate_signal_level(struct intel_dp * intel_dp,u8 signal_levels) translate_signal_level() argument 1492 intel_ddi_dp_level(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,int lane) intel_ddi_dp_level() argument 1548 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); hsw_set_signal_levels() local 2329 intel_dp_sink_set_msa_timing_par_ignore_state(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,bool enable) intel_dp_sink_set_msa_timing_par_ignore_state() argument 2345 intel_dp_sink_set_fec_ready(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,bool enable) intel_dp_sink_set_fec_ready() argument 2393 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_wait_for_fec_status() local 2641 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); mtl_ddi_pre_enable_dp() local 2757 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); tgl_ddi_pre_enable_dp() local 2904 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); hsw_ddi_pre_enable_dp() local 3141 struct intel_dp *intel_dp = &dig_port->dp; intel_ddi_post_disable_dp() local 3240 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_post_disable_hdmi_or_sst() local 3380 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_enable_dp() local 3548 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_enable() local 3584 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_disable_dp() local 3744 mtl_ddi_prepare_link_retrain(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) mtl_ddi_prepare_link_retrain() argument 3802 intel_ddi_prepare_link_retrain(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_ddi_prepare_link_retrain() argument 3834 intel_ddi_set_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state,u8 dp_train_pat) intel_ddi_set_link_train() argument 3866 intel_ddi_set_idle_link_train(struct intel_dp * intel_dp,const struct intel_crtc_state * crtc_state) intel_ddi_set_idle_link_train() argument 4169 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_read_func_ctl() local 4685 struct intel_dp *intel_dp = enc_to_intel_dp(to_intel_encoder(encoder)); intel_ddi_encoder_reset() local 4768 struct intel_dp *intel_dp = &dig_port->dp; intel_ddi_cleanup_dp_connector() local 4864 struct intel_dp *intel_dp = &dig_port->dp; intel_ddi_hotplug() local 5096 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_tc_encoder_suspend_complete() local 5117 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_ddi_tc_encoder_shutdown_complete() local [all...] |
| H A D | intel_display_types.h | 607 struct intel_dp *dp; 1848 struct intel_dp { 1916 u32 (*get_aux_clock_divider)(struct intel_dp *dp, int index); argument 1921 u32 (*get_aux_send_ctl)(struct intel_dp *dp, int send_bytes, 1924 intel_reg_t (*aux_ch_ctl_reg)(struct intel_dp *dp); 1925 intel_reg_t (*aux_ch_data_reg)(struct intel_dp *dp, int index); 1928 void (*prepare_link_retrain)(struct intel_dp *intel_dp, 1930 void (*set_link_train)(struct intel_dp *intel_dp, 1823 struct intel_dp { global() struct 1824 output_regintel_dp global() argument 1825 DPintel_dp global() argument 1826 link_rateintel_dp global() argument 1827 lane_countintel_dp global() argument 1828 sink_countintel_dp global() argument 1829 downstream_port_changedintel_dp global() argument 1830 needs_modeset_retryintel_dp global() argument 1831 use_max_paramsintel_dp global() argument 1832 dpcdintel_dp global() argument 1834 downstream_portsintel_dp global() argument 1835 edp_dpcdintel_dp global() argument 1859 __anon9b3706c82e08intel_dp global() argument 1861 linkintel_dp global() argument 1862 reset_link_paramsintel_dp global() argument 1886 auxintel_dp global() argument 1891 get_aux_clock_dividerintel_dp global() argument 1896 get_aux_send_ctlintel_dp global() argument 1899 aux_ch_ctl_regintel_dp global() argument 1900 aux_ch_data_regintel_dp global() argument 1903 prepare_link_retrainintel_dp global() argument 1905 set_link_trainintel_dp global() argument 1908 set_idle_link_trainintel_dp global() argument 1911 preemph_maxintel_dp global() argument 1912 voltage_maxintel_dp global() argument 1941 frlintel_dp global() argument 1943 psrintel_dp global() argument 1946 last_oui_writeintel_dp global() argument 1947 oui_validintel_dp global() argument 1949 colorimetry_supportintel_dp global() argument 1951 sst_split_sdp_supportintel_dp global() argument 1953 __anon9b3706c83108intel_dp global() argument 1982 quirksintel_dp global() argument 2149 dp_to_dig_port(struct intel_dp * intel_dp) dp_to_dig_port() argument [all...] |
| H A D | intel_vrr.c | 27 #include "intel_dp.h" 46 struct intel_dp *intel_dp; in intel_vrr_is_capable() 65 intel_dp = intel_attached_dp(connector); in intel_vrr_is_capable() 74 if (drm_dp_is_branch(intel_dp->dpcd)) in intel_vrr_is_capable() 77 if (!drm_dp_sink_can_do_video_without_timing_msa(intel_dp->dpcd)) in intel_vrr_is_capable() 41 struct intel_dp *intel_dp; intel_vrr_is_capable() local 430 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 1299 intel_psr_pause(intel_dp); in intel_lt_phy_transaction_begin() 1308 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_lt_phy_transaction_end() local 1310 intel_psr_resume(intel_dp); in intel_lt_phy_transaction_end() 1339 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_lt_phy_pll_is_ssc_enabled() local 1341 return (intel_dp->dpcd[DP_MAX_DOWNSPREAD] & DP_MAX_DOWNSPREAD_0_5); in intel_lt_phy_pll_is_ssc_enabled()
|
| H A D | intel_ddi.h | 18 struct intel_dp;
|
| H A D | intel_cdclk.c | 2663 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() 2665 intel_psr_pause(intel_dp); in intel_set_cdclk() 2677 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() 2679 mutex_lock_nest_lock(&intel_dp->aux.hw_mutex, in intel_set_cdclk() 2686 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_set_cdclk() 2688 mutex_unlock(&intel_dp->aux.hw_mutex); in intel_set_cdclk() 2693 struct intel_dp *intel_d in intel_set_cdclk() 2673 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_set_cdclk() local 2687 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_set_cdclk() local 2696 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_set_cdclk() local 2703 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_set_cdclk() local [all...] |
| H A D | intel_cx0_phy.c | 22 #include "intel_dp.h" 114 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0_phy_transaction_begin() 117 intel_psr_pause(intel_dp); in intel_cx0_phy_transaction_begin() 127 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0_phy_transaction_end() 129 intel_psr_resume(intel_dp); in intel_cx0_phy_transaction_end() 1993 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); in intel_cx0pll_update_ssc() 1995 (intel_dp in intel_cx0pll_update_ssc() 113 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_cx0_phy_transaction_begin() local 126 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_cx0_phy_transaction_end() local 1992 struct intel_dp *intel_dp = enc_to_intel_dp(encoder); intel_cx0pll_update_ssc() local [all...] |
| /linux/drivers/gpu/drm/xe/ |
| H A D | Makefile | 282 i915-display/intel_dp.o \
|