OSDN Git Service

drm/amd/powerplay: implement smu send message functions for smu11 (v3)
authorKevin Wang <Kevin1.Wang@amd.com>
Tue, 11 Dec 2018 09:16:10 +0000 (17:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
commitb0b4b413a9be3d497f706217c37da150201c43ff
tree543176d31ea38d79c003a29428ffdb82ec1cdf98
parent6667889b45cfd18d6978be99dff804288be4cc31
drm/amd/powerplay: implement smu send message functions for smu11 (v3)

Add function of smu send message for smu11

v2: fix the missing ) in define of smu_send_smc_msg_with_param
v3: Use adev usec timeout for smu as well, the origin time 10 us is not enough. (Ray)

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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