drm/amd/powerplay: implement sensor of get feature mask
authorKevin Wang <Kevin1.Wang@amd.com>
Wed, 16 Jan 2019 01:55:03 +0000 (09:55 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:58 +0000 (15:03 -0500)
commit143c75d6514dd65ba49d3846a5a02c45a4b7f15b
tree217f008669b2a5e8f8e81759b0ce09a2033a08eb
parent77d1eef4e87c115136771b56ada0d3000daaeba1
drm/amd/powerplay: implement sensor of get feature mask

add sensor interface of feature mask for debugfs.
this interface is not ip related function, so need move high level
file to implement (amdgpu_smu)

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c