1 // SPDX-License-Identifier: MIT 2 // 3 // Copyright 2024 Advanced Micro Devices, Inc. 4 5 #ifndef __DML_TOP_MCACHE_H__ 6 #define __DML_TOP_MCACHE_H__ 7 8 #include "dml2_external_lib_deps.h" 9 #include "dml_top_display_cfg_types.h" 10 #include "dml_top_types.h" 11 #include "dml2_internal_shared_types.h" 12 13 bool dml2_top_mcache_calc_mcache_count_and_offsets(struct top_mcache_calc_mcache_count_and_offsets_in_out *params); 14 15 void dml2_top_mcache_assign_global_mcache_ids(struct top_mcache_assign_global_mcache_ids_in_out *params); 16 17 bool dml2_top_mcache_validate_admissability(struct top_mcache_validate_admissability_in_out *params); 18 19 bool dml2_top_mcache_build_mcache_programming(struct dml2_build_mcache_programming_in_out *params); 20 21 bool dml2_top_mcache_unit_test(void); 22 23 #endif 24