#include <linux/pci.h>
#include "smumgr.h"
#include "vega10_inc.h"
#include "soc15_common.h"
#include "vega10_smumgr.h"
#include "vega10_hwmgr.h"
#include "vega10_ppsmc.h"
#include "smu9_driver_if.h"
#include "smu9_smumgr.h"
#include "ppatomctrl.h"
#include "pp_debug.h"
static int vega10_copy_table_from_smc(struct pp_hwmgr *hwmgr,
uint8_t *table, int16_t table_id)
{ … }
static int vega10_copy_table_to_smc(struct pp_hwmgr *hwmgr,
uint8_t *table, int16_t table_id)
{ … }
int vega10_enable_smc_features(struct pp_hwmgr *hwmgr,
bool enable, uint32_t feature_mask)
{ … }
int vega10_get_enabled_smc_features(struct pp_hwmgr *hwmgr,
uint64_t *features_enabled)
{ … }
static bool vega10_is_dpm_running(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_set_tools_address(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_verify_smc_interface(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_smu_init(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_smu_fini(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_start_smu(struct pp_hwmgr *hwmgr)
{ … }
static int vega10_smc_table_manager(struct pp_hwmgr *hwmgr, uint8_t *table,
uint16_t table_id, bool rw)
{ … }
const struct pp_smumgr_func vega10_smu_funcs = …;