drm/amd/powerplay: move bootup value before read pptable from vbios
authorHuang Rui <ray.huang@amd.com>
Thu, 31 Jan 2019 13:11:11 +0000 (21:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
commit4009b9b589aa11d812d40b92b1f825e45efb853f
tree1130edc80e363fa041b39eaa385a58ea589e1179
parent31528650356c30809a4902ea8ea3345975fdc1d5
drm/amd/powerplay: move bootup value before read pptable from vbios

In navi10, we need read the pp_table_id from bootup value, then decide whether
use load the soft pptable.

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