* Old rpi_backlight driver is no longer used on recent kernel versions.
Regulator driver is used for backlight instead.
* Change the backlight path and implement scaling to support the official
Raspberry Pi 7" DSI Touch Display & Touch Display 2.
* The original Touch Display has max brightness of 255 while the new Touch
Display 2 has 31.
* This gets built as a dependency to minigbm gbm_mesa_driver's
libgbm_mesa_wrapper but add it here for completeness.
* Move Mesa gbm libraries under separate section.
Fields of 'ctx' are accessed just after it is freed.
Test: manual
Change-Id: I7c3786db9ae618d84149874c72662e4d105765b4
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
'hdmicec_close' may be called after exit_fd initialized,
but before ctx->thread created.
This patch checks it for NULL before join.
Test: manual
Change-Id: I1c57be56f2cd9956044d9a48fea914b1c1fd0132
Signed-off-by: Oleg Lyovin <ovlevin@salutedevices.com>
* MediaProvider changes in AOSP 14 QPR3 cause a crash if external USB
storage device is connected on the first boot.
* D MediaProvider: Backup is present for external_primary
E FuseDaemon: Leveldb setup is missing for: external_primary
I FuseDaemon: ReadFilePathsFromLevelDb: Missing leveldb connection, attempting setup.
E FuseDaemon: Leveldb setup is missing for: internal
E FuseDaemon: Leveldb connection failed for :internal with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-internal/LOCK: Permission denied
E FuseDaemon: Leveldb setup is missing for: external_primary
E FuseDaemon: Leveldb connection failed for :external_primary with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-external_primary/LOCK: Permission denied
E FuseDaemon: Leveldb setup is missing for: ownership
E FuseDaemon: Leveldb connection failed for :ownership with error:IO error: /storage/emulated/0/.transforms/recovery/leveldb-ownership/LOCK: Permission denied
F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 in tid 12344 (fg), pid 12323 (rs.media.module)
* Otherwise QS tile changes in AOSP 14 QPR3 cause a crash.
* E DatabaseUtils: java.lang.IllegalArgumentException: The value of your setting [sysui_qs_tiles] is too long. The max length allowed for the string is 32768.
* AOSP14 QPR2 (android-14.0.0_r29) introduced some (bionic?) changes that
fail to boot on rpi4 with cortex-a72 CPU variant.
* Neither cortex-a72/cortex-a72 nor cortex-a53/generic TARGET_CPU_VARIANT/
TARGET_2ND_CPU_VARIANT combinations seem to work. Use generic CPU variant.
* Fixes https://github.com/raspberry-vanilla/android_local_manifest/issues/70.