drm/amd/pm: make the error log more clear for fine grain tuning function
authorXiaojian Du <Xiaojian.Du@amd.com>
Wed, 20 Jan 2021 02:39:10 +0000 (10:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Feb 2021 20:49:24 +0000 (15:49 -0500)
commitd7ef887f2f8e7ac2ce03d4f5290d96daca613e2f
tree2fbd1b6bfe1e0800877f8e134a869f0b7b1c96e4
parent006cc1a213cf9ff3d1307ff2d5c51e6c8d62a758
drm/amd/pm: make the error log more clear for fine grain tuning function

This patch is to make the error log more clear for fine grain tuning
function, it covers Raven/Raven2/Picasso/Renoir/Vangogh.
The fine grain tuning function uses the sysfs file -- pp_od_clk_voltage,
but only when another sysfs file -- power_dpm_force_performance_level is
switched to "manual" mode, it is allowed to access "pp_od_clk_voltage".

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Acked-by: Huang Rui <ray.huang@amd.com>
Acked-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu10_hwmgr.c
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu12/renoir_ppt.c