summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-12-11 00:04:15 +0300
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 23:04:54 +0300
commitd0948af7f6aaf05e3228063b26f696dedf2685df (patch)
tree251ee97b3ffb29845eddf33177f785b741471200 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentb45e18acd394954c24943762ada5d8dada75f2b9 (diff)
downloadlinux-d0948af7f6aaf05e3228063b26f696dedf2685df.tar.xz
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 <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions