Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/system/bin/sh
- # Insert GPU control module.
- # How to get GPU clock speeds for the module
- #
- # echo "0" > /proc/sys/kernel/kptr_restrict
- # cat /proc/kallsyms | grep 'device_3d0' | tail -n1
- # XXXXXXXX d device_3d0
- # cat /proc/kallsyms | grep 'gfx2d0_clk'
- # YYYYYYYY d gfx2d0_clk
- # cat /proc/kallsyms | grep 'gfx3d_clk'
- # ZZZZZZZZ d gfx3d_clk
- insmod kcontrol_gpu_msm.ko dev_3d0=0xXXXXXXXX gfx2d0_clk=0xYYYYYYYY gfx3d_clk=0xZZZZZZZZ
Advertisement
Add Comment
Please, Sign In to add comment