Commit Graph
25 Commits
Author SHA1 Message Date
pjgowtham 60c62acb7e ferrari: Fix blob dependencies 2026-10-05 08:57:11 +05:30
pjgowtham f04595e5d5 ferrari: Avoid shipping firmware
Change-Id: Id6b5d4a9bc894edd3ad08411c7c048ba56ee2b3b
2026-10-05 08:57:11 +05:30
pjgowtham 1579a7adca ferrari: Import EVA and Adreno firmwares that were decommonized
Change-Id: Id6644c3c23c4b46e9cc88c686ceb884a81036fb0
2026-10-05 08:57:11 +05:30
pjgowtham 7a343ea225 ferrari: Import fingerprint related config that was decommonized
Change-Id: Ie49a36d7199407d424ebaba9863ba1bd04e531a1
2026-10-05 08:57:11 +05:30
pjgowtham 45f5081f28 ferrari: Import irissoft_samsung_S6E3HC3_dsc_cmd_mode_panel_21631.fw
Ideally, this is supposed to be generated at runtime on the first
boot through calls from composer but we still haven't reversed it.
So, let's pull them from /data/vendor/display.

Apparently, this doesn't need any library fixups since it can
also load from /odm/etc/.

Change-Id: I16823871fb8a8179dcd7adab4af736bf236be9e3
2026-10-05 08:57:11 +05:30
pjgowtham f9477b9ac5 ferrari: Build pixelworks additions to qti composer
The display panel that is used by ferrari/wly (Samsung S6E3HC3)
supports pixelworks soft-iris feature and its evident with the
presence of /odm/etcirissoft_samsung_S6E3HC3_dsc_cmd_mode_panel.xml.

This fixes color modes with stock render intents.

Change-Id: Iea2cf85eeb2aee9463d08759df04e5a6ec823df2
2026-10-05 08:57:11 +05:30
pjgowtham 1c8b2f8ceb ferrari: Decommonize Lineage Health control charging path
Change-Id: I5e802bc87a1b2966f8e13190e2df44ac1df63597
2026-10-05 08:57:11 +05:30
pjgowtham c0a35ce940 ferrari: Build composer with support for userspace dim layer
Change-Id: Ib3515e9a93c62c31082243cd09a1782503761791
2026-10-05 08:57:11 +05:30
pjgowtham afae11f88d ferrari: displayconfig: Default to max resolution on the first boot
Change-Id: Iddc7a2574f94fafdffc7eba9fa2b1a962f44c6a2
2026-10-05 08:57:11 +05:30
pjgowtham db37eb17d4 ferrari: Update from RMX3301_15.0.0.110(EX01) and enable elf checks
Change-Id: Ib323422e51a7d21baa56b823f3718cd0d77f07de
2026-10-05 08:57:01 +05:30
pjgowtham ceb01f334b Revert "lemonadep: We now run at 1080p by default ^.^"
This reverts commit 67e3055242.

Change-Id: I349159718e74b8231e7ede2cf6d4b4f0bc31cd0f
2026-10-05 08:56:34 +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
pjgowtham 17288c80e6 ferrari: Initial tree update from RMX3301_14.0.0.801(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2026-10-05 08:56:34 +05:30
pjgowtham e473587dc4 ferrari: Update supported framerates for camera
* Stock oplus camera does not expose 480p videos on any cameras and they are not needed.
* Rear Main camera: 60fps video is supported on oplus camera but unexposed, so lets expose it.
* Front cam: Only HD and FHD qualities are exposed and only upto 30fps in oplus camera. The same modes are exposed properly.
* UW: Supports upto HD FHD 30|60 fps but with shitty quality even in oplus camera. Oplus camera switches to main lens if 4k quality is selected. 60fps remains unexposed, so lets expose it
* Microscope supports HD 30|60 FPS modes. But unsupported FHD quality is exposed too.
2026-10-05 08:56:34 +05:30
pjgowtham 4ff68c3faa lunaa: Force multisim configuration to dsds for all variants
No single SIM variants for this device

Change-Id: I1854fe1797e9de55f64b325ec4fe2dfa9eec232e
2026-10-05 08:56:34 +05:30
pjgowtham f84bed9ddf ferrari: Fix lockscreen text overlapping UDFPS sensor location
Now the text appears at an equal distance from the fod sensor and the bottom end of the screen

Change-Id: I752488fb2ad96c5f5c67a0ad87abc4f8527dcc8a
2026-10-05 08:56:34 +05:30
pjgowtham 4a870f83aa ferrari: Update UDFPS sensor location for ferrari
sensorlocationX is calculated as width/2
sensorlocationY is calculated as (height - persist.vendor.fingerprint.optical.iconlocation) ie (3216 - 753 = 2463)
sensorRadius is calculated as persist.vendor.fingerprint.optical.iconsize/2 ie (228/2 = 114)
config_udfpsEnrollProgressBar is calculated as sensorRadius+5

Change-Id: If6556437abc7c760a45bd3f73f34e38f5d9bb3f2
2026-10-05 08:56:34 +05:30
pjgowtham a6a4f33d38 ferrari: Remove unsupported powershare and tristatekey features
Change-Id: I29adc129eae09f5378537c0d0356b85da4774095
2026-10-05 08:56:34 +05:30
pjgowtham dfbe036798 ferrari: Change charging control node to the ones with oplus driver
lemonade/p are outliers since they use the oplus_chg driver
whereas rest of the devices uses the oplus driver.

Change-Id: I8ab004a2fa4e9cbfb246f5c9eabd701fab03cf5e
2026-10-05 08:56:34 +05:30
pjgowtham 071f07f371 ferrari: Intial rebrand for realme GT 2 pro
Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
2026-10-05 08:55:27 +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
pjgowtham d0ec07ca13 lemonadep: Remove prebuilt audio HAL
Change-Id: I6e2c879d97c9dce7a5731b7b3a4a377583cb91a8
2025-02-07 04:44:31 +02:00
pjgowtham 72e1a19ec1 lemonadep: displayconfig: Setup density mapping
Change-Id: I1a0cab5d554b072d889133128b49f8ccf4d4fb21
2024-11-12 19:34:50 +00:00
pjgowtham 3ebd863242 lemonadep: Move some parts from common
Following adding support for lunaa and martini

Change-Id: Idaab654774f31bf8bfc44d87f3779ea6cc8db94b
2023-04-10 13:19:00 +03:00