]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita6817451e4afcfeeeccb37dedae57a0bbbbf54f8
tree543176d31ea38d79c003a29428ffdb82ec1cdf98
parent7881199c339867c836bf507c88713eca91c75814
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