1 /* 2 * Copyright 2019 Advanced Micro Devices, Inc. 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining a 5 * copy of this software and associated documentation files (the "Software"), 6 * to deal in the Software without restriction, including without limitation 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 8 * and/or sell copies of the Software, and to permit persons to whom the 9 * Software is furnished to do so, subject to the following conditions: 10 * 11 * The above copyright notice and this permission notice shall be included in 12 * all copies or substantial portions of the Software. 13 * 14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR 18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 20 * OTHER DEALINGS IN THE SOFTWARE. 21 */ 22 23 #ifndef __SMU_TYPES_H__ 24 #define __SMU_TYPES_H__ 25 26 #define SMU_MESSAGE_TYPES \ 27 __SMU_DUMMY_MAP(TestMessage), \ 28 __SMU_DUMMY_MAP(GetSmuVersion), \ 29 __SMU_DUMMY_MAP(GetDriverIfVersion), \ 30 __SMU_DUMMY_MAP(SetAllowedFeaturesMaskLow), \ 31 __SMU_DUMMY_MAP(SetAllowedFeaturesMaskHigh), \ 32 __SMU_DUMMY_MAP(EnableAllSmuFeatures), \ 33 __SMU_DUMMY_MAP(DisableAllSmuFeatures), \ 34 __SMU_DUMMY_MAP(EnableSmuFeaturesLow), \ 35 __SMU_DUMMY_MAP(EnableSmuFeaturesHigh), \ 36 __SMU_DUMMY_MAP(DisableSmuFeaturesLow), \ 37 __SMU_DUMMY_MAP(DisableSmuFeaturesHigh), \ 38 __SMU_DUMMY_MAP(GetEnabledSmuFeatures), \ 39 __SMU_DUMMY_MAP(GetEnabledSmuFeaturesLow), \ 40 __SMU_DUMMY_MAP(GetEnabledSmuFeaturesHigh), \ 41 __SMU_DUMMY_MAP(SetWorkloadMask), \ 42 __SMU_DUMMY_MAP(SetPptLimit), \ 43 __SMU_DUMMY_MAP(SetDriverDramAddrHigh), \ 44 __SMU_DUMMY_MAP(SetDriverDramAddrLow), \ 45 __SMU_DUMMY_MAP(SetToolsDramAddrHigh), \ 46 __SMU_DUMMY_MAP(SetToolsDramAddrLow), \ 47 __SMU_DUMMY_MAP(TransferTableSmu2Dram), \ 48 __SMU_DUMMY_MAP(TransferTableDram2Smu), \ 49 __SMU_DUMMY_MAP(UseDefaultPPTable), \ 50 __SMU_DUMMY_MAP(UseBackupPPTable), \ 51 __SMU_DUMMY_MAP(RunBtc), \ 52 __SMU_DUMMY_MAP(RequestI2CBus), \ 53 __SMU_DUMMY_MAP(ReleaseI2CBus), \ 54 __SMU_DUMMY_MAP(SetFloorSocVoltage), \ 55 __SMU_DUMMY_MAP(SoftReset), \ 56 __SMU_DUMMY_MAP(StartBacoMonitor), \ 57 __SMU_DUMMY_MAP(CancelBacoMonitor), \ 58 __SMU_DUMMY_MAP(EnterBaco), \ 59 __SMU_DUMMY_MAP(SetSoftMinByFreq), \ 60 __SMU_DUMMY_MAP(SetSoftMaxByFreq), \ 61 __SMU_DUMMY_MAP(SetHardMinByFreq), \ 62 __SMU_DUMMY_MAP(SetHardMaxByFreq), \ 63 __SMU_DUMMY_MAP(GetMinDpmFreq), \ 64 __SMU_DUMMY_MAP(GetMaxDpmFreq), \ 65 __SMU_DUMMY_MAP(GetDpmFreqByIndex), \ 66 __SMU_DUMMY_MAP(GetDpmClockFreq), \ 67 __SMU_DUMMY_MAP(GetSsVoltageByDpm), \ 68 __SMU_DUMMY_MAP(SetMemoryChannelConfig), \ 69 __SMU_DUMMY_MAP(SetGeminiMode), \ 70 __SMU_DUMMY_MAP(SetGeminiApertureHigh), \ 71 __SMU_DUMMY_MAP(SetGeminiApertureLow), \ 72 __SMU_DUMMY_MAP(SetMinLinkDpmByIndex), \ 73 __SMU_DUMMY_MAP(OverridePcieParameters), \ 74 __SMU_DUMMY_MAP(OverDriveSetPercentage), \ 75 __SMU_DUMMY_MAP(SetMinDeepSleepDcefclk), \ 76 __SMU_DUMMY_MAP(ReenableAcDcInterrupt), \ 77 __SMU_DUMMY_MAP(NotifyPowerSource), \ 78 __SMU_DUMMY_MAP(SetUclkFastSwitch), \ 79 __SMU_DUMMY_MAP(SetUclkDownHyst), \ 80 __SMU_DUMMY_MAP(GfxDeviceDriverReset), \ 81 __SMU_DUMMY_MAP(GetCurrentRpm), \ 82 __SMU_DUMMY_MAP(SetVideoFps), \ 83 __SMU_DUMMY_MAP(SetTjMax), \ 84 __SMU_DUMMY_MAP(SetFanTemperatureTarget), \ 85 __SMU_DUMMY_MAP(PrepareMp1ForUnload), \ 86 __SMU_DUMMY_MAP(DramLogSetDramAddrHigh), \ 87 __SMU_DUMMY_MAP(DramLogSetDramAddrLow), \ 88 __SMU_DUMMY_MAP(DramLogSetDramSize), \ 89 __SMU_DUMMY_MAP(SetFanMaxRpm), \ 90 __SMU_DUMMY_MAP(SetFanMinPwm), \ 91 __SMU_DUMMY_MAP(ConfigureGfxDidt), \ 92 __SMU_DUMMY_MAP(NumOfDisplays), \ 93 __SMU_DUMMY_MAP(RemoveMargins), \ 94 __SMU_DUMMY_MAP(ReadSerialNumTop32), \ 95 __SMU_DUMMY_MAP(ReadSerialNumBottom32), \ 96 __SMU_DUMMY_MAP(SetSystemVirtualDramAddrHigh), \ 97 __SMU_DUMMY_MAP(SetSystemVirtualDramAddrLow), \ 98 __SMU_DUMMY_MAP(WaflTest), \ 99 __SMU_DUMMY_MAP(SetFclkGfxClkRatio), \ 100 __SMU_DUMMY_MAP(AllowGfxOff), \ 101 __SMU_DUMMY_MAP(DisallowGfxOff), \ 102 __SMU_DUMMY_MAP(GetPptLimit), \ 103 __SMU_DUMMY_MAP(GetDcModeMaxDpmFreq), \ 104 __SMU_DUMMY_MAP(GetDebugData), \ 105 __SMU_DUMMY_MAP(SetXgmiMode), \ 106 __SMU_DUMMY_MAP(RunAfllBtc), \ 107 __SMU_DUMMY_MAP(ExitBaco), \ 108 __SMU_DUMMY_MAP(PrepareMp1ForReset), \ 109 __SMU_DUMMY_MAP(PrepareMp1ForShutdown), \ 110 __SMU_DUMMY_MAP(SetMGpuFanBoostLimitRpm), \ 111 __SMU_DUMMY_MAP(GetAVFSVoltageByDpm), \ 112 __SMU_DUMMY_MAP(PowerUpVcn), \ 113 __SMU_DUMMY_MAP(PowerDownVcn), \ 114 __SMU_DUMMY_MAP(PowerUpJpeg), \ 115 __SMU_DUMMY_MAP(PowerDownJpeg), \ 116 __SMU_DUMMY_MAP(BacoAudioD3PME), \ 117 __SMU_DUMMY_MAP(ArmD3), \ 118 __SMU_DUMMY_MAP(RunDcBtc), \ 119 __SMU_DUMMY_MAP(RunGfxDcBtc), \ 120 __SMU_DUMMY_MAP(RunSocDcBtc), \ 121 __SMU_DUMMY_MAP(SetMemoryChannelEnable), \ 122 __SMU_DUMMY_MAP(SetDfSwitchType), \ 123 __SMU_DUMMY_MAP(GetVoltageByDpm), \ 124 __SMU_DUMMY_MAP(GetVoltageByDpmOverdrive), \ 125 __SMU_DUMMY_MAP(PowerUpVcn0), \ 126 __SMU_DUMMY_MAP(PowerDownVcn0), \ 127 __SMU_DUMMY_MAP(PowerUpVcn1), \ 128 __SMU_DUMMY_MAP(PowerDownVcn1), \ 129 __SMU_DUMMY_MAP(PowerUpGfx), \ 130 __SMU_DUMMY_MAP(PowerDownIspByTile), \ 131 __SMU_DUMMY_MAP(PowerUpIspByTile), \ 132 __SMU_DUMMY_MAP(PowerDownSdma), \ 133 __SMU_DUMMY_MAP(PowerUpSdma), \ 134 __SMU_DUMMY_MAP(SetHardMinIspclkByFreq), \ 135 __SMU_DUMMY_MAP(SetHardMinVcn), \ 136 __SMU_DUMMY_MAP(SetAllowFclkSwitch), \ 137 __SMU_DUMMY_MAP(SetMinVideoGfxclkFreq), \ 138 __SMU_DUMMY_MAP(ActiveProcessNotify), \ 139 __SMU_DUMMY_MAP(SetCustomPolicy), \ 140 __SMU_DUMMY_MAP(QueryPowerLimit), \ 141 __SMU_DUMMY_MAP(SetGfxclkOverdriveByFreqVid), \ 142 __SMU_DUMMY_MAP(SetHardMinDcfclkByFreq), \ 143 __SMU_DUMMY_MAP(SetHardMinSocclkByFreq), \ 144 __SMU_DUMMY_MAP(ControlIgpuATS), \ 145 __SMU_DUMMY_MAP(SetMinVideoFclkFreq), \ 146 __SMU_DUMMY_MAP(SetMinDeepSleepDcfclk), \ 147 __SMU_DUMMY_MAP(ForcePowerDownGfx), \ 148 __SMU_DUMMY_MAP(SetPhyclkVoltageByFreq), \ 149 __SMU_DUMMY_MAP(SetDppclkVoltageByFreq), \ 150 __SMU_DUMMY_MAP(SetSoftMinVcn), \ 151 __SMU_DUMMY_MAP(EnablePostCode), \ 152 __SMU_DUMMY_MAP(GetGfxclkFrequency), \ 153 __SMU_DUMMY_MAP(GetFclkFrequency), \ 154 __SMU_DUMMY_MAP(GetMinGfxclkFrequency), \ 155 __SMU_DUMMY_MAP(GetMaxGfxclkFrequency), \ 156 __SMU_DUMMY_MAP(SetGfxCGPG), \ 157 __SMU_DUMMY_MAP(SetSoftMaxGfxClk), \ 158 __SMU_DUMMY_MAP(SetHardMinGfxClk), \ 159 __SMU_DUMMY_MAP(SetSoftMaxSocclkByFreq), \ 160 __SMU_DUMMY_MAP(SetSoftMaxFclkByFreq), \ 161 __SMU_DUMMY_MAP(SetSoftMaxVcn), \ 162 __SMU_DUMMY_MAP(PowerGateMmHub), \ 163 __SMU_DUMMY_MAP(UpdatePmeRestore), \ 164 __SMU_DUMMY_MAP(GpuChangeState), \ 165 __SMU_DUMMY_MAP(SetPowerLimitPercentage), \ 166 __SMU_DUMMY_MAP(ForceGfxContentSave), \ 167 __SMU_DUMMY_MAP(EnableTmdp48MHzRefclkPwrDown),\ 168 __SMU_DUMMY_MAP(PowerGateAtHub), \ 169 __SMU_DUMMY_MAP(SetSoftMinJpeg), \ 170 __SMU_DUMMY_MAP(SetHardMinFclkByFreq), \ 171 __SMU_DUMMY_MAP(DFCstateControl), \ 172 __SMU_DUMMY_MAP(GmiPwrDnControl), \ 173 __SMU_DUMMY_MAP(spare), \ 174 __SMU_DUMMY_MAP(SetNumBadHbmPagesRetired), \ 175 __SMU_DUMMY_MAP(GetGmiPwrDnHyst), \ 176 __SMU_DUMMY_MAP(SetGmiPwrDnHyst), \ 177 __SMU_DUMMY_MAP(EnterGfxoff), \ 178 __SMU_DUMMY_MAP(ExitGfxoff), \ 179 __SMU_DUMMY_MAP(SetExecuteDMATest), \ 180 __SMU_DUMMY_MAP(DAL_DISABLE_DUMMY_PSTATE_CHANGE), \ 181 __SMU_DUMMY_MAP(DAL_ENABLE_DUMMY_PSTATE_CHANGE), \ 182 __SMU_DUMMY_MAP(SET_DRIVER_DUMMY_TABLE_DRAM_ADDR_HIGH), \ 183 __SMU_DUMMY_MAP(SET_DRIVER_DUMMY_TABLE_DRAM_ADDR_LOW), \ 184 __SMU_DUMMY_MAP(GET_UMC_FW_WA), \ 185 __SMU_DUMMY_MAP(Mode1Reset), \ 186 __SMU_DUMMY_MAP(RlcPowerNotify), \ 187 __SMU_DUMMY_MAP(SetHardMinIspiclkByFreq), \ 188 __SMU_DUMMY_MAP(SetHardMinIspxclkByFreq), \ 189 __SMU_DUMMY_MAP(SetSoftMinSocclkByFreq), \ 190 __SMU_DUMMY_MAP(PowerUpCvip), \ 191 __SMU_DUMMY_MAP(PowerDownCvip), \ 192 __SMU_DUMMY_MAP(EnableGfxOff), \ 193 __SMU_DUMMY_MAP(SetSoftMinGfxclk), \ 194 __SMU_DUMMY_MAP(SetSoftMinFclk), \ 195 __SMU_DUMMY_MAP(GetThermalLimit), \ 196 __SMU_DUMMY_MAP(GetCurrentTemperature), \ 197 __SMU_DUMMY_MAP(GetCurrentPower), \ 198 __SMU_DUMMY_MAP(GetCurrentVoltage), \ 199 __SMU_DUMMY_MAP(GetCurrentCurrent), \ 200 __SMU_DUMMY_MAP(GetAverageCpuActivity), \ 201 __SMU_DUMMY_MAP(GetAverageGfxActivity), \ 202 __SMU_DUMMY_MAP(GetAveragePower), \ 203 __SMU_DUMMY_MAP(GetAverageTemperature), \ 204 __SMU_DUMMY_MAP(SetAveragePowerTimeConstant), \ 205 __SMU_DUMMY_MAP(SetAverageActivityTimeConstant), \ 206 __SMU_DUMMY_MAP(SetAverageTemperatureTimeConstant), \ 207 __SMU_DUMMY_MAP(SetMitigationEndHysteresis), \ 208 __SMU_DUMMY_MAP(GetCurrentFreq), \ 209 __SMU_DUMMY_MAP(SetReducedPptLimit), \ 210 __SMU_DUMMY_MAP(SetReducedThermalLimit), \ 211 __SMU_DUMMY_MAP(DramLogSetDramAddr), \ 212 __SMU_DUMMY_MAP(StartDramLogging), \ 213 __SMU_DUMMY_MAP(StopDramLogging), \ 214 __SMU_DUMMY_MAP(SetSoftMinCclk), \ 215 __SMU_DUMMY_MAP(SetSoftMaxCclk), \ 216 __SMU_DUMMY_MAP(SetGpoFeaturePMask), \ 217 __SMU_DUMMY_MAP(DisallowGpo), \ 218 __SMU_DUMMY_MAP(Enable2ndUSB20Port), \ 219 __SMU_DUMMY_MAP(RequestActiveWgp), \ 220 __SMU_DUMMY_MAP(SetFastPPTLimit), \ 221 __SMU_DUMMY_MAP(SetSlowPPTLimit), \ 222 __SMU_DUMMY_MAP(GetFastPPTLimit), \ 223 __SMU_DUMMY_MAP(GetSlowPPTLimit), \ 224 __SMU_DUMMY_MAP(EnableDeterminism), \ 225 __SMU_DUMMY_MAP(DisableDeterminism), \ 226 __SMU_DUMMY_MAP(SetUclkDpmMode), \ 227 __SMU_DUMMY_MAP(LightSBR), \ 228 __SMU_DUMMY_MAP(GfxDriverResetRecovery), \ 229 __SMU_DUMMY_MAP(BoardPowerCalibration), \ 230 __SMU_DUMMY_MAP(RequestGfxclk), \ 231 __SMU_DUMMY_MAP(ForceGfxVid), \ 232 __SMU_DUMMY_MAP(UnforceGfxVid), 233 234 #undef __SMU_DUMMY_MAP 235 #define __SMU_DUMMY_MAP(type) SMU_MSG_##type 236 enum smu_message_type { 237 SMU_MESSAGE_TYPES 238 SMU_MSG_MAX_COUNT, 239 }; 240 241 enum smu_clk_type { 242 SMU_GFXCLK, 243 SMU_VCLK, 244 SMU_DCLK, 245 SMU_VCLK1, 246 SMU_DCLK1, 247 SMU_ECLK, 248 SMU_SOCCLK, 249 SMU_UCLK, 250 SMU_DCEFCLK, 251 SMU_DISPCLK, 252 SMU_PIXCLK, 253 SMU_PHYCLK, 254 SMU_FCLK, 255 SMU_SCLK, 256 SMU_MCLK, 257 SMU_PCIE, 258 SMU_LCLK, 259 SMU_OD_CCLK, 260 SMU_OD_SCLK, 261 SMU_OD_MCLK, 262 SMU_OD_VDDC_CURVE, 263 SMU_OD_RANGE, 264 SMU_OD_VDDGFX_OFFSET, 265 SMU_CLK_COUNT, 266 }; 267 268 #define SMU_FEATURE_MASKS \ 269 __SMU_DUMMY_MAP(DPM_PREFETCHER), \ 270 __SMU_DUMMY_MAP(DPM_GFXCLK), \ 271 __SMU_DUMMY_MAP(DPM_UCLK), \ 272 __SMU_DUMMY_MAP(DPM_SOCCLK), \ 273 __SMU_DUMMY_MAP(DPM_UVD), \ 274 __SMU_DUMMY_MAP(DPM_VCE), \ 275 __SMU_DUMMY_MAP(DPM_LCLK), \ 276 __SMU_DUMMY_MAP(ULV), \ 277 __SMU_DUMMY_MAP(DPM_MP0CLK), \ 278 __SMU_DUMMY_MAP(DPM_LINK), \ 279 __SMU_DUMMY_MAP(DPM_DCEFCLK), \ 280 __SMU_DUMMY_MAP(DPM_XGMI), \ 281 __SMU_DUMMY_MAP(DS_GFXCLK), \ 282 __SMU_DUMMY_MAP(DS_SOCCLK), \ 283 __SMU_DUMMY_MAP(DS_LCLK), \ 284 __SMU_DUMMY_MAP(PPT), \ 285 __SMU_DUMMY_MAP(TDC), \ 286 __SMU_DUMMY_MAP(THERMAL), \ 287 __SMU_DUMMY_MAP(GFX_PER_CU_CG), \ 288 __SMU_DUMMY_MAP(DATA_CALCULATIONS), \ 289 __SMU_DUMMY_MAP(RM), \ 290 __SMU_DUMMY_MAP(DS_DCEFCLK), \ 291 __SMU_DUMMY_MAP(ACDC), \ 292 __SMU_DUMMY_MAP(VR0HOT), \ 293 __SMU_DUMMY_MAP(VR1HOT), \ 294 __SMU_DUMMY_MAP(FW_CTF), \ 295 __SMU_DUMMY_MAP(LED_DISPLAY), \ 296 __SMU_DUMMY_MAP(FAN_CONTROL), \ 297 __SMU_DUMMY_MAP(GFX_EDC), \ 298 __SMU_DUMMY_MAP(GFXOFF), \ 299 __SMU_DUMMY_MAP(CG), \ 300 __SMU_DUMMY_MAP(DPM_FCLK), \ 301 __SMU_DUMMY_MAP(DS_FCLK), \ 302 __SMU_DUMMY_MAP(DS_MP1CLK), \ 303 __SMU_DUMMY_MAP(DS_MP0CLK), \ 304 __SMU_DUMMY_MAP(XGMI_PER_LINK_PWR_DWN), \ 305 __SMU_DUMMY_MAP(DPM_GFX_PACE), \ 306 __SMU_DUMMY_MAP(MEM_VDDCI_SCALING), \ 307 __SMU_DUMMY_MAP(MEM_MVDD_SCALING), \ 308 __SMU_DUMMY_MAP(DS_UCLK), \ 309 __SMU_DUMMY_MAP(GFX_ULV), \ 310 __SMU_DUMMY_MAP(FW_DSTATE), \ 311 __SMU_DUMMY_MAP(BACO), \ 312 __SMU_DUMMY_MAP(VCN_PG), \ 313 __SMU_DUMMY_MAP(MM_DPM_PG), \ 314 __SMU_DUMMY_MAP(JPEG_PG), \ 315 __SMU_DUMMY_MAP(USB_PG), \ 316 __SMU_DUMMY_MAP(RSMU_SMN_CG), \ 317 __SMU_DUMMY_MAP(APCC_PLUS), \ 318 __SMU_DUMMY_MAP(GTHR), \ 319 __SMU_DUMMY_MAP(GFX_DCS), \ 320 __SMU_DUMMY_MAP(GFX_SS), \ 321 __SMU_DUMMY_MAP(OUT_OF_BAND_MONITOR), \ 322 __SMU_DUMMY_MAP(TEMP_DEPENDENT_VMIN), \ 323 __SMU_DUMMY_MAP(MMHUB_PG), \ 324 __SMU_DUMMY_MAP(ATHUB_PG), \ 325 __SMU_DUMMY_MAP(APCC_DFLL), \ 326 __SMU_DUMMY_MAP(DF_CSTATE), \ 327 __SMU_DUMMY_MAP(DPM_GFX_GPO), \ 328 __SMU_DUMMY_MAP(WAFL_CG), \ 329 __SMU_DUMMY_MAP(CCLK_DPM), \ 330 __SMU_DUMMY_MAP(FAN_CONTROLLER), \ 331 __SMU_DUMMY_MAP(VCN_DPM), \ 332 __SMU_DUMMY_MAP(LCLK_DPM), \ 333 __SMU_DUMMY_MAP(SHUBCLK_DPM), \ 334 __SMU_DUMMY_MAP(DCFCLK_DPM), \ 335 __SMU_DUMMY_MAP(DS_DCFCLK), \ 336 __SMU_DUMMY_MAP(S0I2), \ 337 __SMU_DUMMY_MAP(SMU_LOW_POWER), \ 338 __SMU_DUMMY_MAP(GFX_DEM), \ 339 __SMU_DUMMY_MAP(PSI), \ 340 __SMU_DUMMY_MAP(PROCHOT), \ 341 __SMU_DUMMY_MAP(CPUOFF), \ 342 __SMU_DUMMY_MAP(STAPM), \ 343 __SMU_DUMMY_MAP(S0I3), \ 344 __SMU_DUMMY_MAP(DF_CSTATES), \ 345 __SMU_DUMMY_MAP(PERF_LIMIT), \ 346 __SMU_DUMMY_MAP(CORE_DLDO), \ 347 __SMU_DUMMY_MAP(RSMU_LOW_POWER), \ 348 __SMU_DUMMY_MAP(SMN_LOW_POWER), \ 349 __SMU_DUMMY_MAP(THM_LOW_POWER), \ 350 __SMU_DUMMY_MAP(SMUIO_LOW_POWER), \ 351 __SMU_DUMMY_MAP(MP1_LOW_POWER), \ 352 __SMU_DUMMY_MAP(DS_VCN), \ 353 __SMU_DUMMY_MAP(CPPC), \ 354 __SMU_DUMMY_MAP(OS_CSTATES), \ 355 __SMU_DUMMY_MAP(ISP_DPM), \ 356 __SMU_DUMMY_MAP(A55_DPM), \ 357 __SMU_DUMMY_MAP(CVIP_DSP_DPM), \ 358 __SMU_DUMMY_MAP(MSMU_LOW_POWER), \ 359 __SMU_DUMMY_MAP(FUSE_CG), \ 360 __SMU_DUMMY_MAP(MP1_CG), \ 361 __SMU_DUMMY_MAP(SMUIO_CG), \ 362 __SMU_DUMMY_MAP(THM_CG), \ 363 __SMU_DUMMY_MAP(CLK_CG), \ 364 365 #undef __SMU_DUMMY_MAP 366 #define __SMU_DUMMY_MAP(feature) SMU_FEATURE_##feature##_BIT 367 enum smu_feature_mask { 368 SMU_FEATURE_MASKS 369 SMU_FEATURE_COUNT, 370 }; 371 372 #endif 373