drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
Source file repositories/reference/linux-study-clean/drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h- Extension
.h- Size
- 23627 bytes
- Lines
- 510
- 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
enum smu_message_typeenum smu_clk_typeenum smu_feature_mask
Annotated Snippet
#ifndef __SMU_TYPES_H__
#define __SMU_TYPES_H__
#define SMU_MESSAGE_TYPES \
__SMU_DUMMY_MAP(TestMessage), \
__SMU_DUMMY_MAP(GetSmuVersion), \
__SMU_DUMMY_MAP(GetDriverIfVersion), \
__SMU_DUMMY_MAP(SetAllowedFeaturesMaskLow), \
__SMU_DUMMY_MAP(SetAllowedFeaturesMaskHigh), \
__SMU_DUMMY_MAP(EnableAllSmuFeatures), \
__SMU_DUMMY_MAP(DisableAllSmuFeatures), \
__SMU_DUMMY_MAP(EnableSmuFeaturesLow), \
__SMU_DUMMY_MAP(EnableSmuFeaturesHigh), \
__SMU_DUMMY_MAP(DisableSmuFeaturesLow), \
__SMU_DUMMY_MAP(DisableSmuFeaturesHigh), \
__SMU_DUMMY_MAP(GetEnabledSmuFeatures), \
__SMU_DUMMY_MAP(GetEnabledSmuFeaturesLow), \
__SMU_DUMMY_MAP(GetEnabledSmuFeaturesHigh), \
__SMU_DUMMY_MAP(SetWorkloadMask), \
__SMU_DUMMY_MAP(SetPptLimit), \
__SMU_DUMMY_MAP(SetDriverDramAddrHigh), \
__SMU_DUMMY_MAP(SetDriverDramAddrLow), \
__SMU_DUMMY_MAP(SetDriverDramAddr), \
__SMU_DUMMY_MAP(SetToolsDramAddrHigh), \
__SMU_DUMMY_MAP(SetToolsDramAddrLow), \
__SMU_DUMMY_MAP(SetToolsDramAddr), \
__SMU_DUMMY_MAP(TransferTableSmu2Dram), \
__SMU_DUMMY_MAP(TransferTableDram2Smu), \
__SMU_DUMMY_MAP(UseDefaultPPTable), \
__SMU_DUMMY_MAP(UseBackupPPTable), \
__SMU_DUMMY_MAP(RunBtc), \
__SMU_DUMMY_MAP(RequestI2CBus), \
__SMU_DUMMY_MAP(ReleaseI2CBus), \
__SMU_DUMMY_MAP(SetFloorSocVoltage), \
__SMU_DUMMY_MAP(SoftReset), \
__SMU_DUMMY_MAP(StartBacoMonitor), \
__SMU_DUMMY_MAP(CancelBacoMonitor), \
__SMU_DUMMY_MAP(EnterBaco), \
__SMU_DUMMY_MAP(SetSoftMinByFreq), \
__SMU_DUMMY_MAP(SetSoftMaxByFreq), \
__SMU_DUMMY_MAP(SetHardMinByFreq), \
__SMU_DUMMY_MAP(SetHardMaxByFreq), \
__SMU_DUMMY_MAP(GetMinDpmFreq), \
__SMU_DUMMY_MAP(GetMaxDpmFreq), \
__SMU_DUMMY_MAP(GetDpmFreqByIndex), \
__SMU_DUMMY_MAP(GetDpmClockFreq), \
__SMU_DUMMY_MAP(GetSsVoltageByDpm), \
__SMU_DUMMY_MAP(SetMemoryChannelConfig), \
__SMU_DUMMY_MAP(SetGeminiMode), \
__SMU_DUMMY_MAP(SetGeminiApertureHigh), \
__SMU_DUMMY_MAP(SetGeminiApertureLow), \
__SMU_DUMMY_MAP(SetMinLinkDpmByIndex), \
__SMU_DUMMY_MAP(OverridePcieParameters), \
__SMU_DUMMY_MAP(OverDriveSetPercentage), \
__SMU_DUMMY_MAP(SetMinDeepSleepDcefclk), \
__SMU_DUMMY_MAP(ReenableAcDcInterrupt), \
__SMU_DUMMY_MAP(AllowIHHostInterrupt), \
__SMU_DUMMY_MAP(NotifyPowerSource), \
__SMU_DUMMY_MAP(SetUclkFastSwitch), \
__SMU_DUMMY_MAP(SetUclkDownHyst), \
__SMU_DUMMY_MAP(GfxDeviceDriverReset), \
__SMU_DUMMY_MAP(GetCurrentRpm), \
__SMU_DUMMY_MAP(SetVideoFps), \
__SMU_DUMMY_MAP(SetTjMax), \
__SMU_DUMMY_MAP(SetFanTemperatureTarget), \
__SMU_DUMMY_MAP(PrepareMp1ForUnload), \
__SMU_DUMMY_MAP(GetCTFLimit), \
__SMU_DUMMY_MAP(DramLogSetDramAddrHigh), \
__SMU_DUMMY_MAP(DramLogSetDramAddrLow), \
__SMU_DUMMY_MAP(DramLogSetDramSize), \
__SMU_DUMMY_MAP(SetFanMaxRpm), \
__SMU_DUMMY_MAP(SetFanMinPwm), \
__SMU_DUMMY_MAP(ConfigureGfxDidt), \
__SMU_DUMMY_MAP(NumOfDisplays), \
__SMU_DUMMY_MAP(RemoveMargins), \
__SMU_DUMMY_MAP(ReadSerialNumTop32), \
__SMU_DUMMY_MAP(ReadSerialNumBottom32), \
__SMU_DUMMY_MAP(SetSystemVirtualDramAddrHigh), \
__SMU_DUMMY_MAP(SetSystemVirtualDramAddrLow), \
__SMU_DUMMY_MAP(WaflTest), \
__SMU_DUMMY_MAP(SetFclkGfxClkRatio), \
__SMU_DUMMY_MAP(AllowGfxOff), \
__SMU_DUMMY_MAP(DisallowGfxOff), \
__SMU_DUMMY_MAP(GetPptLimit), \
__SMU_DUMMY_MAP(GetDcModeMaxDpmFreq), \
__SMU_DUMMY_MAP(GetDebugData), \
__SMU_DUMMY_MAP(SetXgmiMode), \
__SMU_DUMMY_MAP(RunAfllBtc), \
__SMU_DUMMY_MAP(ExitBaco), \
__SMU_DUMMY_MAP(PrepareMp1ForReset), \
Annotation
- Detected declarations: `enum smu_message_type`, `enum smu_clk_type`, `enum smu_feature_mask`.
- 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.