drm/amd/powerplay: introduce the function to load the soft pptable for navi10 (v2)
authorHuang Rui <ray.huang@amd.com>
Wed, 20 Feb 2019 12:12:22 +0000 (20:12 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
commit879af1c65af6d3e6289f4dbac847b46a4c717529
tree4dcb858240890f67b3aac5eb12acae43502a5a35
parent0186eb96300d26bbb82050f2acc462a396d55e6b
drm/amd/powerplay: introduce the function to load the soft pptable for navi10 (v2)

Driver is able to load soft pptable from smc bin file with this function. We
stored the soft pptable in the bottom of smc.bin that the version is v2.

v2: remove is_fw_v2_0 flag.

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/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c