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
..
2019-01-10 05:58:52 +10:00
2018-12-20 13:25:28 +01:00
2019-01-10 05:58:52 +10:00
2018-11-22 12:54:38 +10:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2019-01-10 05:58:52 +10:00
2018-11-28 09:31:07 -08:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-12-17 10:51:20 +01:00
2019-01-01 15:55:29 -08:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2019-01-02 11:37:11 +02:00
2018-11-20 14:56:18 +01:00
2019-01-10 05:58:52 +10:00
2018-12-25 11:48:26 -08:00
2018-11-20 14:56:18 +01:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2019-01-10 05:58:52 +10:00
2018-10-04 11:03:34 +10:00
2018-11-30 10:57:18 +01:00