diff options
author | Jonatas Esteves <jntesteves@gmail.com> | 2023-05-20 10:39:52 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-05-30 14:03:19 +0100 |
commit | 8069bcaa5b392ce3972dd72f184b2cc4b1b8262b (patch) | |
tree | 3908ce21516efb5c589ec74f2b15422a535830d9 /lib/debugobjects.c | |
parent | 6acfbdda4d06d83d434b05b7fe1a9d545d99c027 (diff) |
drm/amd/pm: Fix output of pp_od_clk_voltage
commit 40baba5693b9af586dc1063af603d05a79e57a6b upstream.
Printing the other clock types should not be conditioned on being able
to print OD_SCLK. Some GPUs currently have limited capability of only
printing a subset of these.
Since this condition was introduced in v5.18-rc1, reading from
`pp_od_clk_voltage` has been returning empty on the Asus ROG Strix G15
(2021).
Fixes: 79c65f3fcbb1 ("drm/amd/pm: do not expose power implementation details to amdgpu_pm.c")
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Jonatas Esteves <jntesteves@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions