OSDN Git Service

drm/amd/powerplay: refine code in cz_smumgr.c
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 19 Dec 2016 05:10:58 +0000 (13:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:12:54 +0000 (11:12 -0500)
commitbcb5487bceb30e6c544556dc0931e04040dacf90
tree660b71b4ece5ff53267fa9932b6fb9caef93f017
parent0d12570aaf5ddf5535569ae5c0ad46bb0aed4b01
drm/amd/powerplay: refine code in cz_smumgr.c

cz_smu_init will be called in sw_init.
so it should not touch other blocks's
firmware as they were not ready.

Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/cz_smumgr.c