sm7250-common: Enable color mode & set display calibration on color mode settings

* sRGB on Natural and Boosted
   Unmanaged on Saturated
   P3 on Automatic

 * Set color mode to Natural by default

 * Adjust display composition color spaces

Change-Id: If73eafa82395e80acf84445fcab2f1ce25a33e23
Signed-off-by: aswin7469 <aswinas@pixysos.com>
This commit is contained in:
Jake Weinstein
2021-07-10 14:52:09 +08:00
committed by KakatkarAkshay
parent 830a408488
commit 84e9206b3a
6 changed files with 62 additions and 6 deletions

View File

@@ -12,6 +12,8 @@ binder_call(hal_display_default, vendor_hal_display_color)
allow hal_display_default vendor_hal_display_postproc_hwservice:hwservice_manager find;
allow hal_display_default sysfs_color:file rw_file_perms;
allow hal_display_default sysfs:file rw_file_perms;
allow hal_display_default sysfs_fod:file rw_file_perms;