]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix the confusing ppfeature mask calculations
authorEvan Quan <evan.quan@amd.com>
Tue, 19 Feb 2019 04:20:54 +0000 (12:20 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Feb 2019 21:34:18 +0000 (16:34 -0500)
commit64beee48c2fd964b82cc3801e54642afb1fc492c
tree666cd218cb32e38a2719de02e53d61c5c6ef9262
parente58486926992e0a9f52c6bcc717bfb5439544b4f
drm/amd/powerplay: fix the confusing ppfeature mask calculations

Simplify the ppfeature mask calculations.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega12_hwmgr.c
drivers/gpu/drm/amd/powerplay/hwmgr/vega20_hwmgr.c