Commit Graph

6 Commits

Author SHA1 Message Date
pjgowtham
f5ab5be15c ferrari: displayconfig: Default to max resolution on the first boot
Change-Id: Iddc7a2574f94fafdffc7eba9fa2b1a962f44c6a2
2025-12-28 16:34:43 +05:30
pjgowtham
5698e039cc ferrari: Update display density for 1440p resolution
(1440/1080) * 450 = 600

Change-Id: I0007a5aac1ac771c03184a15b245a0cc0e3889da
2025-12-28 16:34:30 +05:30
pjgowtham
7d4cf559ae ferrari: Redo brightness configuration and move partially to displayconfig
* 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
2025-12-28 16:34:04 +05:30
pjgowtham
9054163414 ferrari: Initial tree update from RMX3301_14.0.0.801(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2025-12-28 16:33:59 +05:30
pjgowtham
39ecce15d6 lemonadep: displayconfig: Correct inverted width and height
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
2025-10-02 22:08:52 +01:00
Bruno Martins
7c28a4e67d lemonadep: Move display config file and rename it locally
Change-Id: Ia8c31aaf2e281c8ac50b1c4008ba623d84484d04
2025-10-02 22:05:59 +01:00