drm/radeon/sumo: implement get_current_sclk/mclk
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Sep 2014 14:58:22 +0000 (10:58 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:34 +0000 (12:26 -0400)
commit2f8e1eb7d665ca060fc93e9dfd268dee59bd8697
treebcef8117777f356d9eb082272d5f912e72a70dae
parentdbbd3c81b042ea2e87b37a6945ed8a31aaaaafec
drm/radeon/sumo: 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/sumo_dpm.c