/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | link.h | 95 struct dc_link *link; 101 struct dc_link *(*create_link)( 103 void (*destroy_link)(struct dc_link **link); 107 bool (*detect_link)(struct dc_link *link, enum dc_detect_reason reason); 108 bool (*detect_connection_type)(struct dc_link *link, 111 struct dc_link *link, 115 void (*remove_remote_sink)(struct dc_link *link, struct dc_sink *sink); 116 bool (*get_hpd_state)(struct dc_link *link); 120 void (*enable_hpd)(const struct dc_link *link); 121 void (*disable_hpd)(const struct dc_link *link); [all …]
|
D | link_hwss.h | 36 struct dc_link; 54 void (*enable_dp_link_output)(struct dc_link *link, 59 void (*set_dp_link_test_pattern)(struct dc_link *link, 62 void (*set_dp_lane_settings)(struct dc_link *link, 66 void (*update_stream_allocation_table)(struct dc_link *link, 80 void (*disable_link_output)(struct dc_link *link,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/protocols/ |
D | link_edp_panel_control.h | 30 enum dp_panel_mode dp_get_panel_mode(struct dc_link *link); 31 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode); 32 bool set_default_brightness_aux(struct dc_link *link); 33 void edp_panel_backlight_power_on(struct dc_link *link, bool wait_for_hpd); 34 int edp_get_backlight_level(const struct dc_link *link); 35 bool edp_get_backlight_level_nits(struct dc_link *link, 38 bool edp_set_backlight_level(const struct dc_link *link, 41 bool edp_set_backlight_level_nits(struct dc_link *link, 45 int edp_get_target_backlight_pwm(const struct dc_link *link); 46 bool edp_get_psr_state(const struct dc_link *link, enum dc_psr_state *state); [all …]
|
D | link_dp_capability.h | 31 bool detect_dp_sink_caps(struct dc_link *link); 33 void detect_edp_sink_caps(struct dc_link *link); 35 struct dc_link_settings dp_get_max_link_cap(struct dc_link *link); 37 bool dp_get_max_link_enc_cap(const struct dc_link *link, 41 const struct dc_link *link); 46 enum dc_status dp_retrieve_lttpr_cap(struct dc_link *link); 51 bool dp_is_sink_present(struct dc_link *link); 53 bool dp_is_lttpr_present(struct dc_link *link); 55 bool dp_is_fec_supported(const struct dc_link *link); 57 bool is_dp_active_dongle(const struct dc_link *link); [all …]
|
D | link_dp_training.h | 40 struct dc_link *link, 46 struct dc_link *link, 52 struct dc_link *link, 59 struct dc_link *link, 64 struct dc_link *link, 70 struct dc_link *link, 74 struct dc_link *link, 81 struct dc_link *link, 89 struct dc_link *link, 92 enum dc_status configure_lttpr_mode_transparent(struct dc_link *link); [all …]
|
D | link_hpd.h | 31 enum hpd_source_id get_hpd_line(struct dc_link *link); 41 bool program_hpd_filter(const struct dc_link *link); 45 bool dpia_query_hpd_status(struct dc_link *link); 46 bool query_hpd_status(struct dc_link *link, uint32_t *is_hpd_high); 47 bool link_get_hpd_state(struct dc_link *link); 51 void link_enable_hpd(const struct dc_link *link); 52 void link_disable_hpd(const struct dc_link *link); 53 void link_enable_hpd_filter(struct dc_link *link, bool enable);
|
D | link_dp_phy.h | 31 struct dc_link *link, 37 void dp_disable_link_phy(struct dc_link *link, 42 struct dc_link *link, 48 struct dc_link *link, 52 enum dc_status dp_set_fec_ready(struct dc_link *link, 55 void dp_set_fec_enable(struct dc_link *link, bool enable); 57 void dpcd_write_rx_power_ctrl(struct dc_link *link, bool on);
|
D | link_dp_dpia_bw.h | 52 bool link_dp_dpia_set_dptx_usb4_bw_alloc_support(struct dc_link *link); 64 bool link_dp_dpia_allocate_usb4_bandwidth_for_stream(struct dc_link *link, int req_bw); 76 int dpia_handle_usb4_bandwidth_allocation_for_link(struct dc_link *link, int peak_bw); 88 void dpia_handle_bw_alloc_response(struct dc_link *link, uint8_t bw, uint8_t result); 100 bool dpia_validate_usb4_bw(struct dc_link **link, int *bw_needed, const unsigned int num_dpias); 109 int link_dp_dpia_get_dp_overhead_in_dp_tunneling(struct dc_link *link);
|
D | link_dp_dpia_bw.c | 47 static bool get_bw_alloc_proceed_flag(struct dc_link *tmp) in get_bw_alloc_proceed_flag() 54 static void reset_bw_alloc_struct(struct dc_link *link) in reset_bw_alloc_struct() 75 static uint8_t get_bw_granularity(struct dc_link *link) in get_bw_granularity() 101 static int get_estimated_bw(struct dc_link *link) in get_estimated_bw() 114 static int get_non_reduced_max_link_rate(struct dc_link *link) in get_non_reduced_max_link_rate() 127 static int get_non_reduced_max_lane_count(struct dc_link *link) in get_non_reduced_max_lane_count() 145 static void init_usb4_bw_struct(struct dc_link *link) in init_usb4_bw_struct() 163 static uint8_t get_lowest_dpia_index(struct dc_link *link) in get_lowest_dpia_index() 196 struct dc_link *link_dpia_primary, *link_dpia_secondary; in get_host_router_total_dp_tunnel_bw() 243 static void dpia_bw_alloc_unplug(struct dc_link *link) in dpia_bw_alloc_unplug() [all …]
|
D | link_dp_irq_handler.h | 31 struct dc_link *link, 33 bool dp_should_allow_hpd_rx_irq(const struct dc_link *link); 34 void dp_handle_link_loss(struct dc_link *link); 36 struct dc_link *link, 38 bool dp_handle_hpd_rx_irq(struct dc_link *link,
|
D | link_dp_training_8b_10b.h | 38 struct dc_link *link, 43 struct dc_link *link, 49 struct dc_link *link, 54 enum lttpr_mode dp_decide_8b_10b_lttpr_mode(struct dc_link *link); 57 struct dc_link *link,
|
D | link_edp_panel_control.c | 53 void dp_set_panel_mode(struct dc_link *link, enum dp_panel_mode panel_mode) in dp_set_panel_mode() 101 enum dp_panel_mode dp_get_panel_mode(struct dc_link *link) in dp_get_panel_mode() 155 bool edp_set_backlight_level_nits(struct dc_link *link, in edp_set_backlight_level_nits() 213 bool edp_get_backlight_level_nits(struct dc_link *link, in edp_get_backlight_level_nits() 243 bool edp_backlight_enable_aux(struct dc_link *link, bool enable) in edp_backlight_enable_aux() 260 static bool read_default_bl_aux(struct dc_link *link, uint32_t *backlight_millinits) in read_default_bl_aux() 284 bool set_default_brightness_aux(struct dc_link *link) in set_default_brightness_aux() 301 bool edp_is_ilr_optimization_enabled(struct dc_link *link) in edp_is_ilr_optimization_enabled() 308 enum dc_link_rate get_max_edp_link_rate(struct dc_link *link) in get_max_edp_link_rate() 321 bool edp_is_ilr_optimization_required(struct dc_link *link, in edp_is_ilr_optimization_required() [all …]
|
D | link_dp_phy.c | 44 void dpcd_write_rx_power_ctrl(struct dc_link *link, bool on) in dpcd_write_rx_power_ctrl() 59 struct dc_link *link, in dp_enable_link_phy() 71 void dp_disable_link_phy(struct dc_link *link, in dp_disable_link_phy() 90 static inline bool is_immediate_downstream(struct dc_link *link, uint32_t offset) in is_immediate_downstream() 97 struct dc_link *link, in dp_set_hw_lane_settings() 122 struct dc_link *link, in dp_set_drive_settings() 137 enum dc_status dp_set_fec_ready(struct dc_link *link, const struct link_resource *link_res, bool re… in dp_set_fec_ready() 177 void dp_set_fec_enable(struct dc_link *link, bool enable) in dp_set_fec_enable()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/accessories/ |
D | link_dp_trace.h | 29 void dp_trace_init(struct dc_link *link); 30 void dp_trace_reset(struct dc_link *link); 31 bool dp_trace_is_initialized(struct dc_link *link); 32 void dp_trace_detect_lt_init(struct dc_link *link); 33 void dp_trace_commit_lt_init(struct dc_link *link); 34 void dp_trace_link_loss_increment(struct dc_link *link); 35 void dp_trace_lt_fail_count_update(struct dc_link *link, 38 void dp_trace_lt_total_count_increment(struct dc_link *link, 40 void dp_trace_set_is_logged_flag(struct dc_link *link, 43 bool dp_trace_is_logged(struct dc_link *link, [all …]
|
D | link_dp_trace.c | 28 void dp_trace_init(struct dc_link *link) in dp_trace_init() 34 void dp_trace_reset(struct dc_link *link) in dp_trace_reset() 39 bool dp_trace_is_initialized(struct dc_link *link) in dp_trace_is_initialized() 44 void dp_trace_detect_lt_init(struct dc_link *link) in dp_trace_detect_lt_init() 49 void dp_trace_commit_lt_init(struct dc_link *link) in dp_trace_commit_lt_init() 54 void dp_trace_link_loss_increment(struct dc_link *link) in dp_trace_link_loss_increment() 59 void dp_trace_lt_fail_count_update(struct dc_link *link, in dp_trace_lt_fail_count_update() 69 void dp_trace_lt_total_count_increment(struct dc_link *link, in dp_trace_lt_total_count_increment() 78 void dp_trace_set_is_logged_flag(struct dc_link *link, in dp_trace_set_is_logged_flag() 88 bool dp_trace_is_logged(struct dc_link *link, bool in_detection) in dp_trace_is_logged() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_exports.c | 38 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() 47 struct dc_link **edp_links, in dc_get_edp_links() 66 const struct dc_link *link, in dc_get_edp_link_panel_inst() 69 struct dc_link *edp_links[MAX_NUM_EDP]; in dc_get_edp_link_panel_inst() 84 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason) in dc_link_detect() 89 bool dc_link_detect_connection_type(struct dc_link *link, in dc_link_detect_connection_type() 95 const struct dc_link_status *dc_link_get_status(const struct dc_link *link) in dc_link_get_status() 101 bool dc_link_is_hdcp14(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp14() 106 bool dc_link_is_hdcp22(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp22() 111 void dc_link_clear_dprx_states(struct dc_link *link) in dc_link_clear_dprx_states() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | dm_helpers.h | 63 struct dc_link *link, 73 const struct dc_link *link); 89 const struct dc_link *link); 96 const struct dc_link *link); 120 const struct dc_link *link, 125 struct dc_link *link); 129 struct dc_link *link); 136 const struct dc_link *link, 146 const struct dc_link *link, 153 const struct dc_link *link, [all …]
|
D | dc.h | 1409 struct dc_link *links[MAX_LINKS]; 1634 struct dc_link { struct 1796 struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index); 1800 const struct dc_link *link, 1805 struct dc_link **edp_links, 1808 void dc_set_edp_power(const struct dc *dc, struct dc_link *edp_link, 1831 bool dc_link_detect(struct dc_link *link, enum dc_detect_reason reason); 1846 struct dc_link *dc_link, 1856 struct dc_link *link, 1860 void dc_link_enable_hpd(const struct dc_link *link); [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/ |
D | link_detection.h | 29 bool link_detect(struct dc_link *link, enum dc_detect_reason reason); 30 bool link_detect_connection_type(struct dc_link *link, 33 struct dc_link *link, 37 void link_remove_remote_sink(struct dc_link *link, struct dc_sink *sink); 38 bool link_reset_cur_dp_mst_topology(struct dc_link *link); 39 const struct dc_link_status *link_get_status(const struct dc_link *link); 40 bool link_is_hdcp14(struct dc_link *link, enum signal_type signal); 41 bool link_is_hdcp22(struct dc_link *link, enum signal_type signal); 42 void link_clear_dprx_states(struct dc_link *link);
|
D | link_dpms.h | 34 void link_resume(struct dc_link *link); 37 void link_blank_dp_stream(struct dc_link *link, bool hw_init); 38 void link_set_all_streams_dpms_off_for_link(struct dc_link *link); 39 void link_get_master_pipes_with_dpms_on(const struct dc_link *link, 49 const struct dc_link *link);
|
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.h | 56 void init_replay_config(struct dc_link *link, struct replay_config *pr_config); 57 void set_replay_coasting_vtotal(struct dc_link *link, 60 void set_replay_defer_update_coasting_vtotal(struct dc_link *link, 63 void update_replay_coasting_vtotal_from_defer(struct dc_link *link, 65 void set_replay_ips_full_screen_video_src_vtotal(struct dc_link *link, uint16_t vtotal); 66 void calculate_replay_link_off_frame_count(struct dc_link *link, 69 bool is_psr_su_specific_panel(struct dc_link *link); 71 struct dc_link *link, 75 bool psr_su_set_dsc_slice_height(struct dc *dc, struct dc_link *link,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/ |
D | link_hwss_dio_fixed_vs_pe_retimer.h | 30 uint32_t dp_dio_fixed_vs_pe_retimer_get_lttpr_write_address(struct dc_link *link); 31 uint8_t dp_dio_fixed_vs_pe_retimer_lane_cfg_to_hw_cfg(struct dc_link *link); 32 void dp_dio_fixed_vs_pe_retimer_exit_manual_automation(struct dc_link *link); 33 void enable_dio_fixed_vs_pe_retimer_program_4lane_output(struct dc_link *link); 34 bool requires_fixed_vs_pe_retimer_dio_link_hwss(const struct dc_link *link);
|
D | link_hwss_dio.h | 33 bool can_use_dio_link_hwss(const struct dc_link *link, 40 void enable_dio_dp_link_output(struct dc_link *link, 45 void disable_dio_link_output(struct dc_link *link, 48 void set_dio_dp_link_test_pattern(struct dc_link *link, 51 void set_dio_dp_lane_settings(struct dc_link *link, 59 void update_dio_stream_allocation_table(struct dc_link *link,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
D | dce110_hwseq.h | 79 struct dc_link *link, 83 struct dc_link *link, 87 struct dc_link *link, 95 void dce110_disable_link_output(struct dc_link *link, 98 void dce110_enable_lvds_link_output(struct dc_link *link, 102 void dce110_enable_tmds_link_output(struct dc_link *link, 109 struct dc_link *link,
|
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_mst_types.c | 127 dc_link_remove_remote_sink(aconnector->dc_link, in dm_dp_mst_connector_destroy() 165 struct dc_link *dc_link = aconnector->dc_link; in amdgpu_dm_mst_connector_early_unregister() local 176 if (dc_link->sink_count) in amdgpu_dm_mst_connector_early_unregister() 177 dc_link_remove_remote_sink(dc_link, dc_sink); in amdgpu_dm_mst_connector_early_unregister() 181 dc_sink, dc_link->sink_count); in amdgpu_dm_mst_connector_early_unregister() 206 bool needs_dsc_aux_workaround(struct dc_link *link) in needs_dsc_aux_workaround() 217 static bool is_synaptics_cascaded_panamera(struct dc_link *link, struct drm_dp_mst_port *port) in is_synaptics_cascaded_panamera() 252 needs_dsc_aux_workaround(aconnector->dc_link)) in validate_dsc_caps_on_connector() 256 if (is_synaptics_cascaded_panamera(aconnector->dc_link, port)) in validate_dsc_caps_on_connector() 269 if (!dc_dsc_parse_dsc_dpcd(aconnector->dc_link->ctx->dc, in validate_dsc_caps_on_connector() [all …]
|