Commit Graph

4073 Commits

Author SHA1 Message Date
qctecmdr
7f213be79f Merge "gralloc: Change HAL_PIXEL_FORMAT_YCbCr_420_P010 macro" 2020-05-23 23:38:40 -07:00
Dhruv Kaushik
fcc2e6ea0f gralloc: Change HAL_PIXEL_FORMAT_YCbCr_420_P010 macro
Use value 54 from system include for HAL_PIXEL_FORMAT_YCbCr_420_P010

Change-Id: I5a008141a857f4c7c3e4f116c78553f34030ae2f
Crs-fixed: 2688319
2020-05-20 23:47:39 -07:00
Dileep Marchya
b768004454 display: Add interface to set display attributes
- Add interface to set content fps on a display

CRs-Fixed: 2681693
Change-Id: Ic05459e91c84197490e978aa8c65af2f6a2b496e
2020-05-20 18:31:26 -07:00
qctecmdr
65a9ce9dae Merge "config: fix the signature to get getDebugProperty/getSupportedDsiBitClks" 2020-05-20 01:04:27 -07:00
Padmanabhan Komanduru
30f1b5d2ae config: fix the signature to get getDebugProperty/getSupportedDsiBitClks
Change-Id: I16e83341e708d4223be10da38363eab6e46c4b18
CRs-Fixed: 2686395
2020-05-14 11:37:59 +05:30
Venkat Thogaru
9bea0aaafa display: Fix null pointer dereference
Change-Id: I90236ee583a6862866b74f3645ff39e96673794a
2020-05-13 12:27:53 +05:30
qctecmdr
340e7f7cb0 Merge "display: add libdisplayconfig.qti to product packages" 2020-05-02 23:32:32 -07:00
qctecmdr
3fc2bc24e1 Merge "display: Add interface to get current frame rate from SmoMo" 2020-05-02 23:32:32 -07:00
qctecmdr
0ce7be9173 Merge "display: Fix dependency compile error" 2020-05-02 23:32:32 -07:00
Mohamed Moussa
192d186207 display: Fix dependency compile error
When enforce compile time product I/F, system_ext module
cannot link to product module and vice versa.
When PRODUCT_PRODUCT_VNDK_VERSION := current, all native modules
in product partition are in the product variant. Adding system_ext_specific
and vendor_available will create system_ext variant and vendor variant.
This will fix the following dependency compile 2 errors:
-Error: MMCapability.cpp:33:10: fatal error: 'qd_utils.h' file not found
libwfdsinksm.so [MMCapability.cpp], installed in SYSTEM_EXT partition
and depends on libqdMetaData [qd_utils.h], accessable in product partition.
Replacing product_specific with system_ext_specific, while enforcing product I/F
will install libqdMetaData in system_ext and variant in product partition

-Error: dependency "libgralloc.qti" of "libqdMetaData" missing variant
libqdMetaData now moved to system_ext. Need to install libgralloc.qti
in system_ext.

Change-Id: Ic4eb768173f2125cee2bb1fa69665b50e8708ea5
2020-04-27 13:07:10 -07:00
Padmanabhan Komanduru
a4348dcfe9 display: add libdisplayconfig.qti to product packages
Change-Id: Ic8a69bc5368f9d41c5958181ecb091e6d0d4ad05
2020-04-23 19:36:53 +05:30
Sushil Chauhan
4a4eafe3b6 display: Add interface to get current frame rate from SmoMo
Add an interface to query the current frame rate from SmoMo, which is
based on its internal state.

CRs-Fixed: 2667026
Change-Id: Ia0b7305124c72e548dc7c935ab5b717945fbc7c2
2020-04-23 00:44:50 -07:00
Yichi Chen
bddad07ef1 gralloc: Refactor gralloc4.0 for some concerns in code review
There were some concerns raised in the intern code review process. Since
Qualcomm has merged their Gralloc4.0 changes into their codebase, the
patch created another standlane change to address the concerns within
the code review.

Bug: 141596968
Test: VtsHalGraphicsMapperV4_0TargetTest
Change-Id: I33905f5f1198089a1e3fe16e1fd46a8f614e8679
(cherry picked from commit 3dfff2a5af39b14422ede072e3e9d95596e5fc3f)
2020-04-14 08:21:22 -07:00
qctecmdr
8b2c335b17 Merge "display: Fix garbage values from UPDATE_COLOR_SPACE" 2020-04-14 04:15:42 -07:00
Mahesh Lanka
da0673916d display: Deprecate usage of clearMetaData
-- Deprecate usage of clearMetaData.
-- Use setMetaData interface to clear metadata.

Change-Id: I2ddc3163653c443eb664427a74714eb00b5ed100
2020-04-10 01:43:52 -07:00
Tharaga Balachandran
c20aa83dae display: Fix garbage values from UPDATE_COLOR_SPACE
This change initializes the local "ColorMetaData color"
to prevent uninitialized values being read.

CRs-Fixed: 2660086
Change-Id: I67284a57d4e12a0289824288b36804e3bd76fd02
2020-04-08 17:00:59 -04:00
Tharaga Balachandran
aa640f7b96 display: Add metadata types for allocated width and height
The standard metadata types for width and height return the
values requested by the client, rather than the width and height
of the allocated buffer. This change adds internal metadata types
so clients can query the allocated values.

CRs-Fixed: 2638621
Change-Id: I7c69cff65512c30e27eb86ef33f67079c979eeb6
2020-04-08 12:06:13 -07:00
qctecmdr
251cf65a33 Merge "commonsys-intf: display: Fix ContentLightLevel max avg light lvl" 2020-04-03 00:57:15 -07:00
Arun Kumar K.R
a6ab9d11b4 commonsys-intf: QTIGralloc: Add new camera FLEX formats
Define new camera FLEX formats for UBWC batch size of 2, 4, 8

Change-Id: Ibdbff8f802a7d2bc6ed0962b467ddf8ef3155175
Crs-fixed: 2654646
2020-04-01 11:14:25 +05:30
Arun Kumar K R
c133d5439d commonsys-intf: display: Fix ContentLightLevel max avg light lvl
- The field minPicAverageLightLevel is actually maxPicAverageLightLevel
  from the H.265 spec, mention it will be deprecated.
- Add new member maxPicAverageLightLevel which clients must use, this
  is same as maxFrameAverageLightLevel from CTA-861.G
- The unit for maxPicAverageLightLevel is 1 cd/m^2.

Change-Id: Ida73949d4e4595bc4505e7451c40c6e6976bd092
CRs-fixed: 2607978
2020-03-26 21:50:16 -07:00
Ramakant Singh
0ed17fb8a5 display: Remove redundant lib displayconfig
Change-Id: I9021a9460f08ae35a096e0d7d8739c2dc059ecbf
2020-03-01 21:25:16 -08:00
Tharaga Balachandran
a069a7e22d display: Update metadata
This change adds libgralloc.qti to support Gralloc4 and the transition to
standardized metadata.

CRs-Fixed: 2619182
Change-Id: Ia43de9b1dc9da52affc508783c046b82cde1775e
2020-02-24 17:45:36 -05:00
qctecmdr
0b169cb805 Merge "display: Remove gralloc debug property code" 2020-02-22 08:50:23 -08:00
Tharaga Balachandran
a6480a48d4 qdMetadata: Remove unused metadata types
This change removes metadata types which are not set. The color
space is also set through ColorMetadata, with helpers to convert
to/from the legacy type ColorSpace_t.

CRs-Fixed: 2606686
Change-Id: I2dd67c0082a31ca6900fe845c13d0519a2289060
2020-02-20 15:20:41 -08:00
Tharaga Balachandran
c398796f7c display: Remove gralloc debug property code
querySDEInfo is an unused function and can be removed.

CRs-Fixed: 2619084
Change-Id: I2857e1c8c77a48697c83af421cd3a8e3a92ec7ee
2020-02-13 17:11:18 -05:00
Padmanabhan Komanduru
d5010db9e1 display: add support for IDisplayConfig 2.0
Change-Id: I7193697b95ea58c5661d3a8782c30ada3813a042
2020-02-10 14:14:46 +05:30
qctecmdr
651d9fc79b Merge "gralloc: Move WFD usage flag to sanctioned vendor bit" 2020-01-28 20:15:08 -08:00
Tharaga Balachandran
ed245fe3e7 gralloc: Move WFD usage flag to sanctioned vendor bit
CRs-Fixed: 2606686
Change-Id: I82408c0f2747d50d6f7cfce8e665a45897518a76
2020-01-27 10:23:42 -08:00
Alisha Thapaliya
cf0c470a06 display: Add display_color_processing header to commonsys-intf
Add header file as a part of display_intf_headers

Change-Id: Idee868ea539a4e4675245d6b7b57c7d1c6c8f5e1
2020-01-23 14:13:17 -08:00
Ramakant Singh
836f8a0dc7 libqdmetadata: System Extension partition and Product partition
libqdmetadata to Product partition

Change-Id: I609470b5e772371725af7ca742c6ae5b49033ed5
2020-01-22 04:57:34 -08:00
Ramakant Singh
45f33e536d qdmetadata: QSSI violator whitelist removal
Remove system partition 
Change-Id: I686f4910db0e5b1ed4d3516bd4b5901c6cd3eedc
2020-01-22 11:42:01 +05:30
Abhijith Desai
e4c68d0076 Merge tag 'display-android-commonsys.lnx.1.1-200103' into display-sysintf.lnx.1.2
* tag 'display-android-commonsys.lnx.1.1-200103':
  commonsys-intf: display: Add SmoMo mode interface
  display: update frame scheduler interface

Change-Id: I7473b510e2672c4602f2036f75bc97f7ed0819eb
2020-01-03 18:41:01 +05:30
Linux Build Service Account
6ad5ffb472 Merge "display: update frame scheduler interface" into display-android-commonsys.lnx.1.1 2019-12-16 21:58:51 -08:00
ckosuru
55eea11c97 display upmerge from display-android-commonsys.lnx.1.1 to display-sysintf.lnx.1.2
Change-Id: I2c9cc4bc3d87cb69bfb1a564ab7fdafe51fd2735
2019-12-04 13:27:03 +05:30
Yujun Zhang
9c2955c53f commonsys-intf: display: Add SmoMo mode interface
Add interfaces which allow users to get and set SmoMo
mode.

Change-Id: I2e0adb367cf17421dd69bf4cbcaa568dc3d3f1fb
2019-11-28 13:48:36 +08:00
Padmanabhan Komanduru
dc6ed9c81a display: update frame scheduler interface
Update the interface for frame scheduler to add
the timestamp of the fence.

Change-Id: Ic1ec16714b1792e761d03a7637d2e601a9c5d998
CRs-Fixed: 2572379
2019-11-20 19:53:37 +05:30
Dileep Marchya
e0138f512a display: Add frame scheduler interface
- Add frame scheduler interface.
- Add version for composer extension interface.

Change-Id: Ic00d30a8fffc8d73888c4e1bc82312920f2bb284
2019-11-15 19:49:17 +05:30
Dileep Marchya
ee4b607c12 display: Add composer extension interface.
Change-Id: I73d7105994f7fb8e25fd9b1dc430c220d13357a6
2019-11-15 15:08:14 +05:30
Yujun Zhang
a6d10b47e9 commonsys-intf: display: add Smomo config interface
Add Smomo config interface definition.

Change-Id: I0fcf9af230a76c535d07e6968a93867f67840f7b
2019-11-07 15:16:57 +08:00
Linux Build Service Account
9832105fb8 Merge "commonsys-intf: display: Add frame extension interface" into display-android-commonsys.lnx.1.1 2019-10-12 17:40:41 -07:00
Ray Zhang
ddafc5051b commonsys-intf: display: Add frame extension interface
Add initial frame extension interface definition.

Change-Id: I2d1a7ba2e950910a81f4c2b86b93f5f03c2c3fd5
2019-10-08 13:26:10 +08:00
Akshata Sahukar
8a8657c675 qdMetadata: Add support to set CVP metadata repeat flag
Add support to receive CVP_METADATA_FLAG_REPEAT flag information
from source to consumer.

Change-Id: I5fcfd83f93db47e9840d604fb7ac5c3feb01e776
Signed-off-by: Akshata Sahukar <asahukar@codeaurora.org>
2019-10-07 15:25:59 -07:00
Maheshwar Ajja
99fa6bb7a8 qdmetadata: add CVP metadata flags support
Add support for CVP Metadata flags for source to inform
more details about the metadata to consumer.

Change-Id: I17a4ea6d3c72f9b7fc194bbb5b66f7fefb06b0a3
2019-10-01 13:57:37 -07:00
Naseer Ahmed
168f8f1af2 display: commonsys: Add PRODUCT_PACKAGES for display interfaces
Change-Id: I7ff9afac08e7e20520c52ec1d8a39ae660e3da96
2019-09-25 21:05:34 -04:00
Linux Build Service Account
ea9b42cae3 Merge "commonsys-intf: display: Update SmoMo interface" into display-android-commonsys.lnx.1.1 2019-08-20 04:13:55 -07:00
Linux Build Service Account
68b853aadb Merge "qdmetadata: Add support for additional video cvp stats" into display-android-commonsys.lnx.1.1 2019-08-08 02:09:43 -07:00
Ray Zhang
7c96b4a99a commonsys-intf: display: Update SmoMo interface
Add version information in SmoMo interface to make sure the
API of clients and SmoMo implementation are compatible. Also
add buffer dequeue duration in SmoMo interface which is used
to update SmoMo internal states.

Change-Id: I65cf2cdb8afedb45d6576d4931e4d074b8b2f7f4
2019-08-07 19:23:17 +08:00
Akshata Sahukar
aab1e5670f qdmetadata: Add support for additional video cvp stats
Add support to receive capture rate and cvp frame rate to video
driver to help configure HFI_PROPERTY_CONFIG_CVP_FRAME_RATE_HINT
property.

Change-Id: Ia87f4762a63a3dfcc5e6613c6e0369a28f246fdc
2019-08-06 10:24:53 -07:00
Rajavenu Kyatham
90699105c2 commonsys-intf: display: Add frame extn interface
CRs-Fixed: 2482022
Change-Id: Iab4470b2f6fc5161a84557de3d50dfca6f591940
2019-07-04 19:18:38 +05:30
Abhishek Jain
ac3641e0a1 display: compilation fix in gralloc
if gr_priv_handle.h is accessed via C files, it throws error.
Added ifdef for cpluplus to fix this.

Change-Id: I16e593fb369205fefec76b05e9c6199b376d2f67
2019-06-14 17:58:03 +05:30