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

/*
 * 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 __SMU_V14_0_0_PMFW_H__
#define __SMU_V14_0_0_PMFW_H__

#include "smu14_driver_if_v14_0_0.h"

#pragma pack(push, 1)

#define ENABLE_DEBUG_FEATURES

// Firmware features
// Feature Control Defines
#define FEATURE_CCLK_DPM_BIT
#define FEATURE_FAN_CONTROLLER_BIT
#define FEATURE_DATA_CALCULATION_BIT
#define FEATURE_PPT_BIT
#define FEATURE_TDC_BIT
#define FEATURE_THERMAL_BIT
#define FEATURE_FIT_BIT
#define FEATURE_EDC_BIT
#define FEATURE_PLL_POWER_DOWN_BIT
#define FEATURE_VDDOFF_BIT
#define FEATURE_VCN_DPM_BIT
#define FEATURE_DS_MPM_BIT
#define FEATURE_FCLK_DPM_BIT
#define FEATURE_SOCCLK_DPM_BIT
#define FEATURE_DS_MPIO_BIT
#define FEATURE_LCLK_DPM_BIT
#define FEATURE_SHUBCLK_DPM_BIT
#define FEATURE_DCFCLK_DPM_BIT
#define FEATURE_ISP_DPM_BIT
#define FEATURE_IPU_DPM_BIT
#define FEATURE_GFX_DPM_BIT
#define FEATURE_DS_GFXCLK_BIT
#define FEATURE_DS_SOCCLK_BIT
#define FEATURE_DS_LCLK_BIT
#define FEATURE_LOW_POWER_DCNCLKS_BIT
#define FEATURE_DS_SHUBCLK_BIT
#define FEATURE_RESERVED0_BIT
#define FEATURE_ZSTATES_BIT
#define FEATURE_IOMMUL2_PG_BIT
#define FEATURE_DS_FCLK_BIT
#define FEATURE_DS_SMNCLK_BIT
#define FEATURE_DS_MP1CLK_BIT
#define FEATURE_WHISPER_MODE_BIT
#define FEATURE_SMU_LOW_POWER_BIT
#define FEATURE_RESERVED1_BIT
#define FEATURE_GFX_DEM_BIT
#define FEATURE_PSI_BIT
#define FEATURE_PROCHOT_BIT
#define FEATURE_CPUOFF_BIT
#define FEATURE_STAPM_BIT
#define FEATURE_S0I3_BIT
#define FEATURE_DF_LIGHT_CSTATE
#define FEATURE_PERF_LIMIT_BIT
#define FEATURE_CORE_DLDO_BIT
#define FEATURE_DVO_BIT
#define FEATURE_DS_VCN_BIT
#define FEATURE_CPPC_BIT
#define FEATURE_CPPC_PREFERRED_CORES
#define FEATURE_DF_CSTATES_BIT
#define FEATURE_FAST_PSTATE_CLDO_BIT
#define FEATURE_ATHUB_PG_BIT
#define FEATURE_VDDOFF_ECO_BIT
#define FEATURE_ZSTATES_ECO_BIT
#define FEATURE_CC6_BIT
#define FEATURE_DS_UMCCLK_BIT
#define FEATURE_DS_ISPCLK_BIT
#define FEATURE_DS_HSPCLK_BIT
#define FEATURE_P3T_BIT
#define FEATURE_DS_IPUCLK_BIT
#define FEATURE_DS_VPECLK_BIT
#define FEATURE_VPE_DPM_BIT
#define FEATURE_SMART_L3_RINSER_BIT
#define FEATURE_PCC_BIT
#define NUM_FEATURES

// Firmware Header/Footer
struct SMU14_Firmware_Footer {};
SMU14_Firmware_Footer;

// PSP3.0 Header Definition
SMU_Firmware_Header;

FwStatus_t;

FwStatus_t_v14_0_1;

#pragma pack(pop)

#endif