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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 18:01:08 +0000 (14:01 -0400)
commit5dff50802b285da8284a7bf17ae2fdc6f1357023
tree8cd5f48146edbd1729a987cd001d1f8cc1f3ea94
parentac4ed2da4c1305a1a002415058aa7deaf49ffe3e
drm/amd/amdgpu: disable hwmon power1_cap* for gfx 11.0.3 on vf mode

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
drivers/gpu/drm/amd/pm/amdgpu_pm.c