]> 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)
commitff99223b18eeabbb5254b8da51769c6d82a0ab4d
tree666cd218cb32e38a2719de02e53d61c5c6ef9262
parentf90f83de06914b021fabd6740021498da15ce9e9
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