Module AMDGPU

Module AMDGPU 

Source

Modules§

FW_VERSION
HW_IP
SENSOR_INFO
VBIOS
VIDEO_CAPS
Video Encode/Decode Capabilities
pp_table

Structs§

ContextHandle
DeviceHandle
DpmClockRange
GfxTargetVersion
HwmonTemp
IpDieEntry
IpHwId
IpHwInstance
ParsePowerCapTypeError
PowerCap
RasEnabledFeatures
RasErrorCount
ThrottleStatus
UnknownPowerProfile
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)
DpmClockType
DpmForcedLevel
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
HwmonTempType
PPTable
PowerCapType
PowerProfile
RasBlock
StablePstateFlag
ThrottlerBit
ThrottlerType
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
MetricsInfo
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

Type Aliases§

amdgpu_device_handle