diff options
| author | Alex Deucher <[email protected]> | 2018-12-10 21:04:15 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-14 20:04:54 +0000 |
| commit | d0948af7f6aaf05e3228063b26f696dedf2685df (patch) | |
| tree | 251ee97b3ffb29845eddf33177f785b741471200 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | drm/amdgpu: Add sysfs file for PCIe usage v5 (diff) | |
| download | kernel-d0948af7f6aaf05e3228063b26f696dedf2685df.tar.gz kernel-d0948af7f6aaf05e3228063b26f696dedf2685df.zip | |
drm/amdgpu: expose sclk and mclk via hwmon
Expose sclk (gfx clock) and mclk (memory clock) via
hwmon compatible interface. hwmon does not actually
formally specify a frequency type attribute, but these
are compatible with the format of the other attributes
exposed via hwmon. Units are hertz.
freq1_input - GPU gfx/compute clock in hertz
freq2_input - GPU memory clock in hertz (dGPU only)
Reviewed-by: Evan Quan <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions
