]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/dpm: add debugfs support for RS780/RS880 (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 2 Jul 2013 17:05:23 +0000 (13:05 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jul 2013 20:47:52 +0000 (16:47 -0400)
commit95fee98f0c77d003671f9a3403d5279285a4d56f
tree0811fd9dcfcf0cb84dfcc8e64279daa6289f73a6
parent958a527030a9da1c198204ebabe5c02e563ada7f
drm/radeon/dpm: add debugfs support for RS780/RS880 (v3)

This allows you to look at the current DPM state via
debugfs.

Due to the way the hardware works on these asics, there's
no way to look up exactly what power state we are in, so
we make the best guess we can based on the current sclk.

v2: Anthoine's version
v3: fix ref div

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/rs780_dpm.c
drivers/gpu/drm/radeon/rs780d.h