#include "amdgpu.h"
#include "amdgpu_i2c.h"
#include "amdgpu_atombios.h"
#include "atom.h"
#include "amd_pcie.h"
#include "legacy_dpm.h"
#include "amdgpu_dpm_internal.h"
#include "amdgpu_display.h"
#define amdgpu_dpm_pre_set_power_state(adev) …
#define amdgpu_dpm_post_set_power_state(adev) …
#define amdgpu_dpm_display_configuration_changed(adev) …
#define amdgpu_dpm_print_power_state(adev, ps) …
#define amdgpu_dpm_vblank_too_short(adev) …
#define amdgpu_dpm_check_state_equal(adev, cps, rps, equal) …
void amdgpu_dpm_print_class_info(u32 class, u32 class2)
{ … }
void amdgpu_dpm_print_cap_info(u32 caps)
{ … }
void amdgpu_dpm_print_ps_status(struct amdgpu_device *adev,
struct amdgpu_ps *rps)
{ … }
void amdgpu_pm_print_power_states(struct amdgpu_device *adev)
{ … }
power_info;
int amdgpu_get_platform_caps(struct amdgpu_device *adev)
{ … }
fan_info;
static int amdgpu_parse_clk_voltage_dep_table(struct amdgpu_clock_voltage_dependency_table *amdgpu_table,
ATOM_PPLIB_Clock_Voltage_Dependency_Table *atom_table)
{ … }
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V2 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V3 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V4 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V5 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V6 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V7 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V8 …
#define SIZE_OF_ATOM_PPLIB_EXTENDEDHEADER_V9 …
int amdgpu_parse_extended_power_table(struct amdgpu_device *adev)
{ … }
void amdgpu_free_extended_power_table(struct amdgpu_device *adev)
{ … }
static const char *pp_lib_thermal_controller_names[] = …;
void amdgpu_add_thermal_controller(struct amdgpu_device *adev)
{ … }
struct amd_vce_state* amdgpu_get_vce_clock_state(void *handle, u32 idx)
{ … }
static struct amdgpu_ps *amdgpu_dpm_pick_power_state(struct amdgpu_device *adev,
enum amd_pm_state_type dpm_state)
{ … }
static int amdgpu_dpm_change_power_state_locked(struct amdgpu_device *adev)
{ … }
void amdgpu_legacy_dpm_compute_clocks(void *handle)
{ … }
void amdgpu_dpm_thermal_work_handler(struct work_struct *work)
{ … }