drm/amdgpu: change pp_dpm clk/mclk/pcie input format.
authorwelu <wei.lu2@amd.com>
Tue, 24 Apr 2018 13:13:20 +0000 (09:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:50 +0000 (13:43 -0500)
commit48edde3959e2a538ff963e6dbdc9c9adca8b159b
tree37769defccf12284745683c798aff729f31cf5e7
parent38610f15a7ad7a914e4fd0a9a5a6c386700b8ba0
drm/amdgpu: change pp_dpm clk/mclk/pcie input format.

1. support more than 8 values when setting get_pp_dpm_mclk/
sclk/pcie, the former design just parse command format like
"echo xxxx > pp_dpm_sclk" and current can parse "echo xx xxx
 xxxx > pp_dpm_sclk" whose operation is more user-friendly
and convinent and can offer more values;
2. be compatible with former design like "xx".
3. add DOC: pp_dpm_sclk pp_dpm_mclk pp_dpm_pcie
Bug:KFD-385

Signed-off-by: welu <wei.lu2@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c