amdsmi_frequencies_t Struct Reference

amdsmi_frequencies_t Struct Reference#

AMD SMI: amdsmi_frequencies_t Struct Reference
amdsmi_frequencies_t Struct Reference

This structure holds information about clock frequencies. More...

#include <amdsmi.h>

Data Fields

bool has_deep_sleep
 Deep Sleep frequency is only supported by some GPUs.
 
uint32_t num_supported
 The number of supported frequencies.
 
uint32_t current
 
uint64_t frequency [AMDSMI_MAX_NUM_FREQUENCIES]
 

Detailed Description

This structure holds information about clock frequencies.

Definition at line 1995 of file amdsmi.h.

Field Documentation

◆ has_deep_sleep

bool amdsmi_frequencies_t::has_deep_sleep

Deep Sleep frequency is only supported by some GPUs.

Definition at line 1996 of file amdsmi.h.

◆ num_supported

uint32_t amdsmi_frequencies_t::num_supported

The number of supported frequencies.

Definition at line 1997 of file amdsmi.h.

◆ current

uint32_t amdsmi_frequencies_t::current

The current frequency index. May be (uint32_t)-1 when the clock domain is power-gated / in sleep mode and no current level is reported by the kernel (e.g. SYS/MEM/DF/SOC/DCEF at idle on some APUs).

Definition at line 1998 of file amdsmi.h.

◆ frequency

uint64_t amdsmi_frequencies_t::frequency[AMDSMI_MAX_NUM_FREQUENCIES]

List of frequencies in Hz. Only the first num_supported frequencies are valid

Definition at line 2003 of file amdsmi.h.


The documentation for this struct was generated from the following file: