drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_5_pmfw.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_5_pmfw.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu_v13_0_5_pmfw.h- Extension
.h- Size
- 4830 bytes
- Lines
- 127
- Domain
- Driver Families
- Bucket
- drivers/gpu
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
Dependency Surface
smu13_driver_if_v13_0_5.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef __SMU_V13_0_5_PMFW_H__
#define __SMU_V13_0_5_PMFW_H__
#include "smu13_driver_if_v13_0_5.h"
#pragma pack(push, 1)
#define ENABLE_DEBUG_FEATURES
// Firmware features
// Feature Control Defines
#define FEATURE_DATA_CALCULATION_BIT 0
#define FEATURE_PPT_BIT 1
#define FEATURE_TDC_BIT 2
#define FEATURE_THERMAL_BIT 3
#define FEATURE_FIT_BIT 4
#define FEATURE_EDC_BIT 5
#define FEATURE_CSTATE_BOOST_BIT 6
#define FEATURE_PROCHOT_BIT 7
#define FEATURE_CCLK_DPM_BIT 8
#define FEATURE_FCLK_DPM_BIT 9
#define FEATURE_LCLK_DPM_BIT 10
#define FEATURE_PSI7_BIT 11
#define FEATURE_DLDO_BIT 12
#define FEATURE_SOCCLK_DEEP_SLEEP_BIT 13
#define FEATURE_LCLK_DEEP_SLEEP_BIT 14
#define FEATURE_SHUBCLK_DEEP_SLEEP_BIT 15
#define FEATURE_DVO_BIT 16
#define FEATURE_CC6_BIT 17
#define FEATURE_PC6_BIT 18
#define FEATURE_DF_CSTATES_BIT 19
#define FEATURE_CLOCK_GATING_BIT 20
#define FEATURE_FAN_CONTROLLER_BIT 21
#define FEATURE_CPPC_BIT 22
#define FEATURE_DLDO_DROPOUT_LIMITER_BIT 23
#define FEATURE_CPPC_PREFERRED_CORES_BIT 24
#define FEATURE_GMI_FOLDING_BIT 25
#define FEATURE_GMI_DLWM_BIT 26
#define FEATURE_XGMI_DLWM_BIT 27
#define FEATURE_DF_LIGHT_CSTATE_BIT 28
#define FEATURE_SMNCLK_DEEP_SLEEP_BIT 29
#define FEATURE_PCIE_SPEED_CONTROLLER_BIT 30
#define FEATURE_GFX_DPM_BIT 31
#define FEATURE_DS_GFXCLK_BIT 32
#define FEATURE_PCC_BIT 33
#define FEATURE_spare0_BIT 34
#define FEATURE_S0I3_BIT 35
#define FEATURE_VCN_DPM_BIT 36
#define FEATURE_DS_VCN_BIT 37
#define FEATURE_MPDMA_TF_CLK_DEEP_SLEEP_BIT 38
#define FEATURE_MPDMA_PM_CLK_DEEP_SLEEP_BIT 39
#define FEATURE_VDDOFF_BIT 40
#define FEATURE_DCFCLK_DPM_BIT 41
#define FEATURE_DCFCLK_DEEP_SLEEP_BIT 42
#define FEATURE_ATHUB_PG_BIT 43
#define FEATURE_SOCCLK_DPM_BIT 44
#define FEATURE_SHUBCLK_DPM_BIT 45
#define FEATURE_MP0CLK_DPM_BIT 46
#define FEATURE_MP0CLK_DEEP_SLEEP_BIT 47
#define FEATURE_PERCCXPC6_BIT 48
#define FEATURE_GFXOFF_BIT 49
#define NUM_FEATURES 50
typedef struct {
// MP1_EXT_SCRATCH0
uint32_t CurrLevel_ACP : 4;
uint32_t CurrLevel_ISP : 4;
uint32_t CurrLevel_VCN : 4;
uint32_t CurrLevel_LCLK : 4;
uint32_t CurrLevel_MP0CLK : 4;
uint32_t CurrLevel_FCLK : 4;
uint32_t CurrLevel_SOCCLK : 4;
uint32_t CurrLevel_DCFCLK : 4;
// MP1_EXT_SCRATCH1
uint32_t TargLevel_ACP : 4;
uint32_t TargLevel_ISP : 4;
uint32_t TargLevel_VCN : 4;
uint32_t TargLevel_LCLK : 4;
uint32_t TargLevel_MP0CLK : 4;
uint32_t TargLevel_FCLK : 4;
uint32_t TargLevel_SOCCLK : 4;
uint32_t TargLevel_DCFCLK : 4;
// MP1_EXT_SCRATCH2
uint32_t CurrLevel_SHUBCLK : 4;
uint32_t TargLevel_SHUBCLK : 4;
uint32_t InUlv : 1;
uint32_t InS0i2 : 1;
uint32_t InWhisperMode : 1;
uint32_t GfxOn : 1;
uint32_t RsmuCalBusyDpmIndex: 8;
Annotation
- Immediate include surface: `smu13_driver_if_v13_0_5.h`.
- Atlas domain: Driver Families / drivers/gpu.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.