drm/radeon/tn: implement get_current_sclk/mclk
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Sep 2014 15:01:59 +0000 (11:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:35 +0000 (12:26 -0400)
commit7ce9cdaec35db4c13f2f34dcb63d8bf6f290ffd0
tree74bcb2666075924a1a9d4168d0697685590cde9a
parent2f8e1eb7d665ca060fc93e9dfd268dee59bd8697
drm/radeon/tn: implement get_current_sclk/mclk

Will be used for exposing current clocks via INFO ioctl.

Tested-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h
drivers/gpu/drm/radeon/trinity_dpm.c