config: Set SF phase offsets for mainline product

Set SF phase offsets for default and high fps for the mainline
display product only. If there will be plan to pick them on an
other product, these settings need to be tuned for that product.
Remove SF Vsync offset setting of 6 ms, as it gets picked up at
the default Refresh Rate of 60 fps and leads to frame drops. SF
will use the default value of 1 ms instead.

CRs-Fixed: 2500859
Change-Id: I452603a24e101afe412571c9f61057d15fecb34c
diff --git a/config/display-product.mk b/config/display-product.mk
index b3c4752..3ad155f 100644
--- a/config/display-product.mk
+++ b/config/display-product.mk
@@ -54,7 +54,10 @@
     vendor.display.comp_mask=0 \
     vendor.display.enable_posted_start_dyn=1 \
     vendor.display.enable_optimize_refresh=1 \
-    vendor.display.use_smooth_motion=1 \
+    vendor.display.use_smooth_motion=1
+
+ifeq ($(TARGET_BOARD_PLATFORM),kona)
+PRODUCT_PROPERTY_OVERRIDES += \
     debug.sf.early_phase_offset_ns=500000 \
     debug.sf.early_app_phase_offset_ns=500000 \
     debug.sf.early_gl_phase_offset_ns=3000000 \
@@ -62,13 +65,13 @@
     debug.sf.high_fps_early_phase_offset_ns=6100000 \
     debug.sf.high_fps_early_gl_phase_offset_ns=9000000 \
     debug.sf.phase_offset_threshold_for_next_vsync_ns=6100000
+endif
 
 #Set WCG properties
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_wide_color_display=true
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.has_HDR_display=true
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.use_color_management=true
 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.wcg_composition_dataspace=143261696
-PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.vsync_sf_event_phase_offset_ns=6000000
 
 ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
 # Recovery is enabled, logging is enabled