0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef __DAL_COMMAND_TABLE_HELPER_H__
0027 #define __DAL_COMMAND_TABLE_HELPER_H__
0028
0029 #if defined(CONFIG_DRM_AMD_DC_SI)
0030 #include "dce60/command_table_helper_dce60.h"
0031 #endif
0032 #include "dce80/command_table_helper_dce80.h"
0033 #include "dce110/command_table_helper_dce110.h"
0034 #include "dce112/command_table_helper_dce112.h"
0035 #include "command_table_helper_struct.h"
0036
0037 bool dal_bios_parser_init_cmd_tbl_helper(const struct command_table_helper **h,
0038 enum dce_version dce);
0039
0040 bool dal_cmd_table_helper_controller_id_to_atom(
0041 enum controller_id id,
0042 uint8_t *atom_id);
0043
0044 uint32_t dal_cmd_table_helper_encoder_mode_bp_to_atom(
0045 enum signal_type s,
0046 bool enable_dp_audio);
0047
0048 void dal_cmd_table_helper_assign_control_parameter(
0049 const struct command_table_helper *h,
0050 struct bp_encoder_control *control,
0051 DIG_ENCODER_CONTROL_PARAMETERS_V2 *ctrl_param);
0052
0053 bool dal_cmd_table_helper_clock_source_id_to_ref_clk_src(
0054 enum clock_source_id id,
0055 uint32_t *ref_clk_src_id);
0056
0057 uint8_t dal_cmd_table_helper_transmitter_bp_to_atom(
0058 enum transmitter t);
0059
0060 uint8_t dal_cmd_table_helper_encoder_id_to_atom(
0061 enum encoder_id id);
0062 #endif