/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_link.h | 150 struct dc_link { struct 269 const struct dc_link_status *dc_link_get_status(const struct dc_link *dc_link); argument 278 static inline struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() 284 struct dc_link **edp_links, in get_edp_links() 303 const struct dc_link *link, in dc_get_edp_link_panel_inst() 306 struct dc_link *edp_links[MAX_NUM_EDP]; in dc_get_edp_link_panel_inst() 323 bool dc_link_set_backlight_level(const struct dc_link *dc_link, 328 bool dc_link_set_backlight_level_nits(struct dc_link *link, 333 bool dc_link_get_backlight_level_nits(struct dc_link *link, 337 bool dc_link_backlight_enable_aux(struct dc_link *link, bool enable); [all …]
|
D | dm_helpers.h | 62 struct dc_link *link, 72 const struct dc_link *link); 88 const struct dc_link *link); 95 const struct dc_link *link); 113 const struct dc_link *link, 118 struct dc_link *link); 124 const struct dc_link *link, 134 const struct dc_link *link, 141 const struct dc_link *link, 150 struct dc_link *link); [all …]
|
D | dm_cp_psp.h | 29 struct dc_link; 48 bool (*enable_assr)(void *handle, struct dc_link *link);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/ |
D | dc_link_dp.h | 38 struct dc_link; 58 struct dc_link_settings dp_get_max_link_cap(struct dc_link *link); 61 struct dc_link *link, 66 struct dc_link *link, 69 bool decide_edp_link_settings(struct dc_link *link, 86 struct dc_link *link, 89 bool is_mst_supported(struct dc_link *link); 91 bool detect_dp_sink_caps(struct dc_link *link); 93 void detect_edp_sink_caps(struct dc_link *link); 95 bool is_dp_active_dongle(const struct dc_link *link); [all …]
|
D | link_hwss.h | 36 struct dc_link; 53 void (*enable_dp_link_output)(struct dc_link *link, 58 void (*set_dp_link_test_pattern)(struct dc_link *link, 61 void (*set_dp_lane_settings)(struct dc_link *link, 65 void (*update_stream_allocation_table)(struct dc_link *link, 79 void (*disable_link_output)(struct dc_link *link,
|
D | dc_link_dpia.h | 32 struct dc_link; 88 enum dc_status dpcd_get_tunneling_device_data(struct dc_link *link); 93 bool dc_link_dpia_query_hpd_status(struct dc_link *link); 100 struct dc_link *link,
|
D | link_enc_cfg.h | 87 struct dc_link *link_enc_cfg_get_link_using_link_enc( 94 const struct dc_link *link); 105 struct link_encoder *link_enc_cfg_get_link_enc(const struct dc_link *link); 113 bool link_enc_cfg_is_link_enc_avail(struct dc *dc, enum engine_id eng_id, struct dc_link *link);
|
D | hw_sequencer.h | 51 void (*edp_power_control)(struct dc_link *link, bool enable); 52 void (*edp_wait_for_hpd_ready)(struct dc_link *link, bool power_up); 53 void (*edp_wait_for_T12)(struct dc_link *link); 81 struct dc_link *link, 217 void (*enable_dp_link_output)(struct dc_link *link, 222 void (*enable_tmds_link_output)(struct dc_link *link, 228 void (*enable_lvds_link_output)(struct dc_link *link, 232 void (*disable_link_output)(struct dc_link *link,
|
D | link_dpcd.h | 33 struct dc_link *link, 39 struct dc_link *link,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/ |
D | link_dp_trace.h | 28 void dp_trace_init(struct dc_link *link); 29 void dp_trace_reset(struct dc_link *link); 30 bool dc_dp_trace_is_initialized(struct dc_link *link); 31 void dp_trace_detect_lt_init(struct dc_link *link); 32 void dp_trace_commit_lt_init(struct dc_link *link); 33 void dp_trace_link_loss_increment(struct dc_link *link); 34 void dp_trace_lt_fail_count_update(struct dc_link *link, 37 void dp_trace_lt_total_count_increment(struct dc_link *link, 39 void dc_dp_trace_set_is_logged_flag(struct dc_link *link, 42 bool dc_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 dc_dp_trace_is_initialized(struct dc_link *link) in dc_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 dc_dp_trace_set_is_logged_flag(struct dc_link *link, in dc_dp_trace_set_is_logged_flag() 88 bool dc_dp_trace_is_logged(struct dc_link *link, in dc_dp_trace_is_logged() [all …]
|
D | link_hwss_dio.h | 31 bool can_use_dio_link_hwss(const struct dc_link *link, 38 void enable_dio_dp_link_output(struct dc_link *link, 43 void disable_dio_link_output(struct dc_link *link, 46 void set_dio_dp_link_test_pattern(struct dc_link *link, 49 void set_dio_dp_lane_settings(struct dc_link *link,
|
D | link_hwss_hpo_dp.c | 32 static enum phyd32clk_clock_source get_phyd32clk_src(struct dc_link *link) in get_phyd32clk_src() 147 struct dc_link *link = stream->link; in setup_hpo_dp_stream_attribute() 159 static void enable_hpo_dp_fpga_link_output(struct dc_link *link, in enable_hpo_dp_fpga_link_output() 187 static void enable_hpo_dp_link_output(struct dc_link *link, in enable_hpo_dp_link_output() 205 static void disable_hpo_dp_fpga_link_output(struct dc_link *link, in disable_hpo_dp_fpga_link_output() 223 static void disable_hpo_dp_link_output(struct dc_link *link, in disable_hpo_dp_link_output() 236 static void set_hpo_dp_link_test_pattern(struct dc_link *link, in set_hpo_dp_link_test_pattern() 245 static void set_hpo_dp_lane_settings(struct dc_link *link, in set_hpo_dp_lane_settings() 256 static void update_hpo_dp_stream_allocation_table(struct dc_link *link, in update_hpo_dp_stream_allocation_table() 280 bool can_use_hpo_dp_link_hwss(const struct dc_link *link, in can_use_hpo_dp_link_hwss()
|
D | link_hwss_dio.c | 76 struct dc_link *link = stream->link; in setup_dio_stream_attribute() 112 void enable_dio_dp_link_output(struct dc_link *link, in enable_dio_dp_link_output() 133 void disable_dio_link_output(struct dc_link *link, in disable_dio_link_output() 143 void set_dio_dp_link_test_pattern(struct dc_link *link, in set_dio_dp_link_test_pattern() 153 void set_dio_dp_lane_settings(struct dc_link *link, in set_dio_dp_lane_settings() 163 static void update_dio_stream_allocation_table(struct dc_link *link, in update_dio_stream_allocation_table() 187 bool can_use_dio_link_hwss(const struct dc_link *link, in can_use_dio_link_hwss()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.h | 74 void dp_receiver_power_ctrl(struct dc_link *link, bool on); 77 struct dc_link *link, 81 struct dc_link *link, 85 struct dc_link *link, 93 void dce110_disable_link_output(struct dc_link *link, 96 void dce110_enable_lvds_link_output(struct dc_link *link, 100 void dce110_enable_tmds_link_output(struct dc_link *link, 107 struct dc_link *link,
|
/linux-6.1.9/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() 201 bool needs_dsc_aux_workaround(struct dc_link *link) in needs_dsc_aux_workaround() 231 needs_dsc_aux_workaround(aconnector->dc_link)) in validate_dsc_caps_on_connector() 244 if (!dc_dsc_parse_dsc_dpcd(aconnector->dc_link->ctx->dc, in validate_dsc_caps_on_connector() 296 .link = aconnector->dc_link, in dm_dp_mst_get_modes() 300 aconnector->dc_link, in dm_dp_mst_get_modes() 330 .link = aconnector->dc_link, in dm_dp_mst_get_modes() [all …]
|
D | amdgpu_dm_debugfs.c | 184 struct dc_link *link = connector->dc_link; in dp_link_settings_read() 252 struct dc_link *link = connector->dc_link; in dp_link_settings_write() 378 struct dc_link *link = connector->dc_link; in dp_phy_settings_read() 420 struct dc_link *link = connector->dc_link; in dp_lttpr_status_show() 484 struct dc_link *link = connector->dc_link; in dp_phy_settings_write() 627 struct dc_link *link = connector->dc_link; in dp_phy_test_pattern_debugfs_write() 856 struct dc_link *link = aconnector->dc_link; in psr_capability_show() 994 hdcp_cap = dc_link_is_hdcp14(aconnector->dc_link, aconnector->dc_sink->sink_signal); in hdcp_sink_capability_show() 995 hdcp2_cap = dc_link_is_hdcp22(aconnector->dc_link, aconnector->dc_sink->sink_signal); in hdcp_sink_capability_show() 1020 struct dc_link *link = aconnector->dc_link; in internal_display_show() [all …]
|
D | amdgpu_dm_irq.c | 894 const struct dc_link *dc_link = amdgpu_dm_connector->dc_link; in amdgpu_dm_hpd_init() local 896 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd) { in amdgpu_dm_hpd_init() 898 dc_link->irq_source_hpd, in amdgpu_dm_hpd_init() 902 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd_rx) { in amdgpu_dm_hpd_init() 904 dc_link->irq_source_hpd_rx, in amdgpu_dm_hpd_init() 929 const struct dc_link *dc_link = amdgpu_dm_connector->dc_link; in amdgpu_dm_hpd_fini() local 931 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd) { in amdgpu_dm_hpd_fini() 933 dc_link->irq_source_hpd, in amdgpu_dm_hpd_fini() 937 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd_rx) { in amdgpu_dm_hpd_fini() 939 dc_link->irq_source_hpd_rx, in amdgpu_dm_hpd_fini()
|
D | amdgpu_dm_helpers.c | 55 struct dc_link *link, in dm_helpers_parse_edid_caps() 123 fill_dc_mst_payload_table_from_drm(struct dc_link *link, in fill_dc_mst_payload_table_from_drm() 175 const struct dc_link *link) in dm_helpers_dp_update_branch_info() 225 const struct dc_link *link) in dm_helpers_dp_mst_poll_pending_down_reply() 233 const struct dc_link *link) in dm_helpers_dp_mst_clear_payload_allocation_table() 395 const struct dc_link *link, in dm_helpers_dp_mst_start_top_mgr() 419 struct dc_link *link) in dm_helpers_dp_mst_stop_top_mgr() 441 const struct dc_link *link, in dm_helpers_dp_read_dpcd() 460 const struct dc_link *link, in dm_helpers_dp_write_dpcd() 478 const struct dc_link *link, in dm_helpers_submit_i2c() [all …]
|
D | amdgpu_dm_psr.c | 32 static bool link_supports_psrsu(struct dc_link *link) in link_supports_psrsu() 61 void amdgpu_dm_set_psr_caps(struct dc_link *link) in amdgpu_dm_set_psr_caps() 103 struct dc_link *link = NULL; in amdgpu_dm_link_setup_psr() 141 struct dc_link *link = stream->link; in amdgpu_dm_psr_enable()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 116 struct dc_link *link, 125 static uint32_t get_cr_training_aux_rd_interval(struct dc_link *link, in get_cr_training_aux_rd_interval() 147 struct dc_link *link, in get_eq_training_aux_rd_interval() 181 struct dc_link *link, in dp_wait_for_training_aux_rd_interval() 196 struct dc_link *link, in dc_dp_training_pattern_to_dpcd_training_pattern() 238 struct dc_link *link, in dpcd_set_training_pattern() 271 static enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link, in decide_eq_training_pattern() 333 struct dc_link *link, in dp_fixed_vs_pe_read_lane_adjust() 382 struct dc_link *link, in dp_fixed_vs_pe_set_retimer_lane_settings() 425 struct dc_link *link, in dpcd_set_link_settings() [all …]
|
D | dc_link_dpia.c | 42 enum dc_status dpcd_get_tunneling_device_data(struct dc_link *link) in dpcd_get_tunneling_device_data() 73 bool dc_link_dpia_query_hpd_status(struct dc_link *link) in dc_link_dpia_query_hpd_status() 107 struct dc_link *link, in dpia_configure_link() 151 static enum dc_status core_link_send_set_config(struct dc_link *link, in core_link_send_set_config() 174 struct dc_link *link, in dpia_build_set_config_data() 238 static enum dc_status dpcd_set_lt_pattern(struct dc_link *link, in dpcd_set_lt_pattern() 290 struct dc_link *link, in dpia_training_cr_non_transparent() 449 struct dc_link *link, in dpia_training_cr_transparent() 551 struct dc_link *link, in dpia_training_cr_phase() 567 static uint32_t dpia_get_eq_aux_rd_interval(const struct dc_link *link, in dpia_get_eq_aux_rd_interval() [all …]
|
D | dc_link.c | 71 static void dc_link_destruct(struct dc_link *link) in dc_link_destruct() 141 static bool program_hpd_filter(const struct dc_link *link) in program_hpd_filter() 207 bool dc_link_wait_for_t12(struct dc_link *link) in dc_link_wait_for_t12() 226 bool dc_link_detect_sink(struct dc_link *link, enum dc_connection_type *type) in dc_link_detect_sink() 374 bool dc_link_is_dp_sink_present(struct dc_link *link) in dc_link_is_dp_sink_present() 437 static enum signal_type link_detect_sink(struct dc_link *link, in link_detect_sink() 544 static void link_disconnect_sink(struct dc_link *link) in link_disconnect_sink() 555 static void link_disconnect_remap(struct dc_sink *prev_sink, struct dc_link *link) in link_disconnect_remap() 562 bool dc_link_is_hdcp14(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp14() 586 bool dc_link_is_hdcp22(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp22() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/hdcp/ |
D | hdcp_msg.c | 117 struct dc_link *link, 126 struct dc_link *link, in hdmi_14_process_transaction() 225 struct dc_link *link, in dpcd_access_helper() 311 struct dc_link *link, in dp_11_process_transaction() 328 struct dc_link *link, in get_protection_properties_by_signal() 374 struct dc_link *link, in dc_process_hdcp_msg()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/power/ |
D | power_helpers.h | 56 bool is_psr_su_specific_panel(struct dc_link *link); 58 struct dc_link *link,
|