====== Ubuntu - GPU - AMD GPU - Check clockspeed and other info ======
sudo cat /sys/kernel/debug/dri/0/amdgpu_pm_info
returns:
GFX Clocks and Power:
96 MHz (MCLK)
23 MHz (SCLK)
500 MHz (PSTATE_SCLK)
96 MHz (PSTATE_MCLK)
474 mV (VDDGFX)
24.0 W (average GPU)
GPU Temperature: 44 C
GPU Load: 1 %
MEM Load: 0 %
SMC Feature Mask: 0x0003ebb871ffffff
VCN: Disabled
Clock Gating Flags Mask: 0x3bc08030d
Graphics Fine Grain Clock Gating: On
Graphics Medium Grain Clock Gating: On
Graphics Medium Grain memory Light Sleep: Off
Graphics Coarse Grain Clock Gating: On
Graphics Coarse Grain memory Light Sleep: On
Graphics Coarse Grain Tree Shader Clock Gating: Off
Graphics Coarse Grain Tree Shader Light Sleep: Off
Graphics Command Processor Light Sleep: Off
Graphics Run List Controller Light Sleep: Off
Graphics 3D Coarse Grain Clock Gating: Off
Graphics 3D Coarse Grain memory Light Sleep: Off
Memory Controller Light Sleep: On
Memory Controller Medium Grain Clock Gating: On
System Direct Memory Access Light Sleep: Off
System Direct Memory Access Medium Grain Clock Gating: Off
Bus Interface Medium Grain Clock Gating: On
Bus Interface Light Sleep: Off
Unified Video Decoder Medium Grain Clock Gating: Off
Video Compression Engine Medium Grain Clock Gating: Off
Host Data Path Light Sleep: Off
Host Data Path Medium Grain Clock Gating: Off
Digital Right Management Medium Grain Clock Gating: Off
Digital Right Management Light Sleep: Off
Rom Medium Grain Clock Gating: Off
Data Fabric Medium Grain Clock Gating: Off
VCN Medium Grain Clock Gating: Off
Host Data Path Deep Sleep: Off
Host Data Path Shutdown: On
Interrupt Handler Clock Gating: On
JPEG Medium Grain Clock Gating: Off
Repeater Fine Grain Clock Gating: On
Perfmon Clock Gating: On
Address Translation Hub Medium Grain Clock Gating: On
Address Translation Hub Light Sleep: On