diff options
author | Ma Jun <Jun.Ma2@amd.com> | 2023-10-26 09:58:15 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-11-03 12:18:32 -0400 |
commit | 88e5c8f8745b389b8e088a743a70840ead1dad37 (patch) | |
tree | 0014afa9e4b95d683baa39553c2e9fa28c410c2e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 0e2e7c5b3d712f4589b3bf0eb2988337966648b6 (diff) |
drm/amd/pm: only check sriov vf flag once when creating hwmon sysfs
The current code checks sriov vf flag multiple times when creating
hwmon sysfs. So fix it.
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Reviewed-by: Yang Wang <kevinyang.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions