drm/amd/pp: Delete is_smc_ram_running function on RV
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 7 Mar 2018 05:32:45 +0000 (13:32 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Mar 2018 14:56:11 +0000 (09:56 -0500)
commit7f8e66b60342f2dbefb86ce4d5a65e47b4acf70d
treea4e51aa3c8197d65ec9cc7dade1f5e07b9abe04c
parent847e82615bce500e85480b55967c0159cedcb00e
drm/amd/pp: Delete is_smc_ram_running function on RV

1. There is a race condition when another ip also use same register pairs
2. check once at boot up by GetDriverIfVersion message is sufficient
   to check SMU health. so delete is_smc_ram_running check.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/rv_smumgr.h