Commit Graph

4170 Commits

Author SHA1 Message Date
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
Gurkaran Singh
7edc05ecad vendor-freeze: Move few commonsys-intf/display libs to commonsys/display
Moved libdisplayconfig.qti, libqdMetadata, and libgralloc.qti from
vendor/qcom/opensource/commonsys-intf/display to
vendor/qcom/opensource/commonsys/display to install in system_ext

Change-Id: I59dd04f09184947f72ad9823a2e9e8c5e9c5422c
LNXDISPLAY-1552: REQ002
CRs-Fixed: 2972776
2021-07-05 21:48:31 -07:00
Ravi Ranjan
f556c7cc0d gralloc: Update enum value for ITU_R_709_FR
Update the values of defines as it was done previously. Reordering
value of defines will cause backward compatibility issues. Update
value of ITU_R_709_FR as a new enum value which was not used
previously.

Change-Id: Ief47e131863e6d01481f1d5c2097bd7ce100cd7a
2021-07-01 03:57:55 -07:00
qctecmdr
fbc1374234 Merge "aidl: add callback interface to notify resolution change" 2021-07-01 01:44:49 -07:00
qctecmdr
d4bf3147be Merge "Enable abi check for gralloc, libqdmetadata, libdisplayconfig" 2021-06-30 08:09:06 -07:00
Rheygine Medel
5a6a67e230 Adds owner 'qti' to hide versioned AIDL error.
Change-Id: Ie8c3104223a01199a4d4b0c6abd82579b5bdab5e
2021-06-28 13:56:05 -07:00
Padmanabhan Komanduru
3ec4a3b930 aidl: add callback interface to notify resolution change
Change-Id: I9cfd6a9469eff7e3714b331b00a421e4280b2a82
2021-06-17 13:39:36 +05:30
Abhijith Desai
d276ec2934 Enable abi check for gralloc, libqdmetadata, libdisplayconfig
Enable qiifa abi check for gralloc, libqdmetadata and
libdisplayconfig libraries as part of enabling QIIFA
interface checks for display techpack.

Change-Id: I5b5667d58baf0039ccac5faf08f3a3f09d569d29
2021-06-14 01:58:55 -07:00
Rheygine Medel
677b2f14e4 aidl: Add notifyDisplayIdleState API and revision interface
This change adds the notifyDisplayIdleState API.

For every new API, the interface needs to be revisioned therefore
this change also adds a new version of the IDisplayConfig AIDL
interface.

Change-Id: Ie09ecc0721f9d4f8a80e8f98332beade40da6aed
CRs-Fixed: 2949831
2021-05-25 16:36:30 -07:00
qctecmdr
801e86c176 Merge "display: add header for integer types" 2021-05-15 02:06:00 -07:00
Ping Li
8fa88eac39 display: add header for integer types
Add required header file for integer types used in
display_color_processing.h file.

Change-Id: Ib4c7fba25bc82936c6f43908e10075cbbd055155
2021-05-12 22:57:18 -07:00
Sushil Chauhan
fde201148f display: Add api to query Smart Display Config
Add Display Extension API to query if a given display is running
on a Smart Display Config.

CRs-Fixed: 2773507
Change-Id: Ibe7508617f2e67db0778811475b594f3cc0017c6
2021-05-12 19:50:09 -07:00
Rheygine Medel
935539c2ae Display: Add api to send compositor Pid.
Change-Id: I95cf49f3681a20e8d591e9b2304fbb21f0ef5870
CRs-Fixed: 2923465
2021-05-09 11:34:19 -07:00
Ravi Ranjan
01003ce023 gralloc: Add support for color space ITU_R_709_FR
CRs-fixed: 2860964
Change-Id: I1272b0f459ac6388d951d864a35f1e7d8e94b5fb
2021-04-28 04:13:56 -07:00
Pullakavi Srinivas
ccddb825d9 commonsys: Enable unified draw.
CRs-Fixed: 2908286
Change-Id: Ieb73ecc55b155b9035d6276153cf7e12b662d5d7
2021-04-25 14:37:08 -07:00
qctecmdr
3b13f1effd Merge "aidl: Add camera smooth support" 2021-04-23 11:16:35 -07:00
Ray Zhang
31a38a7719 aidl: Add camera smooth support
This changes adds the camera smooth AIDL interfaces.

Change-Id: I90748f0f26bfd61e7168009c0add7e63137a32ff
2021-04-22 13:38:34 +08:00
Devanshi Bansal
5b6eff8fb6 displayconfig: Add support for AllowIdleFallback interface
Change-Id: Ibe07e550faa33bf68bc12bcd0ae5ffc1ffdf4a20
CRs-Fixed: 2928557
2021-04-21 22:12:41 -07:00
Rheygine Medel
bf1eb9996d config: Enable compilation for aidl libraries
This change will enable compilation of the IDisplayConfig AIDL
libraries.

Change-Id: I662fae44313a8297bca438f8eb0c30abc4cd3232
CRs-Fixed: 2910712
2021-04-06 09:34:31 -07:00
Ramakant Singh
df1244ab37 DisplayExtn: Extend interface to support async commit.
Change-Id: I70919add71d8bbdf7d6fd30041475a4d9419d6c2
2021-03-16 19:03:53 -07:00
Rheygine Medel
4bd6cb01ef display: Add IDisplayConfig Stable AIDL implementation
This change adds the IDisplayConfig HAL implementation using AIDL
interfaces.

Change-Id: I5244d4d7764fd5128a2cb1021b73364d0179cece
CRs-Fixed: 2871306
2021-02-14 17:38:15 -08:00
qctecmdr
50df48c0e0 Merge "gralloc: Define FSC HAL Pixel formats" 2021-02-08 06:29:54 -08:00
Ashish Kumar
fa070dee7b gralloc: Define FSC HAL Pixel formats
Change-Id: I44168444fb508f7571cbc85e6fc5451ad10f834f
2021-02-07 23:03:47 -08:00
ksrinath
4181cc8819 displayconfig: Add dummy display config API
Dummy display config API is added to check the backward
compatibility of IDisplayConfig2.0  with vendor freeze.

CRs-Fixed: 2855291
Change-Id: I4f3ddd5c1a9bb660ab252b9024650a9bd63a4ccf
2021-01-18 17:02:43 +05:30
Zube Molokwu
10c74ab436 display: Adds additional APIs for gralloc4 support
Adds gralloc4 support for QtiMapperExtensions APIs

Change-Id: I2728f7dd7286702ae19f6fa1c0548027a2e12437
2020-12-21 12:18:16 -08:00