/* * Copyright 2014 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 SMU8_FUSION_H #define SMU8_FUSION_H #include "smu8.h" #pragma pack(push, 1) #define SMU8_MAX_CUS … #define SMU8_PSMS_PER_CU … #define SMU8_CACS_PER_CU … struct SMU8_GfxCuPgScoreboard { … }; struct SMU8_Port80MonitorTable { … }; /* Display specific power management parameters */ #define PWRMGT_SEPARATION_TIME_SHIFT … #define PWRMGT_SEPARATION_TIME_MASK … #define PWRMGT_DISABLE_CPU_CSTATES_SHIFT … #define PWRMGT_DISABLE_CPU_CSTATES_MASK … #define PWRMGT_DISABLE_CPU_PSTATES_SHIFT … #define PWRMGT_DISABLE_CPU_PSTATES_MASK … /* Clock Table Definitions */ #define NUM_SCLK_LEVELS … #define NUM_LCLK_LEVELS … #define NUM_UVD_LEVELS … #define NUM_ECLK_LEVELS … #define NUM_ACLK_LEVELS … struct SMU8_Fusion_ClkLevel { … }; struct SMU8_Fusion_SclkBreakdownTable { … }; struct SMU8_Fusion_LclkBreakdownTable { … }; struct SMU8_Fusion_EclkBreakdownTable { … }; struct SMU8_Fusion_VclkBreakdownTable { … }; struct SMU8_Fusion_DclkBreakdownTable { … }; struct SMU8_Fusion_AclkBreakdownTable { … }; struct SMU8_Fusion_ClkTable { … }; #pragma pack(pop) #endif