linux/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v11_8_ppsmc.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_11_8_0_PPSMC_H
#define SMU_11_8_0_PPSMC_H

// SMU Response Codes:
#define PPSMC_Result_OK
#define PPSMC_Result_Failed
#define PPSMC_Result_UnknownCmd
#define PPSMC_Result_CmdRejectedPrereq
#define PPSMC_Result_CmdRejectedBusy

// Message Definitions:
#define PPSMC_MSG_TestMessage
#define PPSMC_MSG_GetSmuVersion
#define PPSMC_MSG_GetDriverIfVersion
#define PPSMC_MSG_SetDriverTableDramAddrHigh
#define PPSMC_MSG_SetDriverTableDramAddrLow
#define PPSMC_MSG_TransferTableSmu2Dram
#define PPSMC_MSG_TransferTableDram2Smu
#define PPSMC_MSG_Rsvd1
#define PPSMC_MSG_RequestCorePstate
#define PPSMC_MSG_QueryCorePstate
#define PPSMC_MSG_Rsvd2
#define PPSMC_MSG_RequestGfxclk
#define PPSMC_MSG_QueryGfxclk
#define PPSMC_MSG_QueryVddcrSocClock
#define PPSMC_MSG_QueryDfPstate
#define PPSMC_MSG_Rsvd3
#define PPSMC_MSG_ConfigureS3PwrOffRegisterAddressHigh
#define PPSMC_MSG_ConfigureS3PwrOffRegisterAddressLow
#define PPSMC_MSG_RequestActiveWgp
#define PPSMC_MSG_SetMinDeepSleepGfxclkFreq
#define PPSMC_MSG_SetMaxDeepSleepDfllGfxDiv
#define PPSMC_MSG_StartTelemetryReporting
#define PPSMC_MSG_StopTelemetryReporting
#define PPSMC_MSG_ClearTelemetryMax
#define PPSMC_MSG_QueryActiveWgp
#define PPSMC_MSG_SetCoreEnableMask
#define PPSMC_MSG_InitiateGcRsmuSoftReset
#define PPSMC_MSG_GfxCacWeightOperation
#define PPSMC_MSG_L3CacWeightOperation
#define PPSMC_MSG_PackCoreCacWeight
#define PPSMC_MSG_SetDriverTableVMID
#define PPSMC_MSG_SetSoftMinCclk
#define PPSMC_MSG_SetSoftMaxCclk
#define PPSMC_MSG_GetGfxFrequency
#define PPSMC_MSG_GetGfxVid
#define PPSMC_MSG_ForceGfxFreq
#define PPSMC_MSG_UnForceGfxFreq
#define PPSMC_MSG_ForceGfxVid
#define PPSMC_MSG_UnforceGfxVid
#define PPSMC_MSG_GetEnabledSmuFeatures
#define PPSMC_Message_Count

#endif