drm/amd/powerplay: bug fixs for getsmuclockinfo
authorEvan Quan <evan.quan@amd.com>
Mon, 28 May 2018 00:55:09 +0000 (08:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 30 May 2018 17:35:34 +0000 (12:35 -0500)
commit2f6a18ebd08e3f41a8e01176821b7203232298c4
tree256b203ada56366fe7561b8f0524a4160b6a3318
parentee7a99c79aa3b15e9b6157f8949a1ad8c170f17f
drm/amd/powerplay: bug fixs for getsmuclockinfo

The .syspll_id and .dfsdid are not initialzed correctly. And
le32_to_cpu transfer is needed on the output.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/ppatomfwctrl.c