Commit Graph

4146 Commits

Author SHA1 Message Date
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
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
Ravi Ranjan
d831a3d42e gralloc: Add flag PRIV_FLAGS_TILE_RENDERED
CRs-fixed: 2793240
Change-Id: I7f77e344649bda320bfcde01fb0f5ba276bc950b
2020-12-18 10:26:54 -08:00
Ramkumar Radhakrishnan
ea0145c72d Define hidl interface to query display type for TUI client
Add hidl interface to query display type information for a given
physical display id

Change-Id: Iebe1f243225d26c24584b57a02df2aef57ef1a4c
2020-12-02 14:40:39 -08:00
Zube Molokwu
058b55de20 display:Adds ColorSpace macros to support gralloc4
Change-Id: Ided5ac9548269adaf8f5414ba0dd86abadb51d9b
2020-11-09 10:18:23 -08:00
qctecmdr
9f824af494 Merge "display: Add feature flag for dynamic Early Wakeup config" 2020-10-16 04:51:33 -07:00
Rheygine Medel
29c60d75b1 display: Add checks on GetActiveConfig API
This change adds null pointer checks on the GetActiveConfig API.

Change-Id: Ic61507ab9fe083f85a7708e262ecdf7714cf9087
CRs-Fixed: 2784749
2020-10-14 14:26:07 -07:00
Sushil Chauhan
43d058155a display: Add feature flag for dynamic Early Wakeup config
Add feature flag for dynamic Early Wakeup configuration, where SF
can enable or disable the Early Wakeup notification for a display,
based on its Power mode.

CRs-Fixed: 2796511
Change-Id: If517483676b95e3484d65c2478ac32a03903e0a4
2020-10-13 11:33:48 -07:00
Rheygine Medel
7dd7b364b3 display: Add API to support config switch validation
This change adds a new API which will be called by SF whenever it
tries to switch the device's active config.

Change-Id: Iea57e4939ca1c2693605c623b3133b9203ccfdd1
CRs-Fixed: 2777628
2020-10-09 14:32:39 -07:00
Ravi Ranjan
c6de99d1f5 display: Fix 'Unused parameter' errors
Compilation throws 'Unused parameter' errors after including
client_interface.h/config_defs.h header in the client's source
file.

Change-Id: I3a892801264890a813ca5a63468c76ef770e641d
CRs-Fixed: 2762670
2020-10-06 09:42:36 +05:30
qctecmdr
1e64e1f122 Merge "DisplayConfig: Add support to notify idling." 2020-09-29 23:19:04 -07:00
qctecmdr
cd6544ad4c Merge "Display: Handle S3D format set/get correctly" 2020-09-28 23:54:39 -07:00
Pullakavi Srinivas
2ff0ad7075 DisplayConfig: Add support to notify idling.
CRs-Fixed: 2786504
Change-Id: Ibc48cde45063de616b8c65db856a2b3056efc55d
2020-09-28 05:11:24 -07:00
Rheygine Medel
528c691743 display: Add validations and logging on DisplayConfig
Change-Id: I60f4483acb050f94ddf4d81318d6baf5e2a22e03
2020-09-25 09:35:27 -07:00
Baldev Sahu
356869cea9 Display: Handle S3D format set/get correctly
Use vendor meta data status for S3D_FORMAT. This
support is only for legacy reason.

Change-Id: I451829dfe5501d8bd24fa5818cb336f077c5344e
2020-09-25 17:19:00 +05:30
qctecmdr
80d59575ba Merge "qdMetaData: Disable Gralloc4 for non-Android build" 2020-09-21 22:45:05 -07:00
Xiaoyu Huang
4ea69777ab qdMetaData: Disable Gralloc4 for non-Android build
Gralloc4 header is defined in Android framework and can't be
used by non-Android build. Add compile option to disable Gralloc4
for non-Android build.

Change-Id: I9f42f451c0105fd96776211d07724939665358da
2020-09-17 19:42:06 -07:00
Padmanabhan Komanduru
d08bb82222 displayconfig: perform hidl_cb for default switch case
Change-Id: Iff191b7278840e39aedd68f2436368e6453cdcd6
CRs-Fixed: 2777786
2020-09-16 12:03:01 -07:00
qctecmdr
7c6fc8e155 Merge "display: Add api to enable/disable Early Wake-up" 2020-09-06 00:06:30 -07:00
qctecmdr
e60e826686 Merge "display: Add video TS info metadata" 2020-09-06 00:06:30 -07:00
Sushil Chauhan
6121fdee4d display: Add api to enable/disable Early Wake-up
Add Display Extension api to enable or disable Early Wake-up on a
given display.

CRs-Fixed: 2765806
Change-Id: Iee3a73bb2ff18044772519cecc406aa59f2aa542
2020-09-03 10:43:18 -07:00
qctecmdr
7cb36a2bfe Merge "display: Add feature flag for Phase Offset Extension" 2020-09-03 00:16:09 -07:00
qctecmdr
cb4a416e2d Merge "displayconfig: Add RC Feature query support" 2020-09-03 00:16:09 -07:00
Shrikara B
21c0d729d6 display: Add video TS info metadata
Add support to pass new video timestamp info metadata
in gralloc buffer. Add support in both qdmetadata
and Gralloc4 interface.

CRs-Fixed: 2713472
Change-Id: Ica7776c6594ec3224f631f2eb23a1988f075313f
2020-09-03 10:59:32 +05:30
Mathew Joseph Karimpanal
fe080b5bce displayconfig: Add RC Feature query support
Add support to query if RC Feature is available.

CRs-Fixed: 2758787
Change-Id: I463382fba34cbfbddef13e976bb055a0a362eb14
2020-09-03 00:44:38 +05:30
Sushil Chauhan
2e089c5397 display: Add feature flag for Phase Offset Extension
Define the feature flag for Phase Offset Extension.

CRs-Fixed: 2754160
Change-Id: Iebf238a9d12db16f3cfc9b09dc6233f0551155b7
2020-09-02 00:00:13 -07:00