From 4209e6c3c8e8f5aa39286e482bc8d29ea59a811c Mon Sep 17 00:00:00 2001
From: AdarshGrewal <adarshgrewal@gmail.com>
Date: Fri, 28 Oct 2022 15:36:52 +0530
Subject: [PATCH] sm8350-common: Allow overriding content detection refresh
 rate props

There is a visible gamma shift when switching to high refresh rate on
some devices where it's poorly tuned (like haydn). Since its fine for
properly tuned devices (like renoir/lisa) lets keep these props here
and override on devices where its necessary.

Change-Id: Ie120376e330edfef59a4a535545ac7c014a3b557
---
 vendor.prop | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vendor.prop b/vendor.prop
index 01ca6c6..eb44be7 100644
--- a/vendor.prop
+++ b/vendor.prop
@@ -174,9 +174,9 @@ ro.surface_flinger.has_wide_color_display=true
 ro.surface_flinger.max_frame_buffer_acquired_buffers=3
 ro.surface_flinger.max_virtual_display_dimension=4096
 ro.surface_flinger.protected_contents=true
-ro.surface_flinger.set_touch_timer_ms=200
+ro.surface_flinger.set_touch_timer_ms?=200
 ro.surface_flinger.use_color_management=true
-ro.surface_flinger.use_content_detection_for_refresh_rate=true
+ro.surface_flinger.use_content_detection_for_refresh_rate?=true
 ro.surface_flinger.wcg_composition_dataspace=143261696
 ro.vendor.sf.enable_fb_scaling=1
 vendor.display.comp_mask=0
-- 
GitLab