]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit17397a4405571382cde03400d20f7ba15d340ac6
tree37769defccf12284745683c798aff729f31cf5e7
parent79091d2d71e2efd0c8c267bd99d13efcadb87cab
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