Commit Graph
6 Commits
Author SHA1 Message Date
pjgowtham afae11f88d ferrari: displayconfig: Default to max resolution on the first boot
Change-Id: Iddc7a2574f94fafdffc7eba9fa2b1a962f44c6a2
2026-10-05 08:57:11 +05:30
pjgowtham 80d4d5b9b1 ferrari: Update display density for 1440p resolution
(1440/1080) * 450 = 600

Change-Id: I0007a5aac1ac771c03184a15b245a0cc0e3889da
2026-10-05 08:56:34 +05:30
pjgowtham 7cb63b8c74 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
2026-10-05 08:56:34 +05:30
Michael Bestas 9b05573e6e lemonadep: Correct display height
Change-Id: Ib0a222c0695096c518f68edd0eb758da1c42c26d
2026-01-15 09:32:20 +02:00
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