drm/amd/powerplay: move setting allowed mask and feature enabling together
authorHuang Rui <ray.huang@amd.com>
Wed, 20 Feb 2019 11:58:11 +0000 (19:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:02 +0000 (15:04 -0500)
commitd4631cba9ebe6743df123e7c99372dfb2f840d1f
tree58dfa45ddb4c9fa42aa9b658997a8ae2babd20a0
parent2dd1209e5760686efbf17fc6564fa58e8bb59ad1
drm/amd/powerplay: move setting allowed mask and feature enabling together

This patch moves setting allowed mask and feature enabling together to refine
the programming sequence.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c