new/external/rkscript/async-commit
2025-05-10 21:58:58 +08:00

10 lines
228 B
Bash
Executable File

#!/bin/sh
# Enable ASYNC_COMMIT for Rockchip BSP kernel > 4.4
type modetest &>/dev/null || exit 0
for p in $(modetest|grep "^Planes:" -A 9999|grep -o "^[0-9]*");
do
modetest -M rockchip -aw $p:ASYNC_COMMIT:1 &>/dev/null
done