Commit graph

538 commits

Author SHA1 Message Date
jonerlin
7dcb8f0ad6 bt: add dumpstate for bcmbt dump
Bug: 299800496
Test: make bt_activity log, vendor snoop log and get bugreport
Change-Id: I0eb819d3b173b55c2c7024138d928813303827a5
2023-10-24 23:00:18 +08:00
Jenny Ho
6b7a4f992a pixelstats: add gmsr path
Bug: 300590097
Change-Id: Ia28da3be78089ddd5677aa378f91645943aeb1d4
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-10-24 03:41:55 +00:00
Treehugger Robot
ebafbec142 Merge "Update IDisplay to V10" into main 2023-10-24 02:40:50 +00:00
Karuna Ramkumar
66a72d841c Merge "Force zumapro to treat 170M as sRGB in SF" into main 2023-10-24 00:54:22 +00:00
Karuna Ramkumar
9cb411c39f Force zumapro to treat 170M as sRGB in SF
Bug: 305186028
Change-Id: I45165514423a3caf4d62d857d8420f60ecb19b2b
2023-10-23 12:51:09 -07:00
Hiroshi Akiyama
c4dc97b468 dumpstate: fix missing dump_power.rc in Android.bp
Bug: 305532134
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ie5009983f43fe28483d4c30d3fc405f475ee7e7c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-19 22:43:32 +00:00
Jenny Ho
41c52056f7 init: add battery persist folder
add persist battery folder for BatteryDefender

Bug: 303191266
Change-Id: I7e0e8721e57c356088a1ba09a15a9651aa80e30d
Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-10-19 15:44:04 +08:00
Joner Lin
4dbec98bf9 Merge "bt: set rfkill device nodes permission setting on early_boot stage" into main 2023-10-18 12:51:57 +00:00
Bruno BELANYI
f237e7e61a Merge "Enable HDR shader priming in SurfaceFlinger" into main 2023-10-18 12:44:07 +00:00
Jasmine Cha
fd7668ab35 audio: remove prescale for BT absolute volume
Bug: 302553525
Test: build pass

Change-Id: I6faaf05de767768f3063a68f8cad7905d9851f0e
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-18 13:23:33 +08:00
Guibing Cai
513b22bd07 Merge "zumapro: init: Enable powerhal" into main 2023-10-17 17:56:02 +00:00
jonerlin
369bd2f9ce bt: set rfkill device nodes permission setting on early_boot stage
move the rfkill permission setting from post-fs-data to early_boot
stage because the kernel/net/rfkill/rfkill.ko may not be loaded on
post-fs-data stage and cause the permission setting failed.

Bug: 305968983
Test: reboot and check Bluetooth status
Change-Id: I985f53076066f5b69b919285faa52d1bed6892a7
2023-10-17 16:49:15 +00:00
Jasmine Cha
77ea688a62 audio: fix typo
Bug: 305838207
Test: build pass/ recording runtime tuning

Change-Id: Ia6a1c4b1fb4fabfd3d36b1120f2801a1222c8404
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-10-17 15:13:34 +08:00
Bruno BELANYI
1822d52ec1 Enable HDR shader priming in SurfaceFlinger
Bug: 295257834
Test: manual - check that HDR shaders are generated after applying
Change-Id: I2e4753d2a2bc6408ac8ddf418de547b9d55aedce
2023-10-16 16:30:32 +00:00
Hiroshi Akiyama
1809b11768 Merge "Migrate dump_power.sh contents into cpp for improved speed" into main 2023-10-15 23:46:11 +00:00
Treehugger Robot
4791174347 Merge "zumapro: turn off page_pinner" into main 2023-10-14 01:22:54 +00:00
Jeremy DeHaan
397925e25d zumapro: HWC access to panel refresh_ctrl node
Bug: 300703751
Change-Id: Ia2acef4cc565382bcba6acce3e3a271ece1f96f0
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-10-14 00:12:19 +00:00
RD Babiera
52d276e80f Merge "usb: enable/disable displayport alt mode through enableUsbData" into main 2023-10-13 21:23:36 +00:00
Leo Chen
853b616f9e Update IDisplay to V10
Test: Build pass
Bug: 299410182
Change-Id: I5be13e87ea1a6d7fcdf0638af8b9fc4b694a2cab
Signed-off-by: Leo Chen <yinchiuan@google.com>
2023-10-12 07:47:56 +00:00
guibing
60b048c4b2 zumapro: init: Enable powerhal
Powerhal was disabled because the kernel vendor scheduler was disabled.
It caused log spamming since lots of procfs nodes were missing.
Now vendor schedule has been enabled, so enable the powerhal here.

Bug: 300514842
Test: manual device test.
Change-Id: Ia7407c15f68c31ede29442b4dc0e2777d749dcab
2023-10-11 17:42:05 +00:00
Minchan Kim
4406908b57 zumapro: turn off page_pinner
Disable page_pinner.

Bug: 304617279
Test: no page_pinner dir in debugfs
Change-Id: Ie2afe120068af3eb6bd469f3bb4ca27d46b7fec7
Signed-off-by: Minchan Kim <minchan@google.com>
2023-10-11 10:40:44 -07:00
Jason(HeWei) Sung
51c93ad105 zumapro: Remove zumapro_bringup wakelock
Bug: 300307024
Bug: 295590204
Change-Id: I510b9f252e0d70c3568b57613e90b98b5b09ca5d
Signed-off-by: Jason(HeWei) Sung <jasonsung@google.com>
2023-10-11 04:33:21 +00:00
Bruno BELANYI
a66a615737 zumapro: Bump deqp conformance level to 2023
It looks like this device configuration was copied before ag/22597180
was applied.

Zuma Pro counterpart for the following patch:
    zuma: Bump deqp conformance level to 2023
    Git hash f1c32332c3488e9c42008367e044f241f3abc8a5

Test:  atest VtsGpuTests:com.android.gpu.vts.VulkanTest#checkCpuVulkanRequirements
    && atest VtsGpuTests:com.android.gpu.vts.OpenGlEsTest#checkOpenGlEsDeqpLevelIsHighEnough
Bug: 303925354
Change-Id: I709e1951b1f65a28e9bda08387924afc84c1d5b0
2023-10-10 21:22:03 +00:00
Bruno BELANYI
51b504701a Define mali configuration path explicitly
It looks like this device configuration was copied before ag/22512002
was applied.

Zuma Pro counterpart for the following patch:
    Define mali configuration path explicitly
    Git hash 7038bae086b572038ddb3d7b203b34b9519dd0fe

Test: None
Bug: 303925354
Change-Id: I39e3e4d0731129e3f5238700e0351840aed69f6d
2023-10-10 21:21:24 +00:00
Bruno BELANYI
3276b5f5a5 Fix mali memory protection sysprop names
It looks like this device configuration was copied before ag/22095163
was applied.

Zuma Pro counterpart for the following patch:
    Fix mali memory protection sysprop names
    Git hash c438c66fe03679b4791002d46afd83c2dca429b8

Test: CtsDeqpTestCases (dEQP-VK.protected_memory.stack.stacksize_*)
Bug: 303925354
Change-Id: I23400f4b2bd0c7e6ebe408e54b0c3ec209472b8c
2023-10-10 21:19:47 +00:00
Treehugger Robot
d7ca6ccc81 Merge "Allow to override MTE mode from device config on zumapro" into main 2023-10-06 23:26:36 +00:00
RD Babiera
435c89be86 Merge "usb: check for port partner Thunderbolt capability" into main 2023-10-05 23:09:55 +00:00
RD Babiera
e1a03c3dd0 usb: check for port partner Thunderbolt capability
Query the port partner's SVIDs when the DisplayPort driver sysfs
is not recognized so that the USB HAL can identify whether or not
the port partner supports Thunderbolt.

Test: manual verification on device - test to see that cableStatus
is set to NOT_CAPABLE on hub that supports Thunderbolt but not
DisplayPort Alt Mode. Then verify that device not capable of being
a DisplayPort sink but does support Thunderbolt does not trigger
this status.
Bug: 288150501
Change-Id: Iaba60ecc5510acecee1e1d3241611906c738a263
Signed-off-by: RD Babiera <rdbabiera@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:873766c6f0c668ba526eaefe18ecc5e51ce87d67)
2023-10-05 20:01:02 +00:00
Jason Chiu
79c1c0758f zumapro: limit wakelock on zumapro
Bug: 295590204
Change-Id: Idbef8c0afb59f19030f7ba8247297dd889695b24
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
2023-10-05 11:02:18 +08:00
Florian Mayer
a4e817020a Allow to override MTE mode from device config on zumapro
Bug: 302218596
Change-Id: I77a1231dd8d4bb01b6a796838b5c1c8f8d3b2461
2023-10-04 19:42:51 +00:00
Arthur Hung
1495ad8703 Merge "Add default allow list for VRR small dirty detection" into main 2023-10-04 08:06:18 +00:00
Wesley Lee
46640f4601 Merge "Move bigwave setting to gs-common" into main 2023-10-03 22:59:49 +00:00
Roy Luo
5f6a61e1a4 Merge "usb: upgrade stats AIDL to v2" into main 2023-10-03 20:49:36 +00:00
Wei Wang
675b21989f Merge "thermal: allow system to overwrite the trip point of btmspkr_therm" into main 2023-10-03 06:47:25 +00:00
Arthur Hung
fb13b6cd10 Add default allow list for VRR small dirty detection
The feature will be enabled by the feature flag

Bug: 283055450
Test: Build
Change-Id: I04538805d58ad3a052048419bba3f53b5a688ac8
2023-10-03 04:10:04 +00:00
Joner Lin
b9d8223a46 Merge "bt: make bluetooth own the data vendor bluetooth folder permission" into main 2023-10-03 02:59:58 +00:00
Jikai Ma
67a1fe1e10 thermal: allow system to overwrite the trip point of btmspkr_therm
this should work with ag/24900428: equations of caimoto virtual skin
sensors

Bug: 296476775
Test: adb shell ls -al dev/thermal/tz-by-name/btmspkr_therm/trip_point_*
Change-Id: I943cb4b5323984bb1e6a4541978926f427d4ee12
2023-10-03 00:18:01 +00:00
Wesley Lee
a69df010ae Move bigwave setting to gs-common
Bug: 263444742

Change-Id: Ic758bf665d0017bfaf9bebcd4dae2bb117c5baaf
Signed-off-by: Wesley Lee <szuweilee@google.com>
2023-10-02 17:06:25 -07:00
Darren Hsu
dcd8acd397 powerstats: add pd-hsi0 power domain state residency
Bug: 302450566
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I19858b000f6d564e2e148c7f21e3e55591533e19
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-28 16:28:31 +08:00
Maciej Żenczykowski
f6c07adcd9 OWNERS: master -> main
Change-Id: If23c26cff2509eec3b6d6c661d431262467e2351
2023-09-28 00:29:34 +00:00
Wen Chang Liu
4559ccbd16 Merge "sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma" into main 2023-09-27 10:24:56 +00:00
Treehugger Robot
ac8eb29788 Merge "thermal: allow systen to overwrite the trip point of usb_conn_therm" into main 2023-09-27 06:40:23 +00:00
YiKai Peng
1f6762bdd6 Merge "dumpstate: Add authstart permission" into main 2023-09-27 03:26:00 +00:00
TeYuan Wang
556a4ce890 thermal: allow systen to overwrite the trip point of usb_conn_therm
Bug: 302055505
Test: adb shell ls -al dev/thermal/tz-by-name/usb_conn_therm/trip_point_*
Change-Id: I7fa55fdcf6892a6a1820269f6c9377a463b88571
2023-09-26 14:18:25 -07:00
jonerlin
32d272e6b1 bt: make bluetooth own the data vendor bluetooth folder permission
Bug: 240636731
Test: enable vendor btsnoop property and check the vendor snoop log
Change-Id: I852b9d348a254c1fccb1adf9635c713dd1a54c4a
2023-09-26 23:21:22 +08:00
Darren Hsu
0f74bf9f47 powerstats: correct CL2-DVFS mapping number
Bug: 302016063
Test: Build pass
Change-Id: I7924b0888fa7bb9e7382a2f3e9891a5440ad63a5
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-09-26 12:38:59 +08:00
wenchangliu
b2fd1cd5a9 sync media_codecs_[bo_c2|aosp_c2|performance_c2].xml from zuma
Bug: 301897167
Test: run cts -m CtsVideoTestCases -t android.video.cts.VideoEncoderDecoderTest
Test: run cts -m CtsMediaDecoderTestCases -t android.media.decoder.cts.VideoDecoderPerfTest
Change-Id: Iae546e1e759f1e11555979b6d722ee39aa0cbc9f
2023-09-25 11:20:22 +00:00
Safayat Ullah
37e530d069 Disable outer display dimming by default
Bug: 284858074
Test: check value of property
Change-Id: Ieb6c872f6544348e14c90e1a047549819c3b5e7c
2023-09-23 07:12:18 +00:00
Hiroshi Akiyama
e837d5240b Migrate dump_power.sh contents into cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ied22b516844cb1d39a39fbbdee0b81a69c1d2e1c
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-09-22 11:08:29 +00:00
Midas Chien
99dd96ba79 Merge "display: enable full range DPU downscale capability" into main 2023-09-22 06:53:14 +00:00