summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
diff options
context:
space:
mode:
authorKevin Wang2019-01-16 02:55:03 +0100
committerAlex Deucher2019-03-19 21:03:58 +0100
commit143c75d6514dd65ba49d3846a5a02c45a4b7f15b (patch)
tree217f008669b2a5e8f8e81759b0ce09a2033a08eb /drivers/gpu/drm/amd/powerplay/smu_v11_0.c
parentdrm/amd/powerplay: implement sensor of get_gfx_vdd for smu11 (diff)
downloadkernel-qcow2-linux-143c75d6514dd65ba49d3846a5a02c45a4b7f15b.tar.gz
kernel-qcow2-linux-143c75d6514dd65ba49d3846a5a02c45a4b7f15b.tar.xz
kernel-qcow2-linux-143c75d6514dd65ba49d3846a5a02c45a4b7f15b.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smu_v11_0.c')
-rw-r--r--drivers/gpu/drm/amd/powerplay/smu_v11_0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
index 7c64509df8ab..1f9459c4ff51 100644
--- a/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
+++ b/drivers/gpu/drm/amd/powerplay/smu_v11_0.c
@@ -1108,7 +1108,7 @@ static int smu_v11_0_read_sensor(struct smu_context *smu,
*size = 4;
break;
default:
- ret = -EINVAL;
+ ret = smu_common_read_sensor(smu, sensor, data, size);
break;
}