/* * 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. * * Authors: AMD * */ #include "dc_features.h" #include "display_mode_enums.h" /** * DOC: overview * * Most of the DML code is automatically generated and tested via hardware * description language. Usually, we use the reference _vcs_dpi in the code * where VCS means "Verilog Compiled Simulator" and DPI stands for "Direct * Programmer Interface". In other words, those structs can be used to * interface with Verilog with other languages such as C. */ #ifndef __DISPLAY_MODE_STRUCTS_H__ #define __DISPLAY_MODE_STRUCTS_H__ voltage_scaling_st; soc_bounding_box_st; ip_params_st; display_pipe_source_params_st; display_output_params_st; scaler_ratio_depth_st; scaler_taps_st; display_pipe_dest_params_st; display_pipe_params_st; display_clocks_and_cfg_st; display_e2e_pipe_params_st; display_data_rq_misc_params_st; display_data_rq_sizing_params_st; display_data_rq_dlg_params_st; display_rq_dlg_params_st; display_rq_sizing_params_st; display_rq_misc_params_st; display_rq_params_st; display_dlg_regs_st; display_ttu_regs_st; display_data_rq_regs_st; display_rq_regs_st; display_dlg_sys_params_st; display_arb_params_st; Watermarks; Latencies; DmlPipe; SOCParametersList; struct _vcs_dpi_voltage_scaling_st { … }; /** * _vcs_dpi_soc_bounding_box_st: SOC definitions * * This struct maintains the SOC Bounding Box information for the ASIC; it * defines things such as clock, voltage, performance, etc. Usually, we load * these values from VBIOS; if something goes wrong, we use some hard-coded * values, which will enable the ASIC to light up with limitations. */ struct _vcs_dpi_soc_bounding_box_st { … }; /** * @_vcs_dpi_ip_params_st: IP configuraion for DCN blocks * * In this struct you can find the DCN configuration associated to the specific * ASIC. For example, here we can save how many DPPs the ASIC is using and it * is available. * */ struct _vcs_dpi_ip_params_st { … }; struct _vcs_dpi_display_xfc_params_st { … }; struct _vcs_dpi_display_pipe_source_params_st { … }; struct writeback_st { … }; struct display_audio_params_st { … }; struct _vcs_dpi_display_output_params_st { … }; struct _vcs_dpi_scaler_ratio_depth_st { … }; struct _vcs_dpi_scaler_taps_st { … }; struct _vcs_dpi_display_pipe_dest_params_st { … }; struct _vcs_dpi_display_pipe_params_st { … }; struct _vcs_dpi_display_clocks_and_cfg_st { … }; struct _vcs_dpi_display_e2e_pipe_params_st { … }; struct _vcs_dpi_display_data_rq_misc_params_st { … }; struct _vcs_dpi_display_data_rq_sizing_params_st { … }; struct _vcs_dpi_display_data_rq_dlg_params_st { … }; struct _vcs_dpi_display_rq_dlg_params_st { … }; struct _vcs_dpi_display_rq_sizing_params_st { … }; struct _vcs_dpi_display_rq_misc_params_st { … }; struct _vcs_dpi_display_rq_params_st { … }; struct _vcs_dpi_display_dlg_regs_st { … }; struct _vcs_dpi_display_ttu_regs_st { … }; struct _vcs_dpi_display_data_rq_regs_st { … }; struct _vcs_dpi_display_rq_regs_st { … }; struct _vcs_dpi_display_dlg_sys_params_st { … }; struct _vcs_dpi_display_arb_params_st { … }; #endif /*__DISPLAY_MODE_STRUCTS_H__*/