From 8e92aeb47a667f9806976f4fb144b3de8589caf8 Mon Sep 17 00:00:00 2001 From: Albert Tang Date: Sat, 15 Feb 2025 11:40:11 -0800 Subject: [PATCH] dre: Fix sRGB mode in qdcm calibation data qdcm_calib_data_default.xml has features 2, 7 and 8 disabled for sRGB. Do the same thing for nt36672c to fix sRGB here. Change-Id: Ieee41c8a224bf73ad92b5fdcbb2c5d3c4ee2f9ca --- extract-files.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/extract-files.py b/extract-files.py index 458b332..b5d2bfc 100755 --- a/extract-files.py +++ b/extract-files.py @@ -98,6 +98,10 @@ blob_fixups: blob_fixups_user_type = { .regex_replace('.*media_codecs_(google_audio|google_c2|google_telephony|vendor_audio).*\n', ''), 'vendor/etc/msm_irqbalance.conf': blob_fixup() .regex_replace('IGNORED_IRQ=19,21,38$', 'IGNORED_IRQ=19,21,38,209,218'), + 'vendor/etc/qdcm_calib_data_nt36672c_tm_fhd_plus_video_mode_dsi_panel.xml': blob_fixup() + .regex_replace('FeatureType="2" Disable="false"', 'FeatureType="2" Disable="true"') + .regex_replace('FeatureType="7" Disable="false"', 'FeatureType="7" Disable="true"') + .regex_replace('FeatureType="8" Disable="false"', 'FeatureType="8" Disable="true"'), 'vendor/lib64/hw/com.qti.chi.override.so': blob_fixup() .add_needed('libcamera_metadata_shim.so'), } # fmt: skip