#include "smu_v13_0_10.h"
#include "amdgpu_reset.h"
#include "amdgpu_dpm.h"
#include "amdgpu_job.h"
#include "amdgpu_ring.h"
#include "amdgpu_ras.h"
#include "amdgpu_psp.h"
static bool smu_v13_0_10_is_mode2_default(struct amdgpu_reset_control *reset_ctl)
{ … }
static struct amdgpu_reset_handler *
smu_v13_0_10_get_reset_handler(struct amdgpu_reset_control *reset_ctl,
struct amdgpu_reset_context *reset_context)
{ … }
static int smu_v13_0_10_mode2_suspend_ip(struct amdgpu_device *adev)
{ … }
static int
smu_v13_0_10_mode2_prepare_hwcontext(struct amdgpu_reset_control *reset_ctl,
struct amdgpu_reset_context *reset_context)
{ … }
static int smu_v13_0_10_mode2_reset(struct amdgpu_device *adev)
{ … }
static void smu_v13_0_10_async_reset(struct work_struct *work)
{ … }
static int
smu_v13_0_10_mode2_perform_reset(struct amdgpu_reset_control *reset_ctl,
struct amdgpu_reset_context *reset_context)
{ … }
static int smu_v13_0_10_mode2_restore_ip(struct amdgpu_device *adev)
{ … }
static int
smu_v13_0_10_mode2_restore_hwcontext(struct amdgpu_reset_control *reset_ctl,
struct amdgpu_reset_context *reset_context)
{ … }
static struct amdgpu_reset_handler smu_v13_0_10_mode2_handler = …;
static struct amdgpu_reset_handler
*smu_v13_0_10_rst_handlers[AMDGPU_RESET_MAX_HANDLERS] = …;
int smu_v13_0_10_reset_init(struct amdgpu_device *adev)
{ … }
int smu_v13_0_10_reset_fini(struct amdgpu_device *adev)
{ … }