From 538ef751825ab0aa3e1477e45dae410b1d5983b3 Mon Sep 17 00:00:00 2001 From: dom133 Date: Tue, 4 Sep 2018 18:57:01 +0200 Subject: [PATCH 1/3] Revert "lucye: Adjust HDR PCC values" This reverts commit 7a450268fd9e3a7b58987412538603b2ea660073. --- configs/hdr_tm_config.xml | 68 +++++++++++++++++++-------------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/configs/hdr_tm_config.xml b/configs/hdr_tm_config.xml index c20fe58..5c63c1d 100755 --- a/configs/hdr_tm_config.xml +++ b/configs/hdr_tm_config.xml @@ -1,7 +1,7 @@ DCIP3 - 550 ) + 500 ) 0.360 1000 @@ -10,43 +10,43 @@ - 0.000000000000 - 1.114550810647 - -0.098645117992 - -0.014683741383 - -0.002325556516 - 0.013480372961 - 0.010200563534 - -0.016881742741 - -0.001169746392 - -0.006551793633 - 0.002148772370 + 0.002427654602 + 0.905895810647 + 0.012420117992 + 0.078502741383 + -0.090136556516 + 0.040661372961 + -0.041721563534 + 0.039941742741 + 0.003123746392 + 0.047073793633 + 0.001427772370 - 0.000000000000 - -0.013697434375 - 0.994950124481 - 0.020245935872 - 0.017829264266 - 0.000874116954 - -0.006637187977 - -0.005981694981 - -0.008696605566 - -0.004097097623 - 0.004514686298 + 0.000738124622 + 0.033416334375 + 0.944707124481 + 0.031917935872 + -0.003618264266 + -0.141678116954 + -0.023613187977 + 0.028772694981 + 0.115614605566 + -0.007270097623 + 0.021647686298 - 0.000000000000 - -0.040885183835 - -0.038876228548 - 1.077868169773 - 0.024695561865 - -0.005095814464 - -0.008094643271 - -0.002268808456 - 0.000473164314 - -0.007387988231 - -0.001212106492 + 0.001785224120 + -0.009190183835 + 0.012673228548 + 0.995920169773 + 0.012744561865 + -0.001739814464 + -0.039078643271 + -0.004484808456 + 0.051680164314 + -0.024547988231 + 0.003994106492 From 91bc0d6f3ff7d9d5fa5a9ffdfaf9261a29748d64 Mon Sep 17 00:00:00 2001 From: dom133 Date: Tue, 4 Sep 2018 18:59:13 +0200 Subject: [PATCH 2/3] Revert "g6: Add HDR configuration file" This reverts commit d172fc86d1b3b7c16303cf7c21a52123091f6a01. --- configs/hdr_tm_config.xml | 82 --------------------------------------- g6.mk | 4 -- system.prop | 3 -- 3 files changed, 89 deletions(-) delete mode 100755 configs/hdr_tm_config.xml diff --git a/configs/hdr_tm_config.xml b/configs/hdr_tm_config.xml deleted file mode 100755 index 5c63c1d..0000000 --- a/configs/hdr_tm_config.xml +++ /dev/null @@ -1,82 +0,0 @@ - - - DCIP3 - 500 ) - 0.360 - 1000 - - 2p2 - 2.2 - - - - 0.002427654602 - 0.905895810647 - 0.012420117992 - 0.078502741383 - -0.090136556516 - 0.040661372961 - -0.041721563534 - 0.039941742741 - 0.003123746392 - 0.047073793633 - 0.001427772370 - - - 0.000738124622 - 0.033416334375 - 0.944707124481 - 0.031917935872 - -0.003618264266 - -0.141678116954 - -0.023613187977 - 0.028772694981 - 0.115614605566 - -0.007270097623 - 0.021647686298 - - - 0.001785224120 - -0.009190183835 - 0.012673228548 - 0.995920169773 - 0.012744561865 - -0.001739814464 - -0.039078643271 - -0.004484808456 - 0.051680164314 - -0.024547988231 - 0.003994106492 - - - - - 0 0 - 62 45 - 123 70 - 185 95 - 254 136 - 308 183 - 386 292 - 451 396 - 482 445 - 513 497 - 544 562 - 575 630 - 606 707 - 637 780 - 668 870 - 800 980 - 923 1023 - - - - 0 - 0.005 - 0.05 - 1.30 - - - - - diff --git a/g6.mk b/g6.mk index f625b7c..d432581 100644 --- a/g6.mk +++ b/g6.mk @@ -35,10 +35,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ android.hardware.biometrics.fingerprint@2.1-service -# HDR -PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/configs/hdr_tm_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/hdr_tm_config.xml - # Lights PRODUCT_PACKAGES += \ android.hardware.light@2.0-service.lucye diff --git a/system.prop b/system.prop index 5b0584c..d17b25b 100644 --- a/system.prop +++ b/system.prop @@ -1,5 +1,2 @@ # Graphics persist.sys.sf.color_saturation=1.1 - -# HDR -ro.qcom.hdr.config=/system/vendor/etc/hdr_tm_config.xml From 15b4db253b4e5dcef37b4459b16f32ba53b299e7 Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 4 Sep 2018 19:00:23 +0200 Subject: [PATCH 3/3] g6: Remove HDR and wide color display support --- BoardConfigCommon.mk | 4 ++-- system.prop | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index cda1eee..ce24854 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -20,8 +20,8 @@ DEVICE_COMMON_PATH := device/lge/g6-common -include device/lge/msm8996-common/BoardConfigCommon.mk # Display -TARGET_HAS_HDR_DISPLAY := true -TARGET_HAS_WIDE_COLOR_DISPLAY := true +#TARGET_HAS_HDR_DISPLAY := true +#TARGET_HAS_WIDE_COLOR_DISPLAY := true # Lights TARGET_PROVIDES_LIBLIGHT := true diff --git a/system.prop b/system.prop index d17b25b..75351dc 100644 --- a/system.prop +++ b/system.prop @@ -1,2 +1,2 @@ # Graphics -persist.sys.sf.color_saturation=1.1 +#persist.sys.sf.color_saturation=1.1