/* SPDX-License-Identifier: MIT */ /* * Copyright 2023 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 * */ #ifndef __DML2_INTERNAL_TYPES_H__ #define __DML2_INTERNAL_TYPES_H__ #include "dml2_dc_types.h" #include "display_mode_core.h" #include "dml2_wrapper.h" #include "dml2_policy.h" #include "dml_top.h" #include "dml21_wrapper.h" struct dml2_wrapper_optimize_configuration_params { … }; struct dml2_calculate_lowest_supported_state_for_temp_read_scratch { … }; struct dml2_create_scratch { … }; struct dml2_calculate_rq_and_dlg_params_scratch { … }; #define __DML2_WRAPPER_MAX_STREAMS_PLANES__ … struct dml2_dml_to_dc_pipe_mapping { … }; struct dml2_wrapper_scratch { … }; struct dml2_helper_det_policy_scratch { … }; enum dml2_architecture { … }; struct prepare_mcache_programming_locals { … }; struct dml21_wrapper_scratch { … }; struct dml2_pipe_combine_factor { … }; struct dml2_pipe_combine_scratch { … }; struct dml2_context { … }; #endif