/* * Copyright 2017 Advanced Micro Devices, Inc. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the * Software is furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR * OTHER DEALINGS IN THE SOFTWARE. * */ /* * link_encoder.h * * Created on: Oct 6, 2015 * Author: yonsun */ #ifndef LINK_ENCODER_H_ #define LINK_ENCODER_H_ #include "grph_object_defs.h" #include "signal_types.h" #include "dc_types.h" struct dc_context; struct encoder_set_dp_phy_pattern_param; struct link_mst_stream_allocation_table; struct dc_link_settings; struct link_training_settings; struct pipe_ctx; struct encoder_init_data { … }; struct encoder_feature_support { … }; struct link_encoder { … }; struct link_enc_state { … }; enum encoder_type_select { … }; struct link_encoder_funcs { … }; /* * Used to track assignments of links (display endpoints) to link encoders. * * Entry in link_enc_assignments table in struct resource_context. * Entries only marked valid once encoder assigned to a link and invalidated once unassigned. * Uses engine ID as identifier since PHY ID not relevant for USB4 DPIA endpoint. */ struct link_enc_assignment { … }; enum link_enc_cfg_mode { … }; enum dp2_link_mode { … }; enum dp2_phy_tp_select { … }; enum dp2_phy_tp_prbs { … }; struct hpo_dp_link_enc_state { … }; struct hpo_dp_link_encoder { … }; struct hpo_dp_link_encoder_funcs { … }; #endif /* LINK_ENCODER_H_ */