linux/drivers/gpu/drm/amd/pm
Fedor Pchelkin 82f2cd7022 drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
[ Upstream commit a54e4639c4 ]

There is a small typo in phm_wait_on_indirect_register().

Swap mask and value arguments provided to phm_wait_on_register() so that
they satisfy the function signature and actual usage scheme.

Found by Linux Verification Center (linuxtesting.org) with Svace static
analysis tool.

In practice this doesn't fix any issues because the only place this
function is used uses the same value for the value and mask.

Fixes: 3bace35914 ("drm/amd/powerplay: add hardware manager sub-component")
Signed-off-by: Fedor Pchelkin <pchelkin@ispras.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-15 12:13:42 +02:00
..
inc drm/amd/pm: Remove legacy interface for xgmi plpd 2024-05-17 17:40:39 -04:00
legacy-dpm amdgpu/pm/legacy: fix suspend/resume issues 2025-03-07 18:25:45 +01:00
powerplay drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value 2025-08-15 12:13:42 +02:00
swsmu drm/amdgpu: add kicker fws loading for gfx11/smu13/psp13 2025-07-10 16:05:04 +02:00
amdgpu_dpm.c drm/amdgpu: Disable dpm_enabled flag while VF is in reset 2024-08-13 12:12:52 -04:00
amdgpu_dpm_internal.c drm/amd/pm: add missing prototypes to amdgpu_dpm_internal 2022-02-07 18:03:50 -05:00
amdgpu_pm.c drm/amd/pm: add unique_id for gfx12 2025-03-28 22:03:31 +01:00
Makefile drm/amd/swsmu: add smu14 ip support 2023-10-13 10:59:55 -04:00