OSDN Git Service

drm/amd/powerplay: implement is_support_sw_smu function for new smu
authorKevin Wang <Kevin1.Wang@amd.com>
Thu, 10 Jan 2019 04:33:23 +0000 (12:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:57 +0000 (15:03 -0500)
commitdc8e3a0c8efbaab9b4bc7b924463a56ea33d818c
tree12138f94c01d2d6822399803ac03aefc06419fdb
parentdbe6a97024a6eeadf7912383e05118ff98883d2d
drm/amd/powerplay: implement is_support_sw_smu function for new smu

add this helper to check new sw-smu support.

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/amdgpu/amdgpu_pm.c
drivers/gpu/drm/amd/amdgpu/soc15.c
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h