drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/pm/swsmu/inc/pmfw_if/smu14_driver_if_v14_0.h- Extension
.h- Size
- 66062 bytes
- Lines
- 1890
- 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
- No C-style include directives detected by the generator.
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
#ifndef SMU14_DRIVER_IF_V14_0_H
#define SMU14_DRIVER_IF_V14_0_H
//Increment this version if SkuTable_t or BoardTable_t change
#define PPTABLE_VERSION 0x1B
#define NUM_GFXCLK_DPM_LEVELS 16
#define NUM_SOCCLK_DPM_LEVELS 8
#define NUM_MP0CLK_DPM_LEVELS 2
#define NUM_DCLK_DPM_LEVELS 8
#define NUM_VCLK_DPM_LEVELS 8
#define NUM_DISPCLK_DPM_LEVELS 8
#define NUM_DPPCLK_DPM_LEVELS 8
#define NUM_DPREFCLK_DPM_LEVELS 8
#define NUM_DCFCLK_DPM_LEVELS 8
#define NUM_DTBCLK_DPM_LEVELS 8
#define NUM_UCLK_DPM_LEVELS 6
#define NUM_LINK_LEVELS 3
#define NUM_FCLK_DPM_LEVELS 8
#define NUM_OD_FAN_MAX_POINTS 6
// Feature Control Defines
#define FEATURE_FW_DATA_READ_BIT 0
#define FEATURE_DPM_GFXCLK_BIT 1
#define FEATURE_DPM_GFX_POWER_OPTIMIZER_BIT 2
#define FEATURE_DPM_UCLK_BIT 3
#define FEATURE_DPM_FCLK_BIT 4
#define FEATURE_DPM_SOCCLK_BIT 5
#define FEATURE_DPM_LINK_BIT 6
#define FEATURE_DPM_DCN_BIT 7
#define FEATURE_VMEMP_SCALING_BIT 8
#define FEATURE_VDDIO_MEM_SCALING_BIT 9
#define FEATURE_DS_GFXCLK_BIT 10
#define FEATURE_DS_SOCCLK_BIT 11
#define FEATURE_DS_FCLK_BIT 12
#define FEATURE_DS_LCLK_BIT 13
#define FEATURE_DS_DCFCLK_BIT 14
#define FEATURE_DS_UCLK_BIT 15
#define FEATURE_GFX_ULV_BIT 16
#define FEATURE_FW_DSTATE_BIT 17
#define FEATURE_GFXOFF_BIT 18
#define FEATURE_BACO_BIT 19
#define FEATURE_MM_DPM_BIT 20
#define FEATURE_SOC_MPCLK_DS_BIT 21
#define FEATURE_BACO_MPCLK_DS_BIT 22
#define FEATURE_THROTTLERS_BIT 23
#define FEATURE_SMARTSHIFT_BIT 24
#define FEATURE_GTHR_BIT 25
#define FEATURE_ACDC_BIT 26
#define FEATURE_VR0HOT_BIT 27
#define FEATURE_FW_CTF_BIT 28
#define FEATURE_FAN_CONTROL_BIT 29
#define FEATURE_GFX_DCS_BIT 30
#define FEATURE_GFX_READ_MARGIN_BIT 31
#define FEATURE_LED_DISPLAY_BIT 32
#define FEATURE_GFXCLK_SPREAD_SPECTRUM_BIT 33
#define FEATURE_OUT_OF_BAND_MONITOR_BIT 34
#define FEATURE_OPTIMIZED_VMIN_BIT 35
#define FEATURE_GFX_IMU_BIT 36
#define FEATURE_BOOT_TIME_CAL_BIT 37
#define FEATURE_GFX_PCC_DFLL_BIT 38
#define FEATURE_SOC_CG_BIT 39
#define FEATURE_DF_CSTATE_BIT 40
#define FEATURE_GFX_EDC_BIT 41
#define FEATURE_BOOT_POWER_OPT_BIT 42
#define FEATURE_CLOCK_POWER_DOWN_BYPASS_BIT 43
#define FEATURE_DS_VCN_BIT 44
#define FEATURE_BACO_CG_BIT 45
#define FEATURE_MEM_TEMP_READ_BIT 46
#define FEATURE_ATHUB_MMHUB_PG_BIT 47
#define FEATURE_SOC_PCC_BIT 48
#define FEATURE_EDC_PWRBRK_BIT 49
#define FEATURE_SOC_EDC_XVMIN_BIT 50
#define FEATURE_GFX_PSM_DIDT_BIT 51
#define FEATURE_APT_ALL_ENABLE_BIT 52
#define FEATURE_APT_SQ_THROTTLE_BIT 53
#define FEATURE_APT_PF_DCS_BIT 54
#define FEATURE_GFX_EDC_XVMIN_BIT 55
#define FEATURE_GFX_DIDT_XVMIN_BIT 56
#define FEATURE_FAN_ABNORMAL_BIT 57
#define FEATURE_CLOCK_STRETCH_COMPENSATOR 58
#define FEATURE_SPARE_59_BIT 59
#define FEATURE_SPARE_60_BIT 60
#define FEATURE_SPARE_61_BIT 61
#define FEATURE_SPARE_62_BIT 62
#define FEATURE_SPARE_63_BIT 63
#define NUM_FEATURES 64
#define ALLOWED_FEATURE_CTRL_DEFAULT 0xFFFFFFFFFFFFFFFFULL
#define ALLOWED_FEATURE_CTRL_SCPM (1 << FEATURE_DPM_GFXCLK_BIT) | \
Annotation
- 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.