/* * 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. * */ #ifndef SMU14_DRIVER_IF_V14_0_0_H #define SMU14_DRIVER_IF_V14_0_0_H FloatInIntFormat_t; DSPCLK_e; DisplayClockTable_t; WatermarkRowGeneric_t; #define NUM_WM_RANGES … #define WM_PSTATE_CHG … #define WM_RETRAINING … WM_CLOCK_e; Watermarks_t; CUSTOM_DPM_SETTING_e; DpmActivityMonitorCoeffExt_t; CustomDpmSettings_t; #define NUM_DCFCLK_DPM_LEVELS … #define NUM_DISPCLK_DPM_LEVELS … #define NUM_DPPCLK_DPM_LEVELS … #define NUM_SOCCLK_DPM_LEVELS … #define NUM_VCN_DPM_LEVELS … #define NUM_SOC_VOLTAGE_LEVELS … #define NUM_VPE_DPM_LEVELS … #define NUM_FCLK_DPM_LEVELS … #define NUM_MEM_PSTATE_LEVELS … MemPstateTable_t; //Freq in MHz //Voltage in milli volts with 2 fractional bits DpmClocks_t; //Freq in MHz //Voltage in milli volts with 2 fractional bits DpmClocks_t_v14_0_1; SmuMetrics_t; //ISP tile definitions TILE_NUM_e; // Tile Selection (Based on arguments) #define ISP_TILE_SEL(tile) … #define ISP_TILE_SEL_ALL … // Workload bits #define WORKLOAD_PPLIB_FULL_SCREEN_3D_BIT … #define WORKLOAD_PPLIB_VIDEO_BIT … #define WORKLOAD_PPLIB_VR_BIT … #define WORKLOAD_PPLIB_COMPUTE_BIT … #define WORKLOAD_PPLIB_CUSTOM_BIT … #define WORKLOAD_PPLIB_COUNT … #define TABLE_BIOS_IF … #define TABLE_WATERMARKS … #define TABLE_CUSTOM_DPM … #define TABLE_BIOS_GPIO_CONFIG … #define TABLE_DPMCLOCKS … #define TABLE_MOMENTARY_PM … #define TABLE_MODERN_STDBY … #define TABLE_SMU_METRICS … #define TABLE_COUNT … #endif