]> 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)
commit76327c0db4651989bbf58794afae857585552c32
tree0811fd9dcfcf0cb84dfcc8e64279daa6289f73a6
parentd74d3b6be9125bf08a6f0f6129d98a2a1f4d3eec
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