linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_pptable.h

/*
 * Copyright 2016 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 _VEGA10_PPTABLE_H_
#define _VEGA10_PPTABLE_H_

#pragma pack(push, 1)

#define ATOM_VEGA10_PP_FANPARAMETERS_TACHOMETER_PULSES_PER_REVOLUTION_MASK
#define ATOM_VEGA10_PP_FANPARAMETERS_NOFAN

#define ATOM_VEGA10_PP_THERMALCONTROLLER_NONE
#define ATOM_VEGA10_PP_THERMALCONTROLLER_LM96163
#define ATOM_VEGA10_PP_THERMALCONTROLLER_VEGA10

#define ATOM_VEGA10_PP_THERMALCONTROLLER_ADT7473_WITH_INTERNAL
#define ATOM_VEGA10_PP_THERMALCONTROLLER_EMC2103_WITH_INTERNAL

#define ATOM_VEGA10_PP_PLATFORM_CAP_POWERPLAY
#define ATOM_VEGA10_PP_PLATFORM_CAP_SBIOSPOWERSOURCE
#define ATOM_VEGA10_PP_PLATFORM_CAP_HARDWAREDC
#define ATOM_VEGA10_PP_PLATFORM_CAP_BACO
#define ATOM_VEGA10_PP_PLATFORM_COMBINE_PCC_WITH_THERMAL_SIGNAL


/* ATOM_PPLIB_NONCLOCK_INFO::usClassification */
#define ATOM_PPLIB_CLASSIFICATION_UI_MASK
#define ATOM_PPLIB_CLASSIFICATION_UI_SHIFT
#define ATOM_PPLIB_CLASSIFICATION_UI_NONE
#define ATOM_PPLIB_CLASSIFICATION_UI_BATTERY
#define ATOM_PPLIB_CLASSIFICATION_UI_BALANCED
#define ATOM_PPLIB_CLASSIFICATION_UI_PERFORMANCE
/* 2, 4, 6, 7 are reserved */

#define ATOM_PPLIB_CLASSIFICATION_BOOT
#define ATOM_PPLIB_CLASSIFICATION_THERMAL
#define ATOM_PPLIB_CLASSIFICATION_LIMITEDPOWERSOURCE
#define ATOM_PPLIB_CLASSIFICATION_REST
#define ATOM_PPLIB_CLASSIFICATION_FORCED
#define ATOM_PPLIB_CLASSIFICATION_ACPI

/* ATOM_PPLIB_NONCLOCK_INFO::usClassification2 */
#define ATOM_PPLIB_CLASSIFICATION2_LIMITEDPOWERSOURCE_2

#define ATOM_Vega10_DISALLOW_ON_DC
#define ATOM_Vega10_ENABLE_VARIBRIGHT

#define ATOM_Vega10_TABLE_REVISION_VEGA10

#define ATOM_Vega10_VoltageMode_AVFS_Interpolate
#define ATOM_Vega10_VoltageMode_AVFS_WorstCase
#define ATOM_Vega10_VoltageMode_Static

ATOM_Vega10_POWERPLAYTABLE;

ATOM_Vega10_State;

ATOM_Vega10_State_Array;

ATOM_Vega10_CLK_Dependency_Record;

ATOM_Vega10_GFXCLK_Dependency_Record;

ATOM_Vega10_GFXCLK_Dependency_Record_V2;

ATOM_Vega10_MCLK_Dependency_Record;

ATOM_Vega10_GFXCLK_Dependency_Table;

ATOM_Vega10_MCLK_Dependency_Table;

ATOM_Vega10_SOCCLK_Dependency_Table;

ATOM_Vega10_DCEFCLK_Dependency_Table;

ATOM_Vega10_PIXCLK_Dependency_Table;

ATOM_Vega10_DISPCLK_Dependency_Table;

ATOM_Vega10_PHYCLK_Dependency_Table;

ATOM_Vega10_MM_Dependency_Record;

ATOM_Vega10_MM_Dependency_Table;

ATOM_Vega10_PCIE_Record;

ATOM_Vega10_PCIE_Table;

ATOM_Vega10_Voltage_Lookup_Record;

ATOM_Vega10_Voltage_Lookup_Table;

ATOM_Vega10_Fan_Table;

ATOM_Vega10_Fan_Table_V2;

ATOM_Vega10_Fan_Table_V3;

ATOM_Vega10_Thermal_Controller;

ATOM_Vega10_VCE_State_Record;

ATOM_Vega10_VCE_State_Table;

ATOM_Vega10_PowerTune_Table;

ATOM_Vega10_PowerTune_Table_V2;

ATOM_Vega10_PowerTune_Table_V3;

ATOM_Vega10_Hard_Limit_Record;

ATOM_Vega10_Hard_Limit_Table;

Vega10_PPTable_Generic_SubTable_Header;

#pragma pack(pop)

#endif