SDM845 LLCC

本文使用内核请参考S9+ G9650 Kernel 编译

GPU/Rotate Slices

GPU

echo 0 > /sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpuhtw_llc_slice_enable
echo 0 > /sys/devices/platform/soc/5000000.qcom,kgsl-3d0/kgsl/kgsl-3d0/gpu_llc_slice_enable

Rotator

echo 0 > /d/sde_rotator0/disable_syscache

Other Slices

insmod llcc-ctrl.ko [enable|disable]=; rmmod llcc_ctrl

e.g. CPUSS

insmod llcc-ctrl.ko disable=1; rmmod llcc_ctrl # cpuss
insmod llcc-ctrl.ko disable=13; rmmod llcc_ctrl # mmuhwt

Dump Slices

insmod llcc-ctrl.ko dump=1; rmmod llcc_ctrl; dmesg | grep llcc
[ 2443.005909] 0x1Fu: dump_llcc: llcc slices:
[ 2443.006001] 0x1Fu: dump_llcc: [ 1] cpuss activated
[ 2443.006099] 0x1Fu: dump_llcc: [ 2] vidsc0 
[ 2443.006186] 0x1Fu: dump_llcc: [ 3] vidsc1 
[ 2443.006276] 0x1Fu: dump_llcc: [ 4] rotator 
[ 2443.006360] 0x1Fu: dump_llcc: [ 5] voice 
[ 2443.006438] 0x1Fu: dump_llcc: [ 6] audio 
[ 2443.006513] 0x1Fu: dump_llcc: [ 7] modemhp_grow 
[ 2443.006597] 0x1Fu: dump_llcc: [ 8] modem 
[ 2443.006671] 0x1Fu: dump_llcc: [10] compute 
[ 2443.006749] 0x1Fu: dump_llcc: [11] gpuhtw activated
[ 2443.006832] 0x1Fu: dump_llcc: [12] gpu activated
[ 2443.006916] 0x1Fu: dump_llcc: [13] mmuhwt activated
[ 2443.006999] 0x1Fu: dump_llcc: [15] compute_dma 
[ 2443.007081] 0x1Fu: dump_llcc: [16] display 
[ 2443.007157] 0x1Fu: dump_llcc: [17] videofw 
[ 2443.007235] 0x1Fu: dump_llcc: [20] modemhp_fix 
[ 2443.007316] 0x1Fu: dump_llcc: [21] modem_paging 
[ 2443.007399] 0x1Fu: dump_llcc: [22] audiohw 
SDM845 LLCC_第1张图片
image.png

你可能感兴趣的:(SDM845 LLCC)