drm/amd/powerplay: add helper function to get smu firmware & if version
authorKevin Wang <kevin1.wang@amd.com>
Mon, 29 Apr 2019 06:47:41 +0000 (14:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 24 May 2019 17:20:47 +0000 (12:20 -0500)
commit4fde03a7efe42f1b3de3b483f98dc4551dd62ac4
treeb4f24b7749db960035c5ea4e0e191b5120fa59b4
parenteef2d67ead3e14e284cc840894727b095fe774c2
drm/amd/powerplay: add helper function to get smu firmware & if version

add this helper function to get smc version.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c