Alex Deucher d0948af7f6 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>
2019-01-14 15:04:54 -05:00
..
2018-10-24 20:04:03 -05:00
2019-01-05 18:25:19 -08:00
2019-01-05 18:25:19 -08:00
2018-11-29 10:34:03 +10:00
2017-10-20 13:28:44 -04:00
2019-01-14 15:04:47 -05:00
2018-11-05 15:49:37 -05:00
2019-01-14 15:04:47 -05:00
2018-11-29 10:34:03 +10:00
2018-08-28 11:22:42 -05:00
2016-08-31 15:21:09 -04:00
2018-11-05 15:49:37 -05:00
2019-01-14 15:04:30 -05:00
2019-01-14 15:04:30 -05:00
2019-01-14 15:04:47 -05:00
2019-01-14 15:04:47 -05:00
2018-12-25 11:48:26 -08:00