summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2018-12-10 16:04:15 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-01-14 15:04:54 -0500
commitd0948af7f6aaf05e3228063b26f696dedf2685df (patch)
tree251ee97b3ffb29845eddf33177f785b741471200 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentb45e18acd394954c24943762ada5d8dada75f2b9 (diff)
downloadlwn-d0948af7f6aaf05e3228063b26f696dedf2685df.tar.gz
lwn-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 <evan.quan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions