From: Lijo Lazar Date: Fri, 25 Aug 2023 11:32:58 +0000 (+0530) Subject: Documentation/amdgpu: Modify pp_dpm_*clk details X-Git-Tag: v6.7-rc1~145^2~10^2~327 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=615585d09b33e609bef5eb7986f5df2b4e053ac3;p=thirdparty%2Fkernel%2Flinux.git Documentation/amdgpu: Modify pp_dpm_*clk details pp_dpm_*clk nodes also could show the frequencies when a clock is in 'sleep' state. Add documentation related to that. Signed-off-by: Lijo Lazar Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/pm/amdgpu_pm.c b/drivers/gpu/drm/amd/pm/amdgpu_pm.c index e789a48089adf..2807f3bd9ebe2 100644 --- a/drivers/gpu/drm/amd/pm/amdgpu_pm.c +++ b/drivers/gpu/drm/amd/pm/amdgpu_pm.c @@ -983,7 +983,15 @@ static ssize_t amdgpu_get_pp_features(struct device *dev, * pp_dpm_fclk interface is only available for Vega20 and later ASICs. * * Reading back the files will show you the available power levels within - * the power state and the clock information for those levels. + * the power state and the clock information for those levels. If deep sleep is + * applied to a clock, the level will be denoted by a special level 'S:' + * E.g., + * S: 19Mhz * + * 0: 615Mhz + * 1: 800Mhz + * 2: 888Mhz + * 3: 1000Mhz + * * * To manually adjust these states, first select manual using * power_dpm_force_performance_level.