Commit Graph

4015 Commits

Author SHA1 Message Date
Maheshwar Ajja
0de87d7ece commonsys-intf: display: Fix CVP metadata size issue
CVP metadata size can be equal to CVP_METADATA_SIZE and
hence allow it to resolve CVP metadata issue.

Change-Id: I1307ff027fb0558f7e6f8807e477bce326f3b03a
2019-03-11 11:44:30 -07:00
qctecmdr Service
905ec5255c Merge "commonsys-intf: display: add CVP metadata support" 2019-02-14 01:40:58 -08:00
Ravikanth Tuniki
250a7ddf30 commonsys-intf: display: Replace libqdmetadata.system with libqdmetadata
with VNDK enablement, libqdmetadata is copying to both
system and vendor partitions.

CRs-Fixed: 2368161

Change-Id: I135257092bf31ca0dcf10555f99a96711439bea7
2019-02-11 00:45:10 -08:00
Maheshwar Ajja
1069072332 commonsys-intf: display: add CVP metadata support
Add set and get CVP (Computer Vision Program) metadata
interface for producer (camera) to set and consumer
(video) to get it.

Change-Id: Ib3c5b3a9bcf8a6a56ec265d6ccbee2fd4b28aca8
2019-02-08 11:46:40 -08:00
Package Warehouse Build User
b10dbf361a Merge "commonsys-intf: qdMetaData: Add get/setMetaData variants that unmap metadata" into display-android-commonsys.lnx.1.0 2019-02-02 04:48:31 -08:00
Naseer Ahmed
fb1d3dea2d commonsys-intf: Add missing gralloc flag
Change-Id: I8f2e3fd42978f1e8bd0a42669b1653f6df19111a
2019-01-28 16:36:55 -05:00
qctecmdr Service
61eeba97bf Merge "commonsys-intf: display: Add product packages" 2019-01-23 05:59:56 -08:00
qctecmdr Service
0dd78f0ddf Merge "commonsys-intf: display: Add UBWC 4.0 enum" 2019-01-22 10:15:41 -08:00
Naseer Ahmed
6656533333 commonsys-intf: display: Add product packages
Change-Id: I27ef69398672883e7fb84e1278921ae8acada638
2019-01-22 10:10:52 -08:00
Gousemoodhin Nadaf
8da58ee0f7 commonsys-intf: display: Add UBWC 4.0 enum
Change-Id: I9183cb9a91bc1f381e72b139a0a2381f17dc59bd
CRs-Fixed: 2376272
2019-01-16 02:09:42 -08:00
Ramakant Singh
20b6c8c4b9 Gralloc: Fix out of bound read in private_handle_t.
Change-Id: I3d16321e29291007be0d8be11225f426ea0dd252
CRs-Fixed: 2337383
2019-01-15 22:32:37 -08:00
Alex Sarraf
30512b61ea Revert "libdisplayconfig: Disable module for initial Kona bring-up"
This reverts commit 6dcec02f9e.
2018-12-27 13:20:35 -08:00
Linux Build Service Account
920563f65e Merge "libdisplayconfig: Disable module for initial Kona bring-up" into display-android-commonsys.lnx.1.0 2018-12-10 13:12:25 -08:00
David Ng
6dcec02f9e libdisplayconfig: Disable module for initial Kona bring-up
Temporarily disable module for target bring-up.

Change-Id: I56c8004c62e405442b57375a2e74a7afaf3a9efb
2018-12-06 12:49:57 -08:00
Priyanka Gujjula
1db7471928 commonsys-intf: Handle SET_VIDEO_PERF_MODE in clearMetaData handle.
Change-Id: Idd1ea6e8366355358534d13f1fb7b4f43bec48bd
2018-11-27 17:38:26 +05:30
Praveen Chavan
5e5679ace9 commonsys-intf: qdMetaData: Add get/setMetaData variants that unmap metadata
Add get/setMetaDataAndUnmap(..) api that remove the meta-data
mapping and reset the mapped pointer in handle.
Use these versions in setMetaData called during alloc to
ensure allocating process does not duplicate invalid
base address of metadata (i.e when native_handle is cloned
without importing)

Change-Id: Id4dc91700bc0cf5eace947fcaafacff9497a49bb
CRs-Fixed: 2265196
2018-11-18 11:15:25 -08:00
Mohan Pallaka
eb982e5a48 commonsys-intf: display: Add dedicated heaps macro for sensors direct report mode
Updating gralloc header file similar to sdm.

Change-Id: If1bae0509afe9f6d832680a40263cf3035150173
2018-10-22 13:04:51 -07:00
Linux Build Service Account
2834dc365b Merge "gralloc: Add support for HEIF usage flag." into display-android-commonsys.lnx.1.0 2018-10-22 11:56:33 -07:00
Rajavenu Kyatham
3bf8204f89 gralloc: Add support for HEIF usage flag.
Add new usage flag that can be used to indicate HEIF.

Change-Id: If933f0fccff18323a595a712c51258700bbeb1e4
CRs-Fixed: 2318608
2018-10-10 12:50:12 +05:30
Yunyun Cao
6eba6fa046 commonsys-intf: display: add basic makefile
add makefile for building libqdMetaData with gcc

CRs-Fixed: 2319180
Change-Id: Ia619ccc15a821ec9a0b9e4c324e102ec4e12a157
2018-10-07 20:07:23 -07:00
Linux Build Service Account
d50000581b Merge "qdmetadata: Add enum for UBWC 3.0" into display-android-commonsys.lnx.1.0 2018-09-26 23:14:27 -07:00
Linux Build Service Account
5fd236057b Merge "commonsys-intf: display: Add support to query display wb capabilities" into display-android-commonsys.lnx.1.0 2018-09-14 19:43:37 -07:00
Varun Arora
d7bb869314 qdmetadata: Add enum for UBWC 3.0
Change-Id: Ifc4ac7313806dd5f40d4964b8c768189d9a99344
CRs-Fixed: 2313528
2018-09-11 15:22:00 -07:00
Ramakant Singh
d58ec8fb63 commonsys-intf: display: Add support to query display wb capabilities
Change-Id: I2370df1cf4db99f353e047d2db50a5d416d7650b
2018-09-05 19:56:13 +05:30
Mohan Pallaka
8181cef67a Gralloc: Use 4 bytes padding for private_handle_t
Force 4 bytes padding to avoid data leak due to uninitialized padding.

Bug: 77237704
Change-Id: I3922bf62bfa6c78806a6d5fd969e2d9faf067abe
CRs-Fixed: 2257685
2018-08-27 08:26:12 -07:00
Mohan Pallaka
5d8144382d commonsys-intf: display: add changes for display-android-commonsys.lnx.1.0
Relocate changes from display.lnx.5.0 to display-android-commonsys.lnx.1.0

CRs-Fixed: 2251141
Change-Id: Ia65f6d7f83e21702cf61f0672ba97ae006ae7886
2018-08-02 16:37:46 -07:00
Subash Chander
001bc79f72 commonsys-intf: display: Add dedicated heaps macro for sensors direct report mode
Updating gralloc header file similar to sdm.

CRs-Fixed: 2275876

Change-Id: I8cf144e13969abbad4fcc4ed17a9dcfc64b1d111
2018-07-10 11:54:28 +05:30
Uday Kiran Pichika
f4417d94e9 commonsys-intf: display: Change type of libqdmetadata
Make libqdmetadata to vendor temporarily

Change-Id: Icbd034f894c6406d8246a38a8844ca84c8ac2d20
CRs-Fixed: 2251141
2018-06-13 17:47:37 +05:30
Uday Kiran Pichika
2d3a307cd3 commonsys-intf: display: Add display folders
Add libdisplayconfig and libqdmetadata to support
Single system image

CRs-Fixed: 2251141
Change-Id: Ie988c6d23bcc7f8e8f8f4313d8c3255f55d200ce
2018-06-04 16:45:02 +05:30
Linux Build Service Account
619cdf786c Merge "sdm: Reduce severity of create_fd failure messages" 2018-05-04 15:08:15 -07:00
Linux Build Service Account
4f5777139b Merge "hwc2: Do not mark single buffered or color fill layers as skip" 2018-05-04 01:40:52 -07:00
Linux Build Service Account
168d5ab8e9 Merge "hwc2: Use libdebug defined macros for logging." 2018-05-04 01:40:51 -07:00
Rajavenu Kyatham
a01d6476f1 sdm: Reduce severity of create_fd failure messages
- Valid file descriptors are not guaranteed in
  prepare phase. File descriptors are set to
  correct values in commit phase. In such cases,
  create_fd failures are false positives.

Change-Id: I91fbc5b407ee4f84290be8beb8bf036870f2cf4a
CRs-Fixed: 2218863
2018-05-03 00:13:23 -07:00
Linux Build Service Account
1ddbab369d Merge "hwc2: Get Mapper instance in frame dump utility" 2018-05-02 06:08:40 -07:00
Dileep Marchya
833164b73b hwc2: Use libdebug defined macros for logging.
Change-Id: Ia44904aac0a54edf9f61b1789a4362a939d490ea
CRs-Fixed: 2211061
2018-05-01 19:52:57 +05:30
Pullakavi Srinivas
2c17ac104a hwc2: Do not mark single buffered or color fill layers as skip
CRs-Fixed: 2225117
Change-Id: I9d924a5b16c7755ca9fb7f4cf799328456fe11c6
2018-05-01 03:37:33 -07:00
Baldev Sahu
9ded89a4f9 hwc2: Allow commit to go through if flush_ flag is set
Allow commit to go through if flush_ flag is set even if
display is not validated

Change-Id: Ic87f87342a72de541fe79ba514915dd5e6e13c86
CRs-Fixed: 2218342
2018-04-30 22:51:03 -07:00
Linux Build Service Account
99455b1939 Merge "sdm: Map FBT destination as per panel transform." 2018-04-30 01:18:43 -07:00
Anjaneya Prasad Musunuri
366c0d5b8e hwc2: Get Mapper instance in frame dump utility
Mapper instance is not available if frame dump is called prior to
buffer allocation through hwc buffer allocator.

Change-Id: I2b92aa594978d996be8f0036ac7c006fe23d3efa
CRs-Fixed: 2233209
2018-04-29 20:45:10 -07:00
Linux Build Service Account
efc1c4ac84 Merge "gralloc: layercount validation check" 2018-04-27 16:55:26 -07:00
Ramakant Singh
06676253cd gralloc: layercount validation check
layercount value should not be zero.

Change-Id: I439ca4f1655a4c892b4bdf02fc786c7e2838e816
2018-04-26 20:05:02 +05:30
Pullakavi Srinivas
b714643a95 sdm: Map FBT destination as per panel transform.
CRs-Fixed: 2230773
Change-Id: Iacf054e7aee46a1efcb430356d74c62d31abfb23
2018-04-25 22:09:12 -07:00
Linux Build Service Account
61b12ea0db Merge "hwc2: Reset FD limits to default." 2018-04-25 17:16:23 -07:00
Linux Build Service Account
59f4287c71 Merge "colormanager: Fix warning message" 2018-04-25 09:30:33 -07:00
Linux Build Service Account
47f90f5a35 Merge "sdm: Use monotonic clock in HAL" 2018-04-25 09:30:01 -07:00
Uday Kiran Pichika
7610943314 gralloc: Fix race condition in gralloc
- Add mutex lock while accessing handles_map

Change-Id: Ibbe77e87020e655f6ebeb2428a13555460b3ac7d
CRs-Fixed:
2018-04-24 22:19:37 -07:00
Anjaneya Prasad Musunuri
21e2bc5ad8 hwc2: Reset FD limits to default.
Remove change to increase fd limit as this change is redundant.
This change reverts Ifd11521fe648204d8ce153a8010ad0f73cbfb9e8.

Change-Id: I8331618e9c9b84053052986c91aba0c46fa6c86c
CRs-Fixed: 2229346
2018-04-23 15:52:39 +05:30
Naseer Ahmed
48886efa71 colormanager: Fix warning message
Change-Id: Ifd88da5f1789b5f7b2584de48384aaba1b4a7842
2018-04-22 21:37:38 -07:00
Gousemoodhin Nadaf
82f7320afd sdm: Use monotonic clock in HAL
- Modify variable cond_attr as
  per coding guidelines

Change-Id: I8a8d5920f447cf7211af662e5e58be00a60adc0f
CRs-Fixed: 2225930
2018-04-22 21:04:18 -07:00
Linux Build Service Account
621dad55ee Merge "gralloc: Remove map fb memory property" 2018-04-21 07:04:05 -07:00