/Linux-v5.10/drivers/gpu/drm/amd/display/dc/ |
D | dc_link.h | 89 struct dc_link { struct 169 const struct dc_link_status *dc_link_get_status(const struct dc_link *dc_link); argument 178 static inline struct dc_link *dc_get_link_at_index(struct dc *dc, uint32_t link_index) in dc_get_link_at_index() 183 static inline struct dc_link *get_edp_link(const struct dc *dc) in get_edp_link() 199 bool dc_link_set_backlight_level(const struct dc_link *dc_link, 204 bool dc_link_set_backlight_level_nits(struct dc_link *link, 209 bool dc_link_get_backlight_level_nits(struct dc_link *link, 213 bool dc_link_backlight_enable_aux(struct dc_link *link, bool enable); 215 bool dc_link_read_default_bl_aux(struct dc_link *link, uint32_t *backlight_millinits); 216 bool dc_link_set_default_brightness_aux(struct dc_link *link); [all …]
|
D | dm_helpers.h | 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 const 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); 154 struct dc_link *link,
|
D | dm_cp_psp.h | 29 struct dc_link; 41 bool (*enable_assr)(void *handle, struct dc_link *link);
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | dc_link_dp.h | 34 struct dc_link; 39 struct dc_link *link, 44 struct dc_link *link, 49 struct dc_link *link); 52 struct dc_link *link, 66 bool is_mst_supported(struct dc_link *link); 68 bool detect_dp_sink_caps(struct dc_link *link); 70 void detect_edp_sink_caps(struct dc_link *link); 72 bool is_dp_active_dongle(const struct dc_link *link); 74 void dp_enable_mst_on_sink(struct dc_link *link, bool enable); [all …]
|
D | link_hwss.h | 32 struct dc_link *link, 38 struct dc_link *link, 48 struct dc_link *link, 53 void dp_receiver_power_ctrl(struct dc_link *link, bool on); 54 bool edp_receiver_ready_T9(struct dc_link *link); 55 bool edp_receiver_ready_T7(struct dc_link *link); 57 void dp_disable_link_phy(struct dc_link *link, enum signal_type signal); 59 void dp_disable_link_phy_mst(struct dc_link *link, enum signal_type signal); 62 struct dc_link *link, 67 struct dc_link *link, [all …]
|
D | core_types.h | 67 struct dc_link *link_create(const struct link_init_data *init_params); 68 void link_destroy(struct dc_link **link); 72 struct dc_link *link, 75 void core_link_resume(struct dc_link *link); 95 void (*link_init)(struct dc_link *link);
|
D | hw_sequencer.h | 54 void (*edp_power_control)(struct dc_link *link, bool enable); 55 void (*edp_wait_for_hpd_ready)(struct dc_link *link, bool power_up); 84 struct dc_link *link,
|
/Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_debugfs.c | 183 struct dc_link *link = connector->dc_link; in dp_link_settings_read() 249 struct dc_link *link = connector->dc_link; in dp_link_settings_write() 367 struct dc_link *link = connector->dc_link; in dp_phy_settings_read() 407 struct dc_link *link = connector->dc_link; in dp_phy_settings_write() 550 struct dc_link *link = connector->dc_link; in dp_phy_test_pattern_debugfs_write() 847 hdcp_cap = dc_link_is_hdcp14(aconnector->dc_link, aconnector->dc_sink->sink_signal); in hdcp_sink_capability_show() 848 hdcp2_cap = dc_link_is_hdcp22(aconnector->dc_link, aconnector->dc_sink->sink_signal); in hdcp_sink_capability_show() 943 struct dc_link *link = connector->dc_link; in dp_dpcd_data_write() 967 struct dc_link *link = connector->dc_link; in dp_dpcd_data_read() 1025 dpcd_caps = aconnector->dc_link->dpcd_caps; in dp_dsc_fec_support_show() [all …]
|
D | amdgpu_dm_mst_types.c | 101 dc_link_remove_remote_sink(aconnector->dc_link, in dm_dp_mst_connector_destroy() 182 if (!dc_dsc_parse_dsc_dpcd(aconnector->dc_link->ctx->dc, in validate_dsc_caps_on_connector() 221 .link = aconnector->dc_link, in dm_dp_mst_get_modes() 224 aconnector->dc_link, in dm_dp_mst_get_modes() 381 master->dc_link, in dm_dp_add_mst_connector() 431 aconnector->dm_dp_aux.ddc_service = aconnector->dc_link->ddc; in amdgpu_dm_initialize_dp_connector() 452 int dm_mst_get_pbn_divider(struct dc_link *link) in dm_mst_get_pbn_divider() 539 struct dc_link *dc_link, in increase_dsc_bpp() argument 554 pbn_per_timeslot = dm_mst_get_pbn_divider(dc_link); in increase_dsc_bpp() 635 struct dc_link *dc_link, in try_disable_dsc() argument [all …]
|
D | amdgpu_dm_irq.c | 731 const struct dc_link *dc_link = amdgpu_dm_connector->dc_link; in amdgpu_dm_hpd_init() local 733 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd) { in amdgpu_dm_hpd_init() 735 dc_link->irq_source_hpd, in amdgpu_dm_hpd_init() 739 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd_rx) { in amdgpu_dm_hpd_init() 741 dc_link->irq_source_hpd_rx, in amdgpu_dm_hpd_init() 766 const struct dc_link *dc_link = amdgpu_dm_connector->dc_link; in amdgpu_dm_hpd_fini() local 768 dc_interrupt_set(adev->dm.dc, dc_link->irq_source_hpd, false); in amdgpu_dm_hpd_fini() 770 if (DC_IRQ_SOURCE_INVALID != dc_link->irq_source_hpd_rx) { in amdgpu_dm_hpd_fini() 772 dc_link->irq_source_hpd_rx, in amdgpu_dm_hpd_fini()
|
D | amdgpu_dm_helpers.c | 171 const struct dc_link *link) in dm_helpers_dp_update_branch_info() 237 const struct dc_link *link) in dm_helpers_dp_mst_poll_pending_down_reply() 245 const struct dc_link *link) in dm_helpers_dp_mst_clear_payload_allocation_table() 397 const struct dc_link *link, in dm_helpers_dp_mst_start_top_mgr() 421 const struct dc_link *link) in dm_helpers_dp_mst_stop_top_mgr() 439 const struct dc_link *link, in dm_helpers_dp_read_dpcd() 458 const struct dc_link *link, in dm_helpers_dp_write_dpcd() 476 const struct dc_link *link, in dm_helpers_submit_i2c() 535 bool dm_helpers_is_dp_sink_present(struct dc_link *link) in dm_helpers_is_dp_sink_present() 553 struct dc_link *link, in dm_helpers_read_local_edid()
|
D | amdgpu_dm.h | 316 const struct dc_link *backlight_link; 379 struct dc_link *dc_link; member 494 struct dc_link *link,
|
D | amdgpu_dm_hdcp.c | 43 struct dc_link *link = handle; in lp_write_i2c() 53 struct dc_link *link = handle; in lp_read_i2c() 64 struct dc_link *link = handle; in lp_write_dpcd() 72 struct dc_link *link = handle; in lp_read_dpcd() 394 static bool enable_assr(void *handle, struct dc_link *link) in enable_assr() 433 int link_index = aconnector->dc_link->link_index; in update_config() 454 link->ddc_line = aconnector->dc_link->ddc_hw_inst + 1; in update_config() 455 link->dp.rev = aconnector->dc_link->dpcd_caps.dpcd_rev.raw; in update_config()
|
D | amdgpu_dm.c | 132 static enum drm_mode_subconnector get_subconnector_type(struct dc_link *link) in get_subconnector_type() 153 struct dc_link *link = aconnector->dc_link; in update_subconnector_property() 208 static void amdgpu_dm_set_psr_caps(struct dc_link *link); 596 if (aconn->dc_link->connector_signal != SIGNAL_TYPE_EDP) in amdgpu_dm_fbc_init() 1442 if (aconnector->dc_link->type == dc_connection_mst_branch && in detect_mst_link_for_all_connectors() 1451 aconnector->dc_link->type = in detect_mst_link_for_all_connectors() 1515 if (aconnector->dc_link->type != dc_connection_mst_branch || in s3_handle_mst() 1783 static void emulated_link_detect(struct dc_link *link) in emulated_link_detect() 1998 if (!dc_link_detect_sink(aconnector->dc_link, &new_connection_type)) in dm_resume() 2002 emulated_link_detect(aconnector->dc_link); in dm_resume() [all …]
|
D | amdgpu_dm_mst_types.h | 32 int dm_mst_get_pbn_divider(struct dc_link *link);
|
/Linux-v5.10/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,
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 52 static uint32_t get_cr_training_aux_rd_interval(struct dc_link *link, in get_cr_training_aux_rd_interval() 70 struct dc_link *link, in get_eq_training_aux_rd_interval() 95 struct dc_link *link, in wait_for_training_aux_rd_interval() 106 struct dc_link *link, in dpcd_set_training_pattern() 129 static enum dc_dp_training_pattern decide_eq_training_pattern(struct dc_link *link, in decide_eq_training_pattern() 154 struct dc_link *link, in dpcd_set_link_settings() 219 struct dc_link *link, in dc_dp_training_pattern_to_dpcd_training_pattern() 249 struct dc_link *link, in dc_dp_initialize_scrambling_data_symbols() 272 static inline bool is_repeater(struct dc_link *link, uint32_t offset) in is_repeater() 278 struct dc_link *link, in dpcd_set_lt_pattern_and_lane_settings() [all …]
|
D | dc_link.c | 79 static void dc_link_destruct(struct dc_link *link) in dc_link_destruct() 140 static bool program_hpd_filter(const struct dc_link *link) in program_hpd_filter() 213 bool dc_link_detect_sink(struct dc_link *link, enum dc_connection_type *type) in dc_link_detect_sink() 349 bool dc_link_is_dp_sink_present(struct dc_link *link) in dc_link_is_dp_sink_present() 411 static enum signal_type link_detect_sink(struct dc_link *link, in link_detect_sink() 507 static void link_disconnect_sink(struct dc_link *link) in link_disconnect_sink() 517 static void link_disconnect_remap(struct dc_sink *prev_sink, struct dc_link *link) in link_disconnect_remap() 524 bool dc_link_is_hdcp14(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp14() 548 bool dc_link_is_hdcp22(struct dc_link *link, enum signal_type signal) in dc_link_is_hdcp22() 571 static void query_hdcp_capability(enum signal_type signal, struct dc_link *link) in query_hdcp_capability() [all …]
|
D | dc_link_hwss.c | 44 static inline bool is_immediate_downstream(struct dc_link *link, uint32_t offset) in is_immediate_downstream() 50 struct dc_link *link, in core_link_read_dpcd() 65 struct dc_link *link, in core_link_write_dpcd() 79 void dp_receiver_power_ctrl(struct dc_link *link, bool on) in dp_receiver_power_ctrl() 93 struct dc_link *link, in dp_enable_link_phy() 159 bool edp_receiver_ready_T9(struct dc_link *link) in edp_receiver_ready_T9() 187 bool edp_receiver_ready_T7(struct dc_link *link) in edp_receiver_ready_T7() 223 void dp_disable_link_phy(struct dc_link *link, enum signal_type signal) in dp_disable_link_phy() 254 void dp_disable_link_phy_mst(struct dc_link *link, enum signal_type signal) in dp_disable_link_phy_mst() 267 struct dc_link *link, in dp_set_hw_training_pattern() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/hdcp/ |
D | hdcp_msg.c | 115 struct dc_link *link, 124 struct dc_link *link, in hdmi_14_process_transaction() 223 struct dc_link *link, in dpcd_access_helper() 309 struct dc_link *link, in dp_11_process_transaction() 326 struct dc_link *link, in get_protection_properties_by_signal() 372 struct dc_link *link, in dc_process_hdcp_msg()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.h | 164 struct dc_link *link, 167 struct dc_link *link, 170 struct dc_link *link,
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
D | clk_mgr.c | 91 struct dc_link *edp_link = get_edp_link(dc); in clk_mgr_exit_optimized_pwr_state() 105 struct dc_link *edp_link = get_edp_link(dc); in clk_mgr_optimize_pwr_state()
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_hw_lock_mgr.h | 37 bool should_use_dmub_lock(struct dc_link *link);
|
D | dmub_psr.h | 38 …bool (*psr_copy_settings)(struct dmub_psr *dmub, struct dc_link *link, struct psr_context *psr_con…
|
D | dmub_hw_lock_mgr.c | 54 bool should_use_dmub_lock(struct dc_link *link) in should_use_dmub_lock()
|