drm/radeon/ni: implement get_current_sclk/mclk
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 30 Sep 2014 14:46:02 +0000 (10:46 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2015 16:26:32 +0000 (12:26 -0400)
commit1d633e3a217986c8daedf82e5810e6c149d5e415
tree1b69c5f911397242a1bb503cd43a6ef1acfa2c00
parentda6472f349ec3511299a761803a65d3913ffed10
drm/radeon/ni: 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/ni_dpm.c
drivers/gpu/drm/radeon/radeon_asic.c
drivers/gpu/drm/radeon/radeon_asic.h