diff --git a/product/qcom-display.mk b/product/qcom-display.mk index 3768e14..c4f63a6 100644 --- a/product/qcom-display.mk +++ b/product/qcom-display.mk @@ -1,5 +1,6 @@ # Properties PRODUCT_PROPERTY_OVERRIDES += \ + debug.gralloc.enable_fb_ubwc=1 \ debug.enable.sglscale=1 \ debug.mdpcomp.logs=0 \ dev.pm.dyn_samplingrate=1 \ diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc index c83c60e..4f13db1 100644 --- a/rootdir/init.qcom.rc +++ b/rootdir/init.qcom.rc @@ -49,6 +49,20 @@ on early-boot write /sys/kernel/boot_slpi/boot 1 exec u:r:qti_init_shell:s0 -- /init.qcom.early_boot.sh + # Graphics + chown system graphics /sys/class/graphics/fb0/idle_time + chmod 0664 /sys/class/graphics/fb0/idle_time + chown system graphics /sys/class/graphics/fb0/dynamic_fps + chmod 0664 /sys/class/graphics/fb0/dynamic_fps + chown system graphics /sys/class/graphics/fb0/dyn_pu + chmod 0664 /sys/class/graphics/fb0/dyn_pu + chown system graphics /sys/class/graphics/fb0/modes + chmod 0664 /sys/class/graphics/fb0/modes + chown system graphics /sys/class/graphics/fb0/mode + chmod 0664 /sys/class/graphics/fb0/mode + chown system graphics /sys/class/graphics/fb0/msm_cmd_autorefresh_en + chmod 0664 /sys/class/graphics/fb0/msm_cmd_autorefresh_en + on boot chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power chown bluetooth net_bt /sys/class/rfkill/rfkill0/type