Commit Graph
24 Commits
Author SHA1 Message Date
pjgowtham 9500158292 ferrari: Avoid shipping firmware
Change-Id: Id6b5d4a9bc894edd3ad08411c7c048ba56ee2b3b
2026-01-27 22:29:44 +05:30
pjgowtham aac48e4521 ferrari: Import EVA and Adreno firmwares that were decommonized
Change-Id: Id6644c3c23c4b46e9cc88c686ceb884a81036fb0
2025-12-28 16:35:23 +05:30
pjgowtham ec8039f6bf ferrari: Import fingerprint related config that was decommonized
Change-Id: Ie49a36d7199407d424ebaba9863ba1bd04e531a1
2025-12-28 16:35:23 +05:30
pjgowtham cc9c587167 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
2025-12-28 16:35:23 +05:30
pjgowtham 09ed4e8d63 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
2025-12-28 16:35:23 +05:30
pjgowtham 5e99c501f9 ferrari: Decommonize Lineage Health control charging path
Change-Id: I5e802bc87a1b2966f8e13190e2df44ac1df63597
2025-12-28 16:35:23 +05:30
pjgowtham 3db7420408 ferrari: Build composer with support for userspace dim layer
Change-Id: Ib3515e9a93c62c31082243cd09a1782503761791
2025-12-28 16:34:43 +05:30
pjgowtham f5ab5be15c ferrari: displayconfig: Default to max resolution on the first boot
Change-Id: Iddc7a2574f94fafdffc7eba9fa2b1a962f44c6a2
2025-12-28 16:34:43 +05:30
pjgowtham d7d8cc970f ferrari: Update from RMX3301_15.0.0.110(EX01) and enable elf checks
Change-Id: Ib323422e51a7d21baa56b823f3718cd0d77f07de
2025-12-28 16:34:39 +05:30
pjgowtham 4a568e3910 Revert "lemonadep: We now run at 1080p by default ^.^"
This reverts commit 67e3055242.

Change-Id: I349159718e74b8231e7ede2cf6d4b4f0bc31cd0f
2025-12-28 16:34:39 +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 053d5651cb 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.
2025-12-28 16:27:33 +05:30
pjgowtham 6054e83308 lunaa: Force multisim configuration to dsds for all variants
No single SIM variants for this device

Change-Id: I1854fe1797e9de55f64b325ec4fe2dfa9eec232e
2025-12-28 16:27:33 +05:30
pjgowtham 42223b7311 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
2025-12-28 16:27:33 +05:30
pjgowtham e74f14f5ca 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
2025-12-28 16:27:33 +05:30
pjgowtham 4a666b6d33 ferrari: Remove unsupported powershare and tristatekey features
Change-Id: I29adc129eae09f5378537c0d0356b85da4774095
2025-12-28 16:27:33 +05:30
pjgowtham 9ee0a713c5 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
2025-12-28 16:27:33 +05:30
pjgowtham b4c582c5be ferrari: Intiail rebrand for realme GT 2 pro
Change-Id: I326aabe3c36b87106e567a028a59f37cf7c54603
2025-12-28 16:27:10 +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