Modules§
- FW_
VERSION - HW_IP
- SENSOR_
INFO - VBIOS
- VIDEO_
CAPS - Video Encode/Decode Capabilities
- pp_
table
Structs§
- Context
Handle - Device
Handle - DpmClock
Range - GfxTarget
Version - Hwmon
Temp - IpDie
Entry - IpHwId
- IpHw
Instance - Parse
Power CapType Error - Power
Cap - RasEnabled
Features - RasError
Count - Throttle
Status - Unknown
Power Profile - amdgpu_
gds_ resource_ info - amdgpu_
gpu_ info - drm_
amdgpu_ heap_ info - drm_
amdgpu_ info_ device - drm_
amdgpu_ info_ gds - drm_
amdgpu_ info_ vce_ clock_ table - drm_
amdgpu_ info_ vram_ gtt - drm_
amdgpu_ memory_ info - gpu_
metrics_ v1_ 0 - gpu_
metrics_ v1_ 1 - gpu_
metrics_ v1_ 2 - gpu_
metrics_ v1_ 3 - gpu_
metrics_ v1_ 4 - gpu_
metrics_ v1_ 5 - gpu_
metrics_ v2_ 0 - gpu_
metrics_ v2_ 1 - gpu_
metrics_ v2_ 2 - gpu_
metrics_ v2_ 3 - gpu_
metrics_ v2_ 4 - gpu_
metrics_ v3_ 0 - metrics_
table_ header
Enums§
- ASIC_
NAME - List of AMDGPU ASIC name ref: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/amd/common/amd_family.h
- CHIP_
CLASS - List of AMDGPU chip class (generation)
- DpmClock
Type - DpmForced
Level - FAMILY_
NAME - List of AMDGPU Family names
- GpuMetrics
- AMD GPU metrics data available from
"{sysfs_path}/gpu_metrics".
Vega12 (dGPU) or later, Renoir (APU) or later supports GPU metrics.
DeviceHandle::get_gpu_metrics - HwId
- Hwmon
Temp Type - PPTable
- Power
CapType - Power
Profile - RasBlock
- Stable
Pstate Flag - Throttler
Bit - Throttler
Type - ref: drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
- VRAM_
TYPE - List of AMDGPU VRAM types
- amdgpu_
sw_ info
Constants§
- CP_
STAT_ OFFSET - DEFAULT_
DEVICE_ NAME - GRBM2_
OFFSET - GRBM_
OFFSET - MAX_
CLKS - MAX_
GFX_ CLKS - NUM_
HBM_ INSTANCES - NUM_
JPEG_ ENG - NUM_VCN
- NUM_
XGMI_ LINKS - SRBM2_
OFFSET - SRBM3_
OFFSET - SRBM_
OFFSET
Traits§
- GPU_
INFO - Information that amdgpu_gpu_info and drm_amdgpu_info_device have in common
- Metrics
Info - The actual unsupported value will be 0xFFFF.
Functions§
- find_
device_ name - Find device marketing name from
amdgpu.ids
Link: https://gitlab.freedesktop.org/mesa/drm/-/blob/main/data/amdgpu.ids - find_
device_ name_ or_ default - Returns the default marketing name (“AMD Radeon Graphics”) when the device name is not available.
- get_
all_ amdgpu_ pci_ bus