linux/drivers/gpu/drm/amd/pm/powerplay/inc/smu7_fusion.h

/*
 * Copyright 2013 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 SMU7_FUSION_H
#define SMU7_FUSION_H

#include "smu7.h"

#pragma pack(push, 1)

#define SMU7_DTE_ITERATIONS
#define SMU7_DTE_SOURCES
#define SMU7_DTE_SINKS
#define SMU7_NUM_CPU_TES
#define SMU7_NUM_GPU_TES
#define SMU7_NUM_NON_TES

// All 'soft registers' should be uint32_t.
struct SMU7_SoftRegisters {};

SMU7_SoftRegisters;

struct SMU7_Fusion_GraphicsLevel {};

SMU7_Fusion_GraphicsLevel;

struct SMU7_Fusion_GIOLevel {};

SMU7_Fusion_GIOLevel;

// UVD VCLK/DCLK state (level) definition.
struct SMU7_Fusion_UvdLevel {};

SMU7_Fusion_UvdLevel;

// Clocks for other external blocks (VCE, ACP, SAMU).
struct SMU7_Fusion_ExtClkLevel {};
SMU7_Fusion_ExtClkLevel;

struct SMU7_Fusion_ACPILevel {};

SMU7_Fusion_ACPILevel;

struct SMU7_Fusion_NbDpm {};

SMU7_Fusion_NbDpm;

struct SMU7_Fusion_StateInfo {};

SMU7_Fusion_StateInfo;

struct SMU7_Fusion_DpmTable {};

struct SMU7_Fusion_GIODpmTable {};

SMU7_Fusion_DpmTable;
SMU7_Fusion_GIODpmTable;

#pragma pack(pop)

#endif