Commit Graph
25 Commits
Author SHA1 Message Date
tmakin 5e4963ef17 nx: remove old 4.9 props 2026-10-13 17:13:18 -05:00
tmakin 91d1e94240 [wip] nx: use mainline audio hal 2026-10-13 17:12:40 -05:00
tmakin 1449832eb1 nx: update usb configs for mainline hals 2026-09-19 17:57:11 -05:00
tmakin be7c7b18f3 more baylibre
Change-Id: Ib780ad0d65dda0010fdf2483fb7085bbe4695f82
2026-07-28 09:46:30 -05:00
tmakin 5594c8ed4f [DNM] ACK stuff
Change-Id: I72adcaa0b01ccbf224a9b3e34d5143c24c9d4621
2026-07-27 23:53:48 -05:00
Nolen Johnson 4a4f46d7a5 nx: Set surface flinger properties
* Pulled relevant ones from modern QCOM.

Change-Id: Icdca52d9a0dba44170b81286fc5bb398d25d95b3
2025-03-09 02:17:10 +00:00
tmakin f8b465af1c nx: Differentiate USB PIDs
Change-Id: Ib63912eac82ad920c7086ac9d9c997e6348183fe
2024-09-30 18:51:52 +00:00
Nolen Johnson cd5ba7073f nx: Migrate to new system_ext property flag
Change-Id: I279164cf75f44fdff93d68094f22ec62f8b35357
2024-07-12 20:20:43 -04:00
Nolen Johnson 08bf61290d nx: Disable screen mirroring dialog
* Our dock is closed-face, so users can't interact with this dialog.

Change-Id: I21567a85c439597a506475a4f884a75e5312356a
2024-07-12 16:32:29 +00:00
Nolen Johnson 1b3b2ad599 Revert "nx: Disable nvgpu framebuffer compression"
This reverts commit eda8112206.

Reason: In tegra-common now.
Change-Id: I3b66231d18d9c8ecc929a4fb8e4c4b8a9fc91133
2024-06-27 15:29:25 -04:00
3l H4ck3r C0mf0r7 eda8112206 nx: Disable nvgpu framebuffer compression
Causes dmabuf graphical corruption reminiscent of Intel gvt-g
when the system is unresponsive otherwise.

Change-Id: I35da21a4396e296ca9cb5dffe8bcfaac181ba03c
2024-05-28 04:42:17 +00:00
Nolen Johnson e02fd506d3 nx: Update USB IDs
Change-Id: I461f57d5cd81cb5a84f80f0e55c258aeef112b74
2024-04-16 18:44:20 +00:00
Nolen Johnson fff9de46cb properties: Stop declaring EBPF support
* Property is dead, enforced globally.

Change-Id: I1de4b359b9031b37fd6f7b095c126f215d9f2123
2024-02-29 23:40:13 -05:00
Nolen Johnson 29ea88207e nx: Disable the GMS SetupWraith pairing wizard
* Users can still send the key event for pairing  on the deivce
  to open BT pairing - resolves all the complaints about
  not being able to use USB keyboards, JoyCons over serial, etc
  because SetupWraith prevents moving past the pairing wizard
  screen without successfully pairing a remote.

Change-Id: I23d5e455d52899aec069fa0897b684433566350c
(cherry picked from commit da4fcc4d7bf4ca6af14a48c1b6c0a87690b5d288)
2024-02-06 07:50:14 +00:00
tmakin 6ff57aca6a nx: devicesettings: Refactor dockservice
Completely redo DockService to:
- Work around NVIDIA hwcomposer issues
- Properly support docking
- Actually use set display preferences

Change-Id: Ic1ea73c113f291bcbe40ecd4ecca3288c88368b4
2024-01-25 15:54:02 -05:00
tmakin 3d240e46cc nx: hwc: Work around broken hwcomposer impl
NVIDIA's hwcomposer implementation has a number of crippling issues
which we manually work around.

* It completely breaks down when default rotation is anything but 0,
so the DTB has been modified so HWC treats the display as being in
portrait (natural rotation of the panel). SurfaceFlinger now handles
the default orientation settings (ORIENTATION_270) and lock screen
rotation has been enabled previously via overlay.

* It lacks proper display duplication, so pending an OSS docking
handler service, `stb_mode` has been enabled to attempt to replicate
stock Switch behavior. NOTE: at the moment, the 2nd display out shows
as rotated 1080p.

Change-Id: Ic7d46ed0c61c9aea44faf2e91bd102f9d7360fde
2024-01-25 15:54:02 -05:00
Nolen Johnson 6c9de6e896 nx: Statically set USB ConfigFS properties
* These won't vary per model.
* Also alphabetize.

Change-Id: Ie4f57c469ff49fcde35fc63b3f91180320ec2340
2024-01-25 15:54:02 -05:00
Nolen Johnson 28ea65e278 nx: Remove irrelevant power brick property
* Only used on Shield devices.

Change-Id: Ic91eb785d515ea19f8cc574a26506c25ff9744bc
2024-01-25 14:56:46 -05:00
Nolen Johnson 8fe2b74fb6 nx: Remove 3.10 kernel conditionals
* All `nx` models use the 4.9 kernel.

Change-Id: I1eea3007a5658af6f6c733b2811d853ae4014efb
2024-01-25 14:56:46 -05:00
Nolen Johnson 13b922a5d6 nx: Remove convertible-port support
This is a squashed revert of:

Revert "Add darcy rro"

This reverts commit 6c4b0320ee.

Revert "convertiblehal: This is a device specific prebuilt, not common"

This reverts commit a72b1112d2

Only enable covertible port hal on darcy/mdarcy

This reverts commits 447e73d8a2

Add convertible port hal

Used by darcy and mdarcy to switch one of the usb ports from host
to device mode for adb.

This reverts commit c98dc6335b

Reason: We aren't darcy.
Change-Id: I0087736ad07c98828b821f8b53894420aacb9e9b
2024-01-25 14:56:46 -05:00
Aaron Kling fe74967909 Set darcy convertible port to host by default
Change-Id: Ib454c965590f7aa7f5aa264255a01a02385a2579
2022-05-03 22:43:50 -05:00
Aaron Kling 84b9382a62 Do not force bpf support on kernel 3.10
Change-Id: Iff4dd7034e4a9a3f35646bd19eed5ce5b4928e2c
2022-04-25 14:22:31 -05:00
Quallenauge 101115c93c bpf: Force enable bpf.
Some variants of this target were launched with Android L (kernel 3.10).
This causes the BpfUtils to not use bpf.
Since we upgraded to kernel 4.9, this detection doesn't work,
but on R there's an switch, set via property ro.kernel.ebpf.supported
to force enable 4.9 bpf mode.

Change-Id: I263e3aaa5a9a63cd027d8750c7cad0f34f432ed2
2022-03-21 12:17:36 -05:00
Nolen Johnson ada847e35b properties: Remove deprecated ro.gamestream.display.optimize
* No longer on foster/darcy/mdarcy stock 8.x or 9.0.0.

Change-Id: I4b4e347a3a6c1ea40b6926bea08bba80a93c2390
2022-03-02 15:10:59 -06:00
Nolen Johnson fc1340a0d2 properties: Split per partition
* `PRODUCT_PROPERTY_OVERRIDES` now tosses things on
  `/vendor` by default. We need to dictate where they
  should end up.

Change-Id: I4fa9639f127ec54d5e7d015db5b804815b43dfde
2022-03-02 14:36:29 -06:00