OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec442fd
)
drm/amdgpu: Add new AMDGPU_PP_SENSOR_MIN/MAX_FAN_RPM sensor
author
Rex Zhu
<Rex.Zhu@amd.com>
Sun, 30 Sep 2018 05:18:17 +0000
(13:18 +0800)
committer
Alex Deucher
<alexander.deucher@amd.com>
Tue, 9 Oct 2018 22:04:46 +0000
(17:04 -0500)
For getting the min/max fan speed in RPM units.
Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/include/kgd_pp_interface.h
b/drivers/gpu/drm/amd/include/kgd_pp_interface.h
index
8593850
..
97001a6
100644
(file)
--- a/
drivers/gpu/drm/amd/include/kgd_pp_interface.h
+++ b/
drivers/gpu/drm/amd/include/kgd_pp_interface.h
@@
-114,6
+114,8
@@
enum amd_pp_sensors {
AMDGPU_PP_SENSOR_STABLE_PSTATE_SCLK,
AMDGPU_PP_SENSOR_STABLE_PSTATE_MCLK,
AMDGPU_PP_SENSOR_ENABLED_SMC_FEATURES_MASK,
+ AMDGPU_PP_SENSOR_MIN_FAN_RPM,
+ AMDGPU_PP_SENSOR_MAX_FAN_RPM,
};
enum amd_pp_task {