aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2018-12-10 21:04:15 +0000
committerAlex Deucher <[email protected]>2019-01-14 20:04:54 +0000
commitd0948af7f6aaf05e3228063b26f696dedf2685df (patch)
tree251ee97b3ffb29845eddf33177f785b741471200 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentdrm/amdgpu: Add sysfs file for PCIe usage v5 (diff)
downloadkernel-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