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)
commitb7d485df6658942e30c0faccb7213b63c167ceeb
tree666cd218cb32e38a2719de02e53d61c5c6ef9262
parent6a7a20ed29ca427c961020e87cb809a3d79f6fa6
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