Skip to content

Commit

Permalink
sm8550-common: Do not balance msm_drm and kgsl_3d0 IRQs
Browse files Browse the repository at this point in the history
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
  • Loading branch information
xboxfanj authored and hellobbn committed Mar 30, 2024
1 parent 2f155e0 commit d4b0005
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extract-files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ function blob_fixup() {
vendor/bin/slim_daemon)
${PATCHELF} --add-needed "libc++_shared.so" "${2}"
;;
vendor/etc/msm_irqbalance.conf)
sed -i "s/IGNORED_IRQ=27,23,38$/&,115,332/" "${2}"
;;
esac
}

Expand Down
7 changes: 7 additions & 0 deletions rootdir/init.sony.rc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,13 @@ on post-fs
setprop persist.radio.multisim.config ${vendor.radio.multisim.config}
setprop ro.vendor.ltalabel.model ${vendor.radio.ltalabel.model}

on property:vendor.post_boot.parsed=1
# IRQ Tuning
# IRQ 246: msm_drm
# IRQ 43: kgsl_3d0_irq
write /proc/irq/246/smp_affinity_list 2
write /proc/irq/43/smp_affinity_list 1

on property:ro.vendor.ltalabel.model=XQ-BC72
setprop ro.vendor.product.rf.id PDX215-C2

Expand Down

0 comments on commit d4b0005

Please sign in to comment.