Mostly this change just collects existing GPU-related settings into one
place so they can be found more easily. It also removes some vestigial
and redundant settings.
* Renderscript is deprecated and we never planned to include the RS HAL.
But it was copied in (twice) from some previous device. Remove it and
things that only the RS HAL depends on.
* The separate "*32" PRODUCT_PACKAGES entries were left over from when
prebuilts had separate prebuilts modules for 32-bit and 64-bit
variants of the package, instead of using a single multilib package.
Bug: 188672865
Test: boot to home, check all moved properties are still correct
Change-Id: Id9a9152b3b4c3a7167f147558f5f01da7f940311
Current mid cpu max clock is constrained by little cpu cap.
The cpu cluster clock constraint is going to be significantly reduced,
so put the current mid cap to avoid mid cpu regression.
Further fine tuning on the cap will be continued later.
Bug: 186564130
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I1e4568bb6e6167c91d8f98da337b1dd849a278bb
Revert "Directly link Lyric into GCH."
Revert "Adjust reference to libgoogle_camera_hal_tests."
Revert "Only compile camera HAL tests for primary arch."
Revert "Update commented-out GCH configuration for zebu201."
Revert "Adjust reference to libgoogle_camera_hal_tests."
Revert "Changes to support direct linking of Lyric into GCH."
Revert "Update GCH configuration for coral."
Revert submission 14596214-gch_dlopen
Reason for revert: Breaks master-without-vendor because of hardware/google/camera -> vendor/google/services/LyricCameraHAL/src dependency that needs to be broken somehow.
Bug: 188731034
Reverted Changes:
I7f1780f25:Adjust reference to libgoogle_camera_hal_tests.
Ief35ee657:Adjust reference to libgoogle_camera_hal_tests.
I9070712e1:Update commented-out GCH configuration for zebu201...
I33c989b24:Adjust reference to libgoogle_camera_hal_tests.
I8250a5874:Update GCH configuration for coral.
I76cb1957a:Adjust reference to libgoogle_camera_hal_tests.
I628ac0367:Use a single toplevel library for Lyric.
I647189d9f:Only compile camera HAL tests for primary arch.
I72cf7918b:Changes to support direct linking of Lyric into GC...
I556322b01:Update GCH configuration for gs101.
I43f7f675e:Directly link Lyric into GCH.
Change-Id: Ia72c97f4044ecac8bda438fdb917a978643cbbfe
Prefer high cap will choose the mid / high cores when possible with
consideration of energy efficiency.
Running task on high cores with low clock is more efficient than running
at little core with high clock.
This hint also addresses CTS issues with keeping latency_sensitive = 1.
(equivalent to prefer idle)
This hint adds:
1) Enable prefer_high_cap of camera vendor group
2) Set high_capacity_start_cpu to 4
4) Set MemFreq floor
5) Change camera-daemon/cpu.uclamp.latency_sensitive owner to root
Bug: 186564130
Test:
android.hardware.camera2.cts.RobustnessTest#testAeAndAfCausality (5/5)
android.hardware.cts.CameraTest#testPreviewCallback (5/5)
android.hardware.camera2.cts.CameraDeviceTest#testCameraDeviceRepeatingBurst (5/5)
android.hardware.cts.CameraTest#testFocusDistances (3/6). (3/6) without CL.
*****************************************************************
raven Camera CTS Test Results
*****************************************************************
Tests Passed: 217, Failed: 0, Not found: 0, Status unknown: 0
Change-Id: Ia2abb0eb9c57fa05c4db7bf1d02053e303301781
This reverts commit 3a0efffdbc722cb8a9684ce3c0080d2476c0abb8.
Reason for revert: This CL causes performance/frame drop issues which leads to more CTS flakiness.
Bug: 188462637
Bug: 185233206
Test: Camera CTS
Change-Id: I1796ba29da0e2c19874531bda8c21bc10e248055
During streaming high fps mode, the BW is high and lead to CPU memory
high latency. This hint tries to avoid raising the CPU clock
at the condition when CPU is waiting for data access.
Bug: 184583714
Test:
4k60: 59+fps
1080p60fps: 58fps (b/186806120, disable eis can get 60fps)
Power benefit 80-100mW
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I3849dfd170085f7e10b5c53d27af353026a4093a
edgetpu_service was splitted into two in previous change:
edgetpu_service and edgetpu_vendor_service, where the new
vendor service for vendor clients, and the old service keeps
serving app clients.
This change renamed the edgetpu_service into edgetpu_app_service
in the device.mk to make the naming clearer.
Bug: 188463446
Test: Oriole + GCA
Change-Id: I969e264a82a4ebc77407a0eee45fe6be6a3a2ba8
Bug: 188110823
Test: Ensure that Dwell-Defend can trigger with 'setprop
vendor.battery.defender.threshold 61'
Change-Id: I4782e2c387b147fc48cf4134d27af8675964dc44
Bug: 187248983
Test: lshal debug android.hardware.sensors@2.0::ISensors/default
See b/187248983#comment2 for the output.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: I174af99b6f1318c7420e8e6c5d4ed745c2328cf0
set 2 to prevent limit battery level in unexpected testing situation
Bug: 180511460
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I9f0e66cf92b26c6946af162003378dcf0fd749f9
This changes PowerHAL to use a sysfs node created
specifically for use by PowerHAL when influencing
GPU clocks.
Bug: 188404581
Bug: 188034128
Signed-off-by: Sidath Senanayake <sidaths@google.com>
Change-Id: Icf120454ff908776c8717826689a0528aebf2f64
Only dump the latest dump files so that bugreport
size won't be increased by too much.
Test: build and capture bugreport
Bug: 178737594
Change-Id: I699ee76997c9107dad13419688f3c6c04551313b
SystemUI should always be speed-preopted on these devices.
Test: flashed, SysUI is preopted
Bug: 188465988
Change-Id: I990ce9d7d8c08b8e80fe4ca0b73c9eb339f065f3
Enable Page Pinner.
Bug: 187552095
Test: adb bugreport <zip> and confirmed it contains page_pinner
information at dumpstate_board.txt
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I509c5a825a798d8f1851cb65c5dd28dbddf11d33
Update manifest_64.xml for the following changes that were made to
manifest.xml:
I0babd05f17281406af10e4ea2435aca598910d36 Remove android.hardware.drm@1.0 HAL services
Iaafd526fc5a601f7e8189ec764399d99c660beb0 Replace the HIDL with AIDL for "android.hardware.memtrack"
I3f0d35647c0748d360b12d3be078d514f99d23d5 Update dumpstate HAL to V1.1
I9ba18473132f4bfa37a9fe2bbae4bb3dc015cc0e gs101: Remove sensor HAL 1.0 config
Bug: 188239794
Test: m out/target/product/oriole/obj/PACKAGING/check_vintf_all_intermediates/check_vintf_compatible.log
Change-Id: I92c313f7f31df7193ca8c67f56cd9f1317290948
Use bugreport flag to keep waking up the touch driver instead of
force active flag to prevent the kernel driver from blocking CPU
enter the suspend mode.
Bug: 183466375
Test: touch driver won't block system suspend.
Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I586173485bd41deac891b7edb366b51a99977434
This hint is set to indicate that the framework is likely to provide
a new frame soon. Therefore HWC has additional time to exit power
collapse. Set display_update_imminent_timeout_ms align to DPU
hibernation timeout.
Bug: 164411401
Test: systrace, testLayoutCacheLowHitrateFling
Change-Id: Idac388ac8700ed92e9620445a5038af54683df53
Bug: 188078957
Test: Verified using temporary log messages to confirm
file paths are formed correctly as otherwise to test queryMoistureDetectionStatus()
requires some mock circuits.
Signed-off-by: Manish Varma <varmam@google.com>
Change-Id: If5402d5999c77bf5a3431c70d800e50570b87c88
Bug: 187237947
Test: Verified basic sensor sampling function.
run atest VtsHalSensorsV2_1TargetTest and result is passed.
Signed-off-by: Rick Chen <rickctchen@google.com>
Change-Id: If081e8afbfb71b5f9276c5ef023a41e7b8590419
GCH toggle was modified from disable_lazy_hal to use_lazy_hal,
so the explicit assignment is no longer needed - the camera HAL
is eager by default.
Bug: 186175754
Test: build, camera preview
Change-Id: I5e4bede5083c5b0793f1b816a10ba9ae1d7bafc2
To prevent early presentation, SF does not allow to skip validate
if it is called more than one vsync period before the target present
time (ag/14508376). If we wake up SF too early, then skip validate
would be disabled and we would end up with 2 binder calls to composer
(validate + present) instead of just one (presentOrValidate)
Change-Id: I0ff779db088b27a9bf18e4ede459fca722eb944c
Test: run bouncy ball and collect systraces
Bug: 161945010
Bug: 187871031
Since cfs_rq clamp feature uses tg's value, align it with the
vendor_group setting.
Bug: 170508405
Test: build pass
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ie0c896de2022f435be5ea53ae3cecf5d80d2c067
This is to avoid camera crash on factory builds.
Because disabling LTM could improve camera stability before, we can consider disable it again for factory builds once b/187900993 is clarified.
Test: build pass, capture/recording with Octopus
Bug: 187900993
Change-Id: I00407aa6c7da8b54b009b11c897689e7e003fc2d