projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e15c35
)
drm/radeon/kv: add uvd/vce info to dpm debugfs output
author
Alex Deucher
<alexander.deucher@amd.com>
Thu, 2 Oct 2014 14:37:21 +0000
(10:37 -0400)
committer
Alex Deucher
<alexander.deucher@amd.com>
Fri, 3 Oct 2014 13:19:18 +0000
(09:19 -0400)
Track whether UVD or VCE are enabled in debugfs.
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/kv_dpm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/kv_dpm.c
b/drivers/gpu/drm/radeon/kv_dpm.c
index 8b58e11b64fa5a13611941b3aca6b04d2c1600a0..7b129d2b44be14cc9e746d4a09566c02baa70d9f 100644
(file)
--- a/
drivers/gpu/drm/radeon/kv_dpm.c
+++ b/
drivers/gpu/drm/radeon/kv_dpm.c
@@
-2773,6
+2773,8
@@
void kv_dpm_debugfs_print_current_performance_level(struct radeon_device *rdev,
tmp = (RREG32_SMC(SMU_VOLTAGE_STATUS) & SMU_VOLTAGE_CURRENT_LEVEL_MASK) >>
SMU_VOLTAGE_CURRENT_LEVEL_SHIFT;
vddc = kv_convert_8bit_index_to_voltage(rdev, (u16)tmp);
+ seq_printf(m, "uvd %sabled\n", pi->uvd_power_gated ? "dis" : "en");
+ seq_printf(m, "vce %sabled\n", pi->vce_power_gated ? "dis" : "en");
seq_printf(m, "power level %d sclk: %u vddc: %u\n",
current_index, sclk, vddc);
}