linux-loongson/drivers/gpu/drm/amd/pm/powerplay
Fedor Pchelkin a54e4639c4 drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value
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>
2025-07-07 13:47:02 -04:00
..
hwmgr drm/amd/pm/powerplay/hwmgr/smu_helper: fix order of mask and value 2025-07-07 13:47:02 -04:00
inc drm/amdgpu: Remove powerdown_uvd member 2025-03-05 10:44:37 -05:00
smumgr drm/amd/pm/smu7: Remove unused smu7_copy_bytes_from_smc 2025-05-07 17:46:00 -04:00
amd_powerplay.c drm/amdgpu: handle amdgpu_cgs_create_device() errors in amd_powerplay_create() 2025-03-07 12:55:56 -05:00
Makefile drm/amd/pm: relocate the power related headers 2022-01-14 17:51:14 -05:00