]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu/pm: wire up hwmon fan speed for smu 14.0.2
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 11 Mar 2025 14:34:36 +0000 (10:34 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Mar 2025 21:04:57 +0000 (22:04 +0100)
commit2f75e02b0b662c07ba5297cb4441605abacea847
tree1b07e9abd9499fbe47ff706eac211899735d9c5b
parentb24f679fae3ca0403e55bfa00815f5ae4925d37c
drm/amdgpu/pm: wire up hwmon fan speed for smu 14.0.2

commit 5ca0040ecfe8ba0dee9df1f559e8d7587f12bf89 upstream.

Add callbacks for fan speed fetching.

Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/4034
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 90df6db62fa78a8ab0b705ec38db99c7973b95d6)
Cc: stable@vger.kernel.org # 6.12.x
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0_2_ppt.c