universal7885: Use linaro BSP

[ K9100ii - Notes:
  - BOARD_HWJPEG_ANDROID_VERSION needs setting in variant device trees
  - libcsc, libgiantmscl and libhwjpeg blobs need to be removed from
    device-specific trees - Now built from source
  - Switched TARGET_BOOTLOADER_BOARD_NAME, used to derive the
    "gralloc.exynos7904" name, to exynos7904, to retain the same name as
    the proprietary blob and match newer devices
  - Renamed sysfs_graphics context to sysfs_brightness in sepolicy
  - This happens to get rid of video recording frame drops on A40 ]

Change-Id: I67c078e3ea2fab1da19029ca3e97ce968cad77ad
This commit is contained in:
Tim Zimmermann 2022-11-17 20:13:37 +01:00 committed by roynatech2544
commit d105adfc53
No known key found for this signature in database
GPG key ID: 389DAC92CAECBBCC
8 changed files with 38 additions and 26 deletions

View file

@ -32,10 +32,12 @@ allow hal_graphics_composer_default sysfs_decon:file r_file_perms;
allow hal_graphics_composer_default sysfs_ss_writable:dir r_dir_perms;
allow hal_graphics_composer_default sysfs_ss_writable:file r_file_perms;
get_prop(hal_graphics_composer_default, vendor_hwc_prop)
# /dev/ion/
allow hal_graphics_composer_default ion_device:chr_file rw_file_perms;
allow hal_graphics_composer_default vendor_surfaceflinger_vndservice:service_manager { add find };
allow hal_graphics_composer_default sysfs_brightness:file rw_file_perms;
allow hal_graphics_composer_default sysfs_brightness:dir search;
get_prop(hal_graphics_composer_default, vendor_camera_prop)

View file

@ -1,9 +0,0 @@
# hal_light_default.te
# /sys/devices/platform/panel@0/backlight/panel/brightness
# /sys/devices/platform/panel@0/backlight/panel/max_brightness
allow hal_light_default sysfs_backlight_writable:file rw_file_perms;
allow hal_light_default sysfs_graphics:dir search;
allow hal_light_default sysfs_graphics:file rw_file_perms;
allow hal_light_default sysfs_virtual:dir search;
allow hal_light_default sysfs_virtual:file rw_file_perms;

View file

@ -9,7 +9,6 @@ vendor_internal_prop(vendor_gps_prop)
vendor_internal_prop(vendor_nfc_prop)
vendor_internal_prop(vendor_wlbtd_prop)
vendor_internal_prop(vendor_wlan_prop)
vendor_internal_prop(vendor_hwc_prop)
vendor_internal_prop(vendor_cbd_prop)
vendor_internal_prop(vendor_radio_prop)
vendor_internal_prop(vendor_fastcharge_prop)

View file

@ -64,9 +64,6 @@ vendor.wlbtd. u:object_r:vendor_wlbtd_prop:s0
# Wlan
vendor.wlan. u:object_r:vendor_wlan_prop:s0
# Hwc
hwc.exynos.vsync_mode u:object_r:vendor_hwc_prop:s0
# TEEGRIS
vendor.secureos. u:object_r:vendor_secureos_prop:s0
vendor.tzdaemon u:object_r:vendor_tzdaemon_prop:s0