Reuse the 6.6 common build while retaining WAIPIO kernel selection,
Ferrari partition sizes, shipping API and the existing hardware blobs.
Keep legacy radio declarations in the leaf manifest and replace the old
audio/PAL/AGM declarations with the common AIDL stack.
Use the common handset primary module configuration and AIDL effects
without Quasar, whose proprietary library is not supplied on Ferrari.
Load system_dlkm before the existing vendor loader. Retain the reviewed
WAIPIO module lists rather than inheriting Sun peripheral modules.
Assisted-by: LLM
Change-Id: I1fcf3cbf77e5496682f8242c931b72fd9e349050
* Updated minimum brightness calculation from 4/2047 to 4/4095
to align with display DTSI's max level (qcom,mdss-brightness-min-level = 1,
qcom,mdss-brightness-max-level = 4095).
* Synced screenBrightnessRamp with Oplus SM8650.
* screenBrightnessMap is preferred as it supports only floating-point values.
* Calculated High Brightness Mode (HBM) transition point as 2047/(4095-4).
The transition lux is also obtained from OplusSmartBrightnessController.
* Removed some overlays so as to prefer the defaults.
* Update auto brightness overlays from stock display dumpsys under
OplusSmartBrightnessController.
Change-Id: I0b2513be866728f3ddf93f7fbe296d78d862c813
The initial densityMapping configuration had references from AOSP
DisplayDeviceConfig.java template which actually has this inverted.
Let's correct it to account for the native portrait orientation in phones.
Change-Id: I07c9567c1d0c72b7ed77c1fe8fdf399bae30dd85