Commit Graph

4194 Commits

Author SHA1 Message Date
Linux Build Service Account
a079807d26 Merge 27caa0b75b on remote branch
Change-Id: I835e6be9584b91fc0f7cdfbc4dac44da29dea0bc
2023-04-01 00:45:17 -07:00
qctecmdr
27caa0b75b Merge "aidl: Add setClientUp API" 2023-03-23 07:16:27 -07:00
Jatin Srivastava
3ea5a2a448 aidl: Add setClientUp API
setClientUp API will be called when Surfaceflinger is up.

Change-Id: I141626327cabe781382202b7cb6a8d35cf3be45f
2023-03-17 01:29:35 -07:00
Linux Build Service Account
a24cc42789 Merge 8842b6aa70 on remote branch
Change-Id: I9c8bcbeb365eddb265e6eab2ef6951890ac022bd
2023-03-13 17:42:41 -07:00
Christopher Braga
845dc4ce85 gralloc: Introduce custom content metadata structure
Introduce a structure definition for custom content metadata.
This structure is intended to be used with the new dynamic memory
region intended to store custom content metadata that exceeds the
base 1KB region allocated.

Change-Id: I66880102b4c441422bcd4a60923010098f641d8c
2023-03-07 07:55:45 -08:00
Linux Build Service Account
52a8ac26ac Merge 82b6c5ed22 on remote branch
Change-Id: Ia202f1856a8c10366333f116e8030077c056d3b9
2023-03-01 10:29:59 -08:00
Naseer Ahmed
8842b6aa70 display: sysintf: Cleanup unused config variables
CRs-Fixed: 3414470
Change-Id: Ib7a22d6e34a49fb15ec17f2b21fbdd409997123b
2023-02-22 18:10:52 -05:00
Linux Build Service Account
4601b33e85 Merge 7989715db0 on remote branch
Change-Id: I9fdedfd3c32f079f67c5fd8ded6e29cf51948374
2023-02-15 08:26:43 -08:00
Naseer Ahmed
38f6a00d18 display: Add composer3 AIDL extension
Change-Id: I09cf63670bbbb809cc23e34fe84f1f53fce523f8
2023-02-07 10:49:28 -08:00
qctecmdr
82b6c5ed22 Merge "commonsys-intf-display: add support for early notify metadata" 2023-02-07 06:53:41 -08:00
qctecmdr
a5926ec540 Merge "demura: add demura AIDL interface" 2023-02-06 22:42:54 -08:00
Manoj Kumar AVM
d5d5f9214a gralloc: Add UBWC-P usage flags
Add GRALLOC_USAGE_PRIVATE_NO_UBWC_P usage flag to allow
clients to select UBWCP functionality on a given gralloc buffer.

Change-Id: I715f50b8c8056c27c041a5315116db5e58633bcc
2023-02-06 11:21:13 -08:00
Uma Mehta
698b2c1c3f commonsys-intf-display: add support for early notify metadata
Adding support for early notify metadata
line count info

Change-Id: I760bfda68d832f043c1f977280881d7428eeca12
2023-01-24 23:07:10 -08:00
qctecmdr
7989715db0 Merge "Display: Add display color AIDL" 2023-01-24 11:15:11 -08:00
qctecmdr
fd20cb7cb2 Merge "Display: Add display postproc AIDL" 2023-01-24 11:15:11 -08:00
Ramkumar Radhakrishnan
3192805132 aidl: Add aidl callback api for TUI event done notification
Change-Id: Ie46c219e42c8dbbed3b9db4014ff35787859a20f
2023-01-10 16:22:10 -08:00
Renchao Liu
71b05e4592 demura: add demura AIDL interface
Initial AIDL interface based on the HIDL interface
vendor.qti.hardware.display.demura@2.0.

Change-Id: I85b4eed235ae4e1bbf689662c49737b9e912f831
2023-01-04 12:25:44 +08:00
Linux Build Service Account
829d3b0295 Merge 2a4c372675 on remote branch
Change-Id: Ie5391e861ea7c100844b9c40d12554916889a8e6
2022-12-22 02:02:18 -08:00
Xu Yang
299e434f82 Display: Add display postproc AIDL
Initial AIDL interface for display postproc.

Change-Id: I266b3f2a1ed9c4aa30ac89efe515f0acbecc5506
2022-12-21 12:27:59 +08:00
Xu Yang
4e8be1f553 Display: Add display color AIDL
Initial AIDL interface based on the HIDL interface
vendor.display.color@1.7.

Change-Id: Ibc657a752ee709521c8afdac461cdc8a07bb0e19
2022-12-21 11:41:52 +08:00
Rosa Chen
2a4c372675 gralloc: Fix integer overflow in roundUpToPageSize
- Changed the input and return value from integer to size_t in
  roundUpToPageSize

Change-Id: I526b90d3d85cd263b1a4dd524bd3e759ff0fd491
2022-12-02 16:26:34 -05:00
Linux Build Service Account
ccde99a1be Merge 8b8cd1a8dc on remote branch
Change-Id: Ib14229555f633ea97f13191a7aa9fdddd7567ff3
2022-09-28 22:59:57 -07:00
Gurkaran Singh
8b8cd1a8dc display_extn_intf: Add new layer flag
Add new layer flag to store blur request status.

CRs-Fixed: 3173915

Change-Id: Id9d40cc172a6a23652c707d7d9dd8fd02c385b98
2022-06-09 09:38:54 -07:00
Mahesh Kumar Sharma
e28c2d2e0c display: Add video transcoder stats metadata support
Add support to assign video decoder stat info metadata
in gralloc buffer with in gralloc interface.

Change-Id: I87a130cff68e425a5493b4711e2c344a45597254
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
2022-06-03 10:21:28 -07:00
Christopher Braga
34fef9c4f6 gralloc: Introduce custom content metadata region
Introduce a new dynamic memory region to store custom content
metadata that has sizing requirements that exceeds the base
1KB region allocated. This region is dynamic to ensure a layer's
memory requirements are only increased when absolutely needed.

Change-Id: I774197ed0c4ec7a18cc09b24262b6548dc293e72
2022-05-18 15:12:55 -07:00
Rheygine Medel
356602355d phase_offset_extn: Add support for dynamic work durations
Change-Id: I947711098b153edc0e58f320ec7c647445c7911b
CRs-Fixed: 3192233
2022-05-13 17:26:05 -07:00
Rajat Yadav
0cb6e516e6 commonsys-intf: Remove compilation warnings.
Change-Id: Iad6b11033326c81536a939f954f6511e3246a193
2022-05-08 09:51:13 -07:00
Ray Zhang
43b61bb4c2 commonsys-intf: enable timed rendering vendor metadata
Enable Smomo clients to use timed rendering vendor metadata.

Change-Id: I61fc1b12213c761bed85b9e9cb14c205143bdcce
2022-05-06 23:38:42 +08:00
qctecmdr
ec70d25f18 Merge "commonsys-intf: add buffer handle in Smomo buffer info" 2022-05-03 03:47:34 -07:00
Ray Zhang
1fec9e8def gralloc: Add Timed Rendering metadata
Add support to pass new Timed Rendering metadata
in gralloc buffer.

Change-Id: I078ee218a02935ad4fcc77dad3f2a83fd4574400
2022-05-02 19:48:38 -07:00
Ray Zhang
f20677ef4d commonsys-intf: add buffer handle in Smomo buffer info
Smomo needs buffer handle to get the buffer metadata info.

Change-Id: Iaf19a96b5f054f26bacb1de7d456d0dd2187c4e0
2022-05-02 19:48:21 -07:00
Renchao Liu
821831d3ac display: Add support for detailed enhancer lpf parameters
Change adds support for detailed enhancer lpf parameters.

Change-Id: I71ead0b6bf57a14b64b20223262eb0dcb830f290
2022-04-27 15:48:45 -07:00
Baldev Sahu
13de7b77a3 gralloc: Fix issue with mmap/munmap meta due to reserved size
Fix possible security issue which can happen if client changes
reserved size in meta data. This can cause wrong size munmap.

Change-Id: I5d2b55272d1b5df217e71c45ecdece9ed9eaae97
2022-04-22 18:26:13 -07:00
Ramkumar Radhakrishnan
3a68827d32 gralloc: Add metadata interface to change buffer permission
Store buffer access control information in metadata and add interface
to set/change buffer access control after the buffer allocation

Change-Id: I2dfb99c4db82f896b623a1f394977632a4bfd0e0
(cherry picked from commit 222f30bc47e072a6e7d3ba677f6630f2dc7e9661)
2022-04-19 10:01:10 -07:00
qctecmdr
a3d369d991 Merge "gralloc: Define YCbCr_420_SP_4R_UBWC format" 2022-04-13 01:59:34 -07:00
qctecmdr
03333d1b86 Merge "display: Add EndUnifiedDraw interface." 2022-03-15 23:35:40 -07:00
Rajat Yadav
5daeaa5121 display: Add EndUnifiedDraw interface.
Change-Id: I72cb8aecdb17c5a42c834fb9ef1173185a262cf7
2022-03-04 18:52:38 +05:30
Ray Zhang
9b26ac05a7 commonsys-intf: services: upgrade IDC for backward compatible.
The IDC libs in vendor and system images are not compatible due
to diverged changes. E.g., in legacy vendor kGetDisplayTileCount
op code is 50, while in new system images op code 50 stands for
kDummyOpCode. This breaks the backward compatibility. So upgrade
IDC interface in system image to fix the backward compatible
issues for vendor freeze targets.

Change-Id: I170c279f958e33e143677c9888aca462a9d2874f
2022-03-04 01:52:04 -08:00
Rajat Yadav
f5ba1034e7 commonsys-intf: Smomo support for multi-display
Change-Id: Ibde69a017f5cbde116aa17bc415deeb8812d88e0
2022-02-25 18:00:28 +05:30
Ramakant Singh
b6bea6ef4b aidl: add callback interface to notify fps mitigation.
Change-Id: I71a310bc645a901f85fdceab259b3b25aea354ee
CRs-Fixed: 3049689
2022-01-31 17:15:23 -08:00
Naseer Ahmed
2d51d41135 gralloc: Add video HW usage flag
GRALLOC_USAGE_PRIVATE_VIDEO_HW indicates that this buffer can use video
hardware.

Change-Id: I45fd173e08663123970caec7390867c031ad91b3
2021-12-20 15:02:24 -08:00
Lohit Narayan
54bd6e12d5 gralloc: Define YCbCr_420_SP_4R_UBWC format
Add support for this UBWC to enable sharing buffers.

Change-Id: I754d59e28126a4a205a39292d9a90cbbb7ff9db5
2021-12-16 03:32:21 -08:00
Rajat Yadav
1a6048ffb0 Replace *-ndk_platform with *-ndk
Change-Id: I5d2c46f1207af51dd2dcb033267c196d7546acdf
2021-12-14 14:44:35 +05:30
Avdhesh Singh Chauhan
6383d0eeaa display: Export the include directory headers.
CRs-Fixed: 3041007
Change-Id: I7b09f42769f7a852b39fe304ee3d48509663ad24
2021-09-23 20:03:59 +05:30
Ray Zhang
b09df6ddfd display: upgrade Smomo interface to 2.0
Add new APIs for Smomo interface 2.0.

Change-Id: I640e4813cdb3828cf5c7c5bcfaf20a14e70015d0
2021-09-01 23:05:57 -07:00
Rheygine Medel
9dde99c687 display_extn: Add support for sending RE TID to perf HAL
This change adds a perf hint type enum to identify the TID between SF
and RE threads when sending them to perf HAL.

This change also deprecates the SendCompositorPid and replaces it
with SendCompositorTid with a return value.

Change-Id: I7f3cb8a2e544e7cadad352a3a0ef82fe91cb2412
CRs-Fixed: 3021178
2021-08-31 12:34:28 -07:00
qctecmdr
5813e48b41 Merge "vendor-freeze: Move few commonsys-intf/display libs to commonsys/display" 2021-08-23 21:45:09 -07:00
Bipin Kumar
e16cd5f9ac display: Enable fps mitigation feature
Change-Id: I5cfcd8a176840fd17e40b1904ca5a106336fb8dd
2021-08-12 10:05:24 +05:30
Bipin Kumar
a2c40b8a3b display: Remove mitigation enabled tag
Change-Id: Ifdc758a04bb8fcfe43f7c9f5141cc7d7e9b64437
2021-08-03 18:14:05 +05:30
Bipin Kumar
4094736699 display: Add api to call back when Mitigation hint comes
Crs-Fixed: 2992743

Change-Id: I627b94ca14107c51e359f735cd13e8502dc5eb20
2021-07-16 19:19:14 +05:30