]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode
authorYang Wang <kevinyang.wang@amd.com>
Mon, 25 Aug 2025 04:54:01 +0000 (12:54 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Sep 2025 13:31:55 +0000 (15:31 +0200)
commit56f376507b1a0e49dca094e36fb393a38c04e1f9
tree8a6fffee03f537ab260dae44375b19b01c129d84
parent31ce7c089b50c3d3056c37e0e25e7535e4428ae1
drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode

commit 5dff50802b285da8284a7bf17ae2fdc6f1357023 upstream.

the PPSMC_MSG_GetPptLimit msg is not valid for gfx 11.0.3 on vf mode,
so skiped to create power1_cap* hwmon sysfs node.

Signed-off-by: Yang Wang <kevinyang.wang@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit e82a8d441038d8cb10b63047a9e705c42479d156)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/pm/amdgpu_pm.c