Compare commits
1 commit
62d81b42f9
...
ff387f137d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ff387f137d |
3 changed files with 2 additions and 30 deletions
|
|
@ -33,8 +33,7 @@ blob_fixups: blob_fixups_user_type = {
|
|||
'vendor/etc/camera/pureShot_parameter.xml': blob_fixup()
|
||||
.regex_replace(r'=(\d+)>', r'="\1">'),
|
||||
'vendor/lib64/hw/camera.qcom.so': blob_fixup()
|
||||
.binary_regex_replace(b'\x73\x74\x5F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x6C\x69\x63', b'\x63\x61\x6D\x65\x72\x61\x5F\x63\x6E\x66\x2E\x74\x78\x74')
|
||||
.add_needed('libprocessgroup_shim.so'),
|
||||
.binary_regex_replace(b'\x73\x74\x5F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x6C\x69\x63', b'\x63\x61\x6D\x65\x72\x61\x5F\x63\x6E\x66\x2E\x74\x78\x74'),
|
||||
'vendor/lib64/hw/camera.xiaomi.so': blob_fixup()
|
||||
.sig_replace('52 07 00 94', '1F 20 03 D5'),
|
||||
'vendor/lib64/vendor.xiaomi.hardware.cameraperf@1.0-impl.so': blob_fixup()
|
||||
|
|
@ -54,9 +53,7 @@ blob_fixups: blob_fixups_user_type = {
|
|||
.clear_symbol_version('remote_handle64_invoke')
|
||||
.clear_symbol_version('remote_handle64_open')
|
||||
.clear_symbol_version('remote_register_buf_attr'),
|
||||
'vendor/lib64/hw/com.qti.chi.override.so' : blob_fixup()
|
||||
.add_needed('libprocessgroup_shim.so'),
|
||||
} # fmt: skip
|
||||
}
|
||||
|
||||
module = ExtractUtilsModule(
|
||||
'haydn',
|
||||
|
|
|
|||
|
|
@ -340,21 +340,4 @@
|
|||
<item>haydn</item>
|
||||
<item>haydnpro</item>
|
||||
</string-array>
|
||||
|
||||
<!-- The display uses different gamma curves for different refresh rates. It's hard for panel
|
||||
vendor to tune the curves to have exact same brightness for different refresh rate. So
|
||||
flicker could be observed at switch time. The issue is worse at the gamma lower end.
|
||||
In addition, human eyes are more sensitive to the flicker at darker environment.
|
||||
To prevent flicker, we only support higher refresh rates if the display brightness is above
|
||||
a threshold. And the darker environment could have higher threshold.
|
||||
For example, no higher refresh rate if
|
||||
display brightness <= disp0 && ambient brightness <= amb0
|
||||
|| display brightness <= disp1 && ambient brightness <= amb1
|
||||
-->
|
||||
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<item>74</item> <!-- 77% UI brightness -->
|
||||
</integer-array>
|
||||
<integer-array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>63</item>
|
||||
</integer-array>
|
||||
</resources>
|
||||
|
|
|
|||
|
|
@ -46,11 +46,3 @@ on boot && property:ro.boot.hwc=GL
|
|||
|
||||
on boot && property:ro.boot.hwc=IN
|
||||
setprop bluetooth.device.default_name "Mi 11X Pro"
|
||||
|
||||
on property:vendor.post_boot.parsed=1
|
||||
|
||||
chown system graphics /sys/class/drm/sde-crtc-0/measured_fps
|
||||
chmod 0660 /sys/class/drm/sde-crtc-0/measured_fps
|
||||
|
||||
chown system system /sys/class/power_supply/battery/temp
|
||||
chmod 0660 /sys/class/power_supply/battery/temp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue