linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_8_pmfw.h

/*
 * Copyright 2021 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 __SMU_V11_8_0_PMFW_H__
#define __SMU_V11_8_0_PMFW_H__

#pragma pack(push, 1)

#define ENABLE_DEBUG_FEATURES

// Feature Control Defines
#define FEATURE_CCLK_CONTROLLER_BIT
#define FEATURE_GFXCLK_EFFT_FREQ_BIT
#define FEATURE_DATA_CALCULATION_BIT
#define FEATURE_THERMAL_BIT
#define FEATURE_PLL_POWER_DOWN_BIT
#define FEATURE_FCLK_DPM_BIT
#define FEATURE_GFX_DPM_BIT
#define FEATURE_DS_GFXCLK_BIT
#define FEATURE_DS_SOCCLK_BIT
#define FEATURE_DS_LCLK_BIT
#define FEATURE_CORE_CSTATES_BIT
#define FEATURE_G6_SSC_BIT
#define FEATURE_RM_BIT
#define FEATURE_SOC_DPM_BIT
#define FEATURE_DS_SMNCLK_BIT
#define FEATURE_DS_MP1CLK_BIT
#define FEATURE_DS_MP0CLK_BIT
#define FEATURE_MGCG_BIT
#define FEATURE_DS_FUSE_SRAM_BIT
#define FEATURE_GFX_CKS_BIT
#define FEATURE_FP_THROTTLING_BIT
#define FEATURE_PROCHOT_BIT
#define FEATURE_CPUOFF_BIT
#define FEATURE_UMC_THROTTLE_BIT
#define FEATURE_DF_THROTTLE_BIT
#define FEATURE_DS_MP3CLK_BIT
#define FEATURE_DS_SHUBCLK_BIT
#define FEATURE_TDC_BIT
#define FEATURE_UMC_CAL_SHARING_BIT
#define FEATURE_DFLL_BTC_CALIBRATION_BIT
#define FEATURE_EDC_BIT
#define FEATURE_DLDO_BIT
#define FEATURE_MEAS_DRAM_BLACKOUT_BIT
#define FEATURE_CC1_BIT
#define FEATURE_PPT_BIT
#define FEATURE_STAPM_BIT
#define FEATURE_CSTATE_BOOST_BIT
#define FEATURE_SPARE_37_BIT
#define FEATURE_SPARE_38_BIT
#define FEATURE_SPARE_39_BIT
#define FEATURE_SPARE_40_BIT
#define FEATURE_SPARE_41_BIT
#define FEATURE_SPARE_42_BIT
#define FEATURE_SPARE_43_BIT
#define FEATURE_SPARE_44_BIT
#define FEATURE_SPARE_45_BIT
#define FEATURE_SPARE_46_BIT
#define FEATURE_SPARE_47_BIT
#define FEATURE_SPARE_48_BIT
#define FEATURE_SPARE_49_BIT
#define FEATURE_SPARE_50_BIT
#define FEATURE_SPARE_51_BIT
#define FEATURE_SPARE_52_BIT
#define FEATURE_SPARE_53_BIT
#define FEATURE_SPARE_54_BIT
#define FEATURE_SPARE_55_BIT
#define FEATURE_SPARE_56_BIT
#define FEATURE_SPARE_57_BIT
#define FEATURE_SPARE_58_BIT
#define FEATURE_SPARE_59_BIT
#define FEATURE_SPARE_60_BIT
#define FEATURE_SPARE_61_BIT
#define FEATURE_SPARE_62_BIT
#define FEATURE_SPARE_63_BIT

#define NUM_FEATURES

#define FEATURE_CCLK_CONTROLLER_MASK
#define FEATURE_DATA_CALCULATION_MASK
#define FEATURE_THERMAL_MASK
#define FEATURE_PLL_POWER_DOWN_MASK
#define FEATURE_FCLK_DPM_MASK
#define FEATURE_GFX_DPM_MASK
#define FEATURE_DS_GFXCLK_MASK
#define FEATURE_DS_SOCCLK_MASK
#define FEATURE_DS_LCLK_MASK
#define FEATURE_RM_MASK
#define FEATURE_DS_SMNCLK_MASK
#define FEATURE_DS_MP1CLK_MASK
#define FEATURE_DS_MP0CLK_MASK
#define FEATURE_MGCG_MASK
#define FEATURE_DS_FUSE_SRAM_MASK
#define FEATURE_PROCHOT_MASK
#define FEATURE_CPUOFF_MASK
#define FEATURE_GFX_CKS_MASK
#define FEATURE_UMC_THROTTLE_MASK
#define FEATURE_DF_THROTTLE_MASK
#define FEATURE_SOC_DPM_MASK

FwStatus_t;

#pragma pack(pop)

#endif