Compare commits

17 Commits
Author SHA1 Message Date
duckyduckg 99dacc25a6 sm8150-common: Regenerate
Change-Id: If8e819616fe2425379a687a9dcec2e706933459a
2026-10-01 09:01:30 +05:00
Srinivas Ramana e7c22b8e17 sm8150-common: msm_irqbalance: Correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
2026-10-01 08:55:03 +05:00
duckyduckg 6dd86febf6 sm8150-common: Patch kona codec2 for legacy 128x32 alignment
Note: values were taken from stock msmnile codec2 using ghidra.

on kona platforms or newer or older, if IsCameraCustomFormat fails c2 enforces 512x512 alignment.
after this patch with IsCameraCustomFormat disabled on legacy CamX,
incoming buffers retain standard Venus 128x32 alignment.

ONCE again patched using my shitty py script instead of extract-files.py

1. qc2::QC2Buffer::Graphic::GetAlignedHeight
   - File_Offset: 0x138D2
   - Assembly:
     0x138D2: 00 F2 FF 11 -> 00 F2 1F 01  ; addw r1, r0, #0x1f
     0x138D6: 40 F2 FF 12 -> 40 F2 1F 02  ; movw r2, #0x1f
   - ALIGN(h, 512) -> ALIGN(h, 32)

2. qc2::QC2Buffer::Graphic::GetAlignedWidth
   - File_Offset: 0x1397C
   - Assembly:
     0x1397C: 00 F2 FF 11 -> 00 F2 7F 01  ; addw r1, r0, #0x7f
     0x13980: 40 F2 FF 12 -> 40 F2 7F 02  ; movw r2, #0x7f
   - ALIGN(w, 512) -> ALIGN(w, 128)

Change-Id: I154b556cbefdbbd47a6c315d38fb468aed39f1b7
Signed-off-by: duckyduckg <duckyduckg65@gmail.com>
2026-09-29 04:20:57 +05:00
Michael Bestas ea25de8f25 sm8150-common: Patch some blobs to depend on libtinyxml2-v34.so
libtinyxml2 10.1.0 update which landed in BP4A contains ABI
incompatible changes which cause runtime crashes.

Change-Id: Icc67da5f754b0bb30dce6192b1e520fdf1349ac5
2026-09-29 02:22:26 +05:00
Bruno Martins 5b88892ab4 sm8150-common: Use sm8250 HALs for vendor namespace imports
Change-Id: I15cee4a9a80c2ba564315e0bf2e22b62f966e973
2026-09-29 01:16:36 +05:00
Michael Bestas b16675c377 sm8150-common: Update WFD system blobs from marvel_g A171WEH.20
Change-Id: Idf3ac9e2f83d50b3d0378f3c0c18571e480cc9db
2026-09-29 01:16:29 +05:00
duckyduckG 395875914c sm8150-common: Update DRM stack from munch-user V816.0.9.0.ULMMIXM
Secure content alongside kernel 4.19 vidc is fixed so update it from munch-user
it also support SMMU VA mappings!!!!!!!!!!!!! which is perfect.

Change-Id: I3eccf092aca3ef3a9bed95c2e5673259bfc4ac9e
2026-09-29 01:15:26 +05:00
duckyduckG 92058926d4 sm8150-common: Update codec2 stack from from munch-user V816.0.9.0.ULMMIXM
Change-Id: I29b3bdf548aaf45df84ed1ab4ffad3ea560de807
2026-09-29 01:15:20 +05:00
duckyduckG aea6bb9589 sm8150-common: update qseecom from munch-user V816.0.9.0.ULMMIXM
Change-Id: Id8e4b7b49f67d5237862e9f13467fe4ead582b0e
2026-09-29 01:13:19 +05:00
duckyduckG b40d681d39 sm8150-common: update adreno blobs from FP4.QREL.15.19.1
* also kang QSPM blobs needed by adreno blobs.

Change-Id: I5151f087fa8c76e523f3b91c3d27b244084a5eb5
2026-09-29 01:12:30 +05:00
duckyduckG c67056ab88 sm8150-common: update display blobs from FP4.QREL.15.19.1
Change-Id: I2179c5d573f1e8cba8b92776bede893de875fd60
2026-09-29 00:57:11 +05:00
Yumi Yukimura 30fee71634 sm8150-common: Set subsystem restart level with ssr_setup util
Change-Id: I9b2e3e7c0212fd14c0ac00958a02b43217b1fd5e
2026-09-28 04:34:07 +05:00
LuK1337 bb3c8e0eed sm8150-common: Shim WFD with libinput_shim
Change-Id: I5c64d4fb6608cf6134ee7647802d9befc26fc8fb
2026-09-28 04:29:16 +05:00
basamaryan 36314e874b sm8150-common: Update WFD system blobs from dada OS2.0.217.0.WOCMIXM
Change-Id: I95dfb07cae97f3c8716a7cb6d87a7081de986748
2026-09-28 04:27:55 +05:00
Bruno Martins 9edebee012 sm8150-common: Declare WFD lib as symlink during extraction
Change-Id: I83e3ec03e1ddc58f3a7df008789b1e31584946e1
2026-09-28 04:19:55 +05:00
Sebastiano Barezzi eea30efdd3 sm8150-common: Replace writepid with task_profiles command
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
2026-09-15 23:03:07 +02:00
Sebastiano Barezzi 748d662bf8 sm8150-common: Regenerate
Change-Id: Id426e0a27e0c639603b5aeb12da87a4cbfd7b945
2026-09-15 23:02:32 +02:00
155 changed files with 677 additions and 186 deletions

No files matched your search

+467 -97
View File
@@ -5,7 +5,7 @@
soong_namespace {
imports: [
"device/xiaomi/sm8150-common",
"hardware/qcom-caf/sm8150",
"hardware/qcom-caf/sm8250",
"hardware/qcom-caf/wlan",
"hardware/xiaomi",
"vendor/qcom/opensource/commonsys-intf/display",
@@ -585,6 +585,7 @@ cc_prebuilt_library_shared {
"liblog",
"libgsl",
"libutils",
"libnativewindow",
"libvndksupport",
"libgralloc.qti",
"libgralloctypes",
@@ -608,6 +609,7 @@ cc_prebuilt_library_shared {
"liblog",
"libgsl",
"libutils",
"libnativewindow",
"libvndksupport",
"libgralloc.qti",
"libgralloctypes",
@@ -717,6 +719,12 @@ cc_prebuilt_library_shared {
],
shared_libs: [
"libcutils",
"libhardware",
"libutils",
"libhidlbase",
"libhidlmemory",
"android.hidl.memory@1.0",
"vendor.qti.qspmhal@1.0",
"libdl",
"libz",
"liblog",
@@ -731,6 +739,12 @@ cc_prebuilt_library_shared {
],
shared_libs: [
"libcutils",
"libhardware",
"libutils",
"libhidlbase",
"libhidlmemory",
"android.hidl.memory@1.0",
"vendor.qti.qspmhal@1.0",
"libdl",
"libz",
"liblog",
@@ -2211,6 +2225,49 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.qspmhal@1.0",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/vendor.qti.qspmhal@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.qspmhal@1.0.so",
],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "sound_trigger.primary.msmnile",
owner: "xiaomi",
@@ -2728,7 +2785,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "libqcodec2",
name: "libqcodec2_base",
owner: "xiaomi",
strip: {
none: true,
@@ -2736,14 +2793,136 @@ cc_prebuilt_library_shared {
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2.so",
"proprietary/vendor/lib/libqcodec2_base.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqdMetaData",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_basecodec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_basecodec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_core",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_core.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_platform",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_platform.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libjsoncpp",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_utils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_utils.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_platform",
"libhidlbase",
"android.hardware.graphics.mapper@3.0",
"libc++",
@@ -2758,6 +2937,38 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_v4l2codec",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/vendor/lib/libqcodec2_v4l2codec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "32",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqtigef",
owner: "xiaomi",
@@ -5281,6 +5492,35 @@ cc_prebuilt_library_shared {
"proprietary/vendor/lib64/libdisplayqos.so",
],
shared_libs: [
"libdisplaydebug",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libdisplayskuutils",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libdisplayskuutils.so",
],
shared_libs: [
"liblog",
"libcutils",
"libutils",
"libdisplaydebug",
"libc++",
"libc",
"libm",
@@ -5344,10 +5584,9 @@ cc_prebuilt_library_shared {
"liblog",
"libbinder",
"libdrm",
"libtinyxml2",
"libtinyxml2-v34",
"libhidlbase",
"android.frameworks.sensorservice@1.0",
"libtinyxml",
"libc++",
"libc",
"libm",
@@ -5562,6 +5801,7 @@ cc_prebuilt_library_shared {
"libtinyxml2_1",
"libcutils",
"libutils",
"libdisplayskuutils",
"libc++",
"libc",
"libm",
@@ -7571,33 +7811,6 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsdedrm",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libsdedrm.so",
],
shared_libs: [
"libdrm",
"libdrmutils",
"libdisplaydebug",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libsdm-color",
owner: "xiaomi",
@@ -7729,6 +7942,7 @@ cc_prebuilt_library_shared {
"libsdmutils",
"libdisplayqos",
"libsdm-color",
"libdisplayskuutils",
"libc++",
"libc",
"libm",
@@ -10684,6 +10898,38 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "vendor.qti.qspmhal@1.0-impl",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/vendor.qti.qspmhal@1.0-impl.so",
],
shared_libs: [
"libutils",
"vendor.qti.qspmhal@1.0",
"android.hidl.allocator@1.0",
"android.hidl.memory@1.0",
"libhidlbase",
"libhidlmemory",
"liblog",
"libcutils",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
prebuilt_rfsa {
name: "vendor_lib_rfsa_adsp_capi_v2_aptX_CLHDAD_Encoder_so",
filename: "capi_v2_aptX_CLHDAD_Encoder.so",
@@ -10754,47 +11000,6 @@ cc_prebuilt_library_shared {
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmmosal",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm: {
srcs: [
"proprietary/system_ext/lib/libmmosal.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libmmosal.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "both",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "com.qualcomm.qti.dpm.api@1.0",
owner: "xiaomi",
@@ -11168,6 +11373,33 @@ cc_prebuilt_library_shared {
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmmosal",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/libmmosal.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
system_ext_specific: true,
}
cc_prebuilt_library_shared {
name: "libmmparser_lite",
owner: "xiaomi",
@@ -11347,7 +11579,6 @@ cc_prebuilt_library_shared {
"libjpeg",
"libpiex",
"libpng",
"libheif",
"libnativewindow",
"libEGL",
"libGLESv2",
@@ -11413,7 +11644,7 @@ cc_prebuilt_library_shared {
"vendor.display.config@2.0",
"libdisplayconfig.system.qti",
"libbinder_ndk",
"vendor.qti.hardware.display.config-V5-ndk",
"vendor.qti.hardware.display.config-V16-ndk",
"libc++",
"libc",
"libm",
@@ -11441,6 +11672,7 @@ cc_prebuilt_library_shared {
"libmmosal",
"liblog",
"libutils",
"libwfddisplayconfig",
"libc++",
"libc",
"libm",
@@ -11534,6 +11766,7 @@ cc_prebuilt_library_shared {
"android.hardware.graphics.allocator@4.0",
"android.hardware.graphics.allocator-V2-ndk",
"libbinder_ndk",
"libaudiobase",
"libc++",
"libc",
"libm",
@@ -11558,20 +11791,15 @@ cc_prebuilt_library_shared {
"proprietary/system_ext/lib64/libwfdnative.so",
],
shared_libs: [
"libinput_shim",
"libandroid_runtime",
"libgui",
"libui",
"libbinder",
"libinput",
"libnativehelper",
"libutils",
"liblog",
"libwfdclient",
"libhidlbase",
"libhidlmemory",
"libbinder",
"libgui",
"android.hidl.base@1.0",
"android.hidl.token@1.0-utils",
"android.hardware.graphics.common@1.0",
"android.hardware.graphics.bufferqueue@1.0",
"android.hardware.graphics.bufferqueue@2.0",
@@ -11605,6 +11833,7 @@ cc_prebuilt_library_shared {
"libmmosal",
"libwfdcommonutils",
"libwfdconfigutils",
"libwfdmminterface",
"liblog",
"libc",
"libm",
@@ -11642,14 +11871,15 @@ cc_prebuilt_library_shared {
"libwfdmminterface",
"libmedia_helper",
"libaudioclient",
"libaudiobase",
"libaudiofoundation",
"audioclient-types-aidl-cpp",
"android.media.audio.common.types-V4-cpp",
"android.media.audio.common.types-V5-cpp",
"libwfdmmsrc_system",
"libwfdavenhancements",
"libhidlbase",
"vendor.qti.hardware.wifidisplaysession@1.0",
"vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
"vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
"libbinder_ndk",
"libc++",
"libc",
@@ -11912,7 +12142,7 @@ cc_prebuilt_library_shared {
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk",
name: "vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk",
owner: "xiaomi",
strip: {
none: true,
@@ -11920,7 +12150,7 @@ cc_prebuilt_library_shared {
target: {
android_arm64: {
srcs: [
"proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V1-ndk.so",
"proprietary/system_ext/lib64/vendor.qti.hardware.wifidisplaysession_aidl-V2-ndk.so",
],
shared_libs: [
"libbinder_ndk",
@@ -12199,6 +12429,15 @@ prebuilt_etc_xml {
soc_specific: true,
}
prebuilt_etc_xml {
name: "c2_manifest_vendor.xml",
owner: "xiaomi",
src: "proprietary/vendor/etc/vintf/manifest/c2_manifest_vendor.xml",
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
prebuilt_etc_xml {
name: "manifest_android.hardware.drm@1.3-service.widevine.xml",
owner: "xiaomi",
@@ -12741,6 +12980,8 @@ cc_prebuilt_binary {
"vendor.display.color@1.1",
"vendor.display.color@1.2",
"vendor.display.color@1.3",
"vendor.display.color@1.4",
"vendor.display.color@1.5",
"vendor.display.postproc@1.0",
"libsdm-disp-vndapis",
"libc++",
@@ -12988,20 +13229,19 @@ cc_prebuilt_binary {
"proprietary/vendor/bin/hw/vendor.qti.media.c2@1.0-service",
],
shared_libs: [
"libqcodec2",
"android.hardware.media.c2@1.0",
"android.hardware.media.omx@1.0",
"liblog",
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libqcodec2_platform",
"libqcodec2_core",
"android.hardware.media.c2@1.0",
"libavservices_minijail",
"libbinder",
"libhidlbase",
"libhidltransport",
"libhwbinder",
"libcodec2_vndk",
"libstagefright_omx",
"libstagefright_xmlparser",
"libutils",
"libvndksupport",
"libcodec2_hidl@1.0",
"libc++",
@@ -13635,6 +13875,36 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "qdcmss",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/qdcmss",
],
shared_libs: [
"libcutils",
"libutils",
"libqservice",
"libsdmutils",
"libbinder",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "qrtr-cfg",
owner: "xiaomi",
@@ -13902,6 +14172,34 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "ssr_setup",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/ssr_setup",
],
shared_libs: [
"libcutils",
"libutils",
"libmdmdetect",
"liblog",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "tftp_server",
owner: "xiaomi",
@@ -13985,6 +14283,36 @@ cc_prebuilt_binary {
soc_specific: true,
}
cc_prebuilt_binary {
name: "vendor.qti.qspmhal@1.0-service",
owner: "xiaomi",
target: {
android_arm64: {
srcs: [
"proprietary/vendor/bin/vendor.qti.qspmhal@1.0-service",
],
shared_libs: [
"vendor.qti.qspmhal@1.0",
"vendor.qti.qspmhal@1.0-impl",
"libhidlbase",
"liblog",
"libutils",
"libavservices_minijail",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
strip: {
none: true,
},
prefer: true,
soc_specific: true,
}
cc_prebuilt_binary {
name: "vppservice",
owner: "xiaomi",
@@ -14230,6 +14558,48 @@ install_symlink {
symlink_target: "/system_ext/lib64/libwfdnative.so",
}
install_symlink {
name: "vendor_lib_libEGL_adreno_so",
soc_specific: true,
installed_location: "lib/libEGL_adreno.so",
symlink_target: "/vendor/lib/egl/libEGL_adreno.so",
}
install_symlink {
name: "vendor_lib_libGLESv2_adreno_so",
soc_specific: true,
installed_location: "lib/libGLESv2_adreno.so",
symlink_target: "/vendor/lib/egl/libGLESv2_adreno.so",
}
install_symlink {
name: "vendor_lib_libq3dtools_adreno_so",
soc_specific: true,
installed_location: "lib/libq3dtools_adreno.so",
symlink_target: "/vendor/lib/egl/libq3dtools_adreno.so",
}
install_symlink {
name: "vendor_lib64_libEGL_adreno_so",
soc_specific: true,
installed_location: "lib64/libEGL_adreno.so",
symlink_target: "/vendor/lib64/egl/libEGL_adreno.so",
}
install_symlink {
name: "vendor_lib64_libGLESv2_adreno_so",
soc_specific: true,
installed_location: "lib64/libGLESv2_adreno.so",
symlink_target: "/vendor/lib64/egl/libGLESv2_adreno.so",
}
install_symlink {
name: "vendor_lib64_libq3dtools_adreno_so",
soc_specific: true,
installed_location: "lib64/libq3dtools_adreno.so",
symlink_target: "/vendor/lib64/egl/libq3dtools_adreno.so",
}
cc_prebuilt_library_shared {
name: "vendor.qti.hardware.fm@1.0-impl",
owner: "xiaomi",
Binary file not shown.
Binary file not shown.
Binary file not shown.
+41 -13
View File
@@ -47,10 +47,15 @@
<!-- AVC Profile 0 - Constrained Baseline,
1 - Constrained High,
2 - Constrained High2,
3 - BaseLine
4 - Main
3 - BaseLine,
4 - Main,
5 - High
HEVC Profile 0 - Main
1 - Main444
2 - SCC8b444
3 - MAIN44410b
4 - MAIN10b
5 - MAIN_STILL
-->
<!-- Level 0 - 3.1,
@@ -69,7 +74,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -84,7 +88,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -99,7 +102,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -114,7 +116,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -129,7 +130,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -144,7 +144,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -159,7 +158,6 @@
<HorizontalResolution>4096</HorizontalResolution>
<VerticalResolution>2160</VerticalResolution>
<Latency>0</Latency>
<MinimumSliceSize>0</MinimumSliceSize>
<SliceEncodingParams>0</SliceEncodingParams>
<FrameRateControlSupp>1</FrameRateControlSupp>
<VideoFps>60</VideoFps>
@@ -168,6 +166,36 @@
</VideoCodec7>
</VideoFormats>
<!--
Enable HDR (High Dynamic Range) Support
This configuration controls whether the WFD (WiFi Display) session
supports HDR content transmission and processing.
Values:
0: Disabled
1: Enabled
-->
<EnableHDRInWfd>0</EnableHDRInWfd>
<!--
HDR format capabilities
HdrType : 1 = HDR10, 2 = HDR10 Plus (query from Display)
ColorStandard : 8 -> BT.2020
ColorTransfer : 4 -> ST2084
ColorRange : 1 -> Full
PeakBrightness: 4000 -> peak brightness index (query from Display)
-->
<HdrFormat>
<CodecName>H.265</CodecName>
<Profile>4</Profile>
<Level>4</Level>
<HdrType>2</HdrType>
<ColorStandard>8</ColorStandard>
<ColorTransfer>4</ColorTransfer>
<ColorRange>1</ColorRange>
<PeakBrightness>4000</PeakBrightness>
</HdrFormat>
<!--
Aux streaming is new addition
This is added for Direct streaming
@@ -757,11 +785,11 @@
<!--
Compensation delay for audio
This is maintain good AV sync in the mux TS A + V stream Recommended
value is 150 msec arrived at this number after fine tuning OEMs can
change this value in case they want
This is to maintain good AV sync in the mux TS A + V stream.
Recommended value is 150us arrived at this number after fine tuning.
OEMs can change this value in case they want.
-->
<AudioAVSyncDelay>-150</AudioAVSyncDelay>
<AudioAVSyncDelayUs>-150</AudioAVSyncDelayUs>
<!--
To disable/enable AV Sync - 1 or 0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
@@ -23,5 +23,5 @@ service vendor.drm-widevine-hal-1-3 /vendor/bin/hw/android.hardware.drm@1.3-serv
user media
group media mediadrm drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
task_profiles ProcessCapacityHigh HighPerformance
capabilities SYS_NICE
@@ -7,7 +7,7 @@ service neuralnetworks_hal_service /vendor/bin/hw/android.hardware.neuralnetwork
class hal
user system
group system
writepid /dev/stune/nnapi-hal/tasks
task_profiles NNApiHALPerformance
#Below changes moved from init.target.rc as part of go/FR53051
on post-fs-data
+12
View File
@@ -0,0 +1,12 @@
service qdcmss /vendor/bin/qdcmss
class late_start
user system
group system graphics
socket qdcmsocket stream 0660 system adb
disabled
on property:vendor.display.qdcm_socket_service=1
start qdcmss
on property:vendor.display.qdcm_socket_service=0
stop qdcmss
@@ -3,5 +3,5 @@ service vendor-qti-media-c2-hal-1-0 /vendor/bin/hw/vendor.qti.media.c2@1.0-servi
user mediacodec
group mediadrm camera drmrpc system
ioprio rt 4
writepid /dev/cpuset/foreground/tasks
task_profiles ProcessCapacityHigh HighPerformance
@@ -0,0 +1,15 @@
#==============================================================================
# vendor.qti.qspmhal@1.0-service.rc
#
# Copyright (c) 2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
#===============================================================================
service qspmhal /vendor/bin/vendor.qti.qspmhal@1.0-service
class hal
user system
group system
on post-fs-data
#Create QSPM-hal deamon related dirs
mkdir /data/vendor/gaming 0770 root system
+1 -1
View File
@@ -29,4 +29,4 @@
PRIO=1,1,1,1,0,0,0,0
#arch_timer, arm-pmu, arch_mem_timer
IGNORED_IRQ=19,21,39
IGNORED_IRQ=19,21,38
@@ -1,4 +1,4 @@
###################################################################################################
###################################################################################################
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
@@ -87,3 +87,6 @@ geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
#video process sys
inotify_add_watch: 1
@@ -0,0 +1,13 @@
#Copyright (c) 2019-2020 Qualcomm Technologies, Inc.
#All Rights Reserved.
#Confidential and Proprietary - Qualcomm Technologies, Inc.
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,9 +0,0 @@
# device specific syscalls
pselect6: 1
eventfd2: 1
sendto: 1
recvfrom: 1
_llseek: 1
sysinfo: 1
getcwd: 1
getdents64: 1
@@ -1,10 +1,10 @@
# Copyright (c) 2020-2021 Qualcomm Technologies, Inc.
# Copyright (c) 2020 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc
#
# Not a contribution.
#
# Copyright (C) 2019 The Android Open Source Project
# Copyright (C) 2018 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -18,62 +18,61 @@
# See the License for the specific language governing permissions and
# limitations under the License.
mmap2: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
munmap: 1
futex: 1
#prctl: arg0 == PR_SET_VMA || arg0 == PR_GET_DUMPABLE
prctl: 1
#ioctl: arg1 == BINDER_VERSION || arg1 == BINDER_WRITE_READ || arg1 == BINDER_SET_MAX_THREADS
ioctl: 1
close: 1
futex: 1
openat: 1
mremap: 1
fstat64: 1
readlinkat: 1
pread64: 1
fstatfs64: 1
clock_gettime: 1
fstatat64: 1
read: 1
write: 1
fcntl64: 1
ppoll: 1
faccessat: 1
rt_sigaction: 1
getuid32: 1
madvise: 1
rt_sigprocmask: 1
getuid: 1
writev: 1
personality: 1
getrandom: 1
gettimeofday: 1
#set_tls: 1
statfs64: 1
ugetrlimit: 1
execve: 1
connect: 1
socket: arg0 == AF_UNIX
getpid: 1
gettid: 1
nanosleep: 1
restart_syscall: 1
set_tid_address: 1
open: 1
exit: 1
sched_getscheduler: 1
exit_group: 1
sigaltstack: 1
clone: 1
newfstatat: 1
fstat: 1
rt_sigaction: 1
prctl: 1
mmap: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
close: 1
rt_sigreturn: 1
setpriority: 1
getpriority: 1
timer_create: 1
timer_delete: 1
timer_settime: 1
rt_sigtimedwait: 1
getdents64: 1
dup: 1
restart_syscall: 1
exit: 1
exit_group: 1
mprotect: 1
faccessat: 1
getrlimit: 1
read: 1
lseek: 1
getdents64: 1
write: 1
readlinkat: 1
fstatfs: 1
pread64: 1
munmap: 1
mremap: 1
dup: 1
renameat: 1
unlinkat: 1
madvise: 1
mprotect: arg2 in ~PROT_EXEC || arg2 in ~PROT_WRITE
fstat: 1
clock_gettime: 1
socket: arg0 == AF_UNIX
rt_sigprocmask: 1
connect: 1
getrandom: 1
fcntl: 1
execve: 1
getpid: 1
set_tid_address: 1
sched_getscheduler: 1
sigaltstack: 1
sched_getaffinity: 1
pipe2: 1
# crash dump policy additions
sigreturn: 1
gettid: 1
recvmsg: 1
process_vm_readv: 1
tgkill: 1
process_vm_readv: 1
rt_tgsigqueueinfo: 1
geteuid32: 1
getgid32: 1
getegid32: 1
getgroups32: 1
@@ -0,0 +1,40 @@
<!-- Copyright (c) 2018 - 2019, The Linux Foundation. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of The Linux Foundation nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<manifest version="1.0" type="device">
<!-- Codec2 HAl service -->
<hal format="hidl">
<name>android.hardware.media.c2</name>
<transport>hwbinder</transport>
<version>1.0</version>
<interface>
<name>IComponentStore</name>
<instance>default</instance>
<instance>software</instance>
</interface>
</hal>
</manifest>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loaded 100 of 155 files, more files were not shown because too many files have changed in this diff. Show more