From 00821c77ccc4f1a4d8e9e762f5d9e4bf059a8f51 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 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/extract-files.py b/extract-files.py index 458b332..511bf9c 100755 --- a/extract-files.py +++ b/extract-files.py @@ -98,6 +98,12 @@ 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"') + .regex_replace('20121_v1_20201113', 'native') + .regex_replace('SRGB', 'sRGB'), 'vendor/lib64/hw/com.qti.chi.override.so': blob_fixup() .add_needed('libcamera_metadata_shim.so'), } # fmt: skip