hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/Documentation/ABI/testing/sysfs-device-mali
....@@ -62,8 +62,11 @@
6262 Description:
6363 This attribute is available only with mali platform
6464 device-driver that supports a CSF GPU. This attribute is
65
- used to set the duration value in milliseconds for the
66
- configuring hysteresis field for determining GPU idle detection.
65
+ used to configure the timeout value in microseconds for the
66
+ GPU idle handling. If GPU has been idle for this timeout
67
+ period, then it is put to sleep for GPUs where sleep feature
68
+ is supported or is powered down after suspending command
69
+ stream groups.
6770
6871 What: /sys/class/misc/mali%u/device/js_ctx_scheduling_mode
6972 Description:
....@@ -211,6 +214,32 @@
211214 without forward progress to allow to elapse before terminating a
212215 GPU command queue group.
213216
217
+What: /sys/class/misc/mali%u/device/mcu_shader_pwroff_timeout
218
+Description:
219
+ This attribute is available only with mali platform
220
+ device-driver that supports a CSF GPU. The duration value unit
221
+ is in micro-seconds and is used for configuring MCU shader Core power-off
222
+ timer. The configured MCU shader Core power-off timer will only have
223
+ effect when the host driver has delegated the shader cores
224
+ power management to MCU. The supplied value will be
225
+ recorded internally without any change. But the actual field
226
+ value will be subject to core power-off timer source frequency
227
+ scaling and maximum value limiting. The default source will be
228
+ SYSTEM_TIMESTAMP counter. But in case the platform is not able
229
+ to supply it, the GPU CYCLE_COUNTER source will be used as an
230
+ alternative.
231
+
232
+ If we set the value to zero then MCU-controlled shader/tiler
233
+ power management will be disabled.
234
+
235
+
236
+What: /sys/class/misc/mali%u/device/csg_scheduling_period
237
+Description:
238
+ This attribute is available only with mali platform
239
+ device-driver that supports a CSF GPU. The duration value unit
240
+ is in milliseconds and is used for configuring csf scheduling
241
+ tick duration.
242
+
214243 What: /sys/class/misc/mali%u/device/reset_timeout
215244 Description:
216245 This attribute is used to set the number of milliseconds to