dre: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced in order to improve latency and responsiveness. And also affine them. Change-Id: If49ecb8757d133a7fad0d7946837b35403e57c2a
This commit is contained in:
parent
adef2d52a3
commit
57906249ee
2 changed files with 10 additions and 0 deletions
|
@ -67,6 +67,9 @@ function blob_fixup() {
|
|||
odm/lib64/libCOppLceTonemapAPI.so|odm/lib64/libaps_frame_registration.so)
|
||||
"${PATCHELF}" --replace-needed "libstdc++.so" "libstdc++_vendor.so" "${2}"
|
||||
;;
|
||||
vendor/etc/msm_irqbalance.conf)
|
||||
sed -i "s/IGNORED_IRQ=19,21,38$/&,209,218/" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
|
@ -45,6 +45,13 @@ on property:sys.boot_completed=1
|
|||
chmod 0600 /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||
chown system system /mnt/vendor/persist/data/pfm/licenses/1000-1000-no-exp-1186717196.pfm
|
||||
|
||||
on property:vendor.post_boot.parsed=1
|
||||
# IRQ Tuning
|
||||
# IRQ 243: msm_drm
|
||||
# IRQ 240: kgsl_3d0_irq
|
||||
write /proc/irq/243/smp_affinity_list 2
|
||||
write /proc/irq/240/smp_affinity_list 1
|
||||
|
||||
on property:sys.usb.config=adb && property:sys.usb.configfs=1
|
||||
write /config/usb_gadget/g1/idVendor 0x22D9
|
||||
write /config/usb_gadget/g1/idProduct 0x2769
|
||||
|
|
Loading…
Reference in a new issue