Commit Graph

3646 Commits

Author SHA1 Message Date
followmsi 07b4c5ad97 Merge branch 'lineage-15.1-caf-8996' of https://github.com/LineageOS/android_hardware_qcom_display into mido-los-15.1-new 2018-03-11 17:09:24 +01:00
Bruno Martins 13d89bfc6f Merge tag 'LA.UM.6.5.r1-06300-8x96.0' into HEAD
"LA.UM.6.5.r1-06300-8x96.0"

Change-Id: I6766485d16c63ce014989cdd7cd5553bd1379fbb
2018-02-16 11:21:59 +00:00
Linux Build Service Account 5f4e0990f9 Merge b8d27fb058 on remote branch
Change-Id: I36b07a3d62872311758bfdb24c99ed53c366b778
2018-02-07 01:41:28 -08:00
dadi11 c9a7072f0e Merge branch 'staging/lineage-15.1-caf-8996' of https://github.com/LineageOS/android_hardware_qcom_display into HEAD
Change-Id: Idba39cd7fc4deb6c13e1b3eb44c8c7cf7873911d
2018-02-04 12:01:12 +01:00
Linux Build Service Account b8d27fb058 Merge "hwc2: Validate input parcel values for few qclient methods." 2018-02-02 11:06:05 -08:00
Ramkumar Radhakrishnan 8f37f289d9 hwc2: Needs validation on display animation
Set appropriate flag to validate the display during the start of
display animation.

Change-Id: If71814cb26b75cc111e5517381344b562be03a51
CRs-Fixed: 2149630
2018-01-25 22:49:19 -08:00
Rohit Kulkarni 63d8499889 hwc2: Validate input parcel values for few qclient methods.
Validate values read from input parcel as part of handling of
few qclient methods

Change-Id: Icf928f409a5c2ac76a73e95de58cb0ebc59d24d5
CRs-Fixed: 2114346
2018-01-25 17:16:59 -08:00
Linux Build Service Account 3336904a7b Merge "hwc2: Add support for disabling external animation" 2018-01-25 11:44:03 -08:00
Linux Build Service Account 500610f599 Merge "sdm: Close stored retire fence on display deinit" 2018-01-23 12:33:28 -08:00
Linux Build Service Account c2eff78826 Merge "hwc2: Avoid flush for command mode panels" 2018-01-23 12:33:27 -08:00
Linux Build Service Account 8a93c60afc Merge "sdm: Move CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM under flag" 2018-01-23 12:33:26 -08:00
Linux Build Service Account 8f8370f644 Merge 28a800b4b9 on remote branch
Change-Id: Iaa2bad38b4a3e4191d438419ab8ef5032c2c9e0c
2018-01-22 21:20:27 -08:00
Ethan Chen e9b991912c qdutils: Remove qdutils source files from libqdMetaData
* This looks like a copy-paste error from upstream.

Change-Id: If40577b637871bd5443d34f254061b4170a6f5e2
(cherry picked from commit f8521648a009c0aa940814a33a2497410cd8709a)
2018-01-21 14:18:15 +00:00
dadi11 ee9aec33b6 Merge branch 'staging/lineage-15.1-caf-8996' of https://github.com/LineageOS/android_hardware_qcom_display into HEAD
Change-Id: Ic92c5edd0aef5c33dc84ef46ed38d8671d746da9
2018-01-20 23:30:38 +01:00
Linux Build Service Account a54f959bd5 Merge "gralloc1: Get color space from metadata handle" 2018-01-19 08:19:06 -08:00
Pullakavi Srinivas ded91ffa65 sdm: Close stored retire fence on display deinit
CRs-Fixed: 2161136
Change-Id: I27a4fc7cdac226fcae095f90bdb09f9b6e9a9162
2018-01-18 23:22:33 -08:00
Baldev Sahu da6b6bba3e sdm: Move CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM under flag
- Move HWC2_CAPABILITY_SKIP_CLIENT_COLOR_TRANSFORM under
  compilation flag as it might not be supported in some target

- Fix issue due to which composition does not fallback to gpu
  when setColorTransform fails

Change-Id: I0ef4ac528145c3dda42fe56db2da180b8303b179
2018-01-16 01:24:26 -08:00
Linux Build Service Account 722d6f86da Merge "hwc2: Determine virtual display presence based on target specific property" into display.lnx.3.1.r8-rel 2018-01-14 21:25:42 -08:00
Bharath Gopal 59477abed1 hwc2: Determine virtual display presence based on target specific property
GetMaxVirtualDisplayCount returns a hard-coded value. Return virtual
 display count based on a property that is target specific.
 Return a value of 1 by default when the property is not found in the
 target device.

Change-Id: I4c9727ad1687fc7e53c89ce5e41973628022acec
2018-01-14 08:14:53 -08:00
Bharath Gopal 6d440a696a hwc2: Avoid adding default color mode when display PP is unsupported
For targets that do not support display post processing, setting of
 color modes is a no-op. The inclusion of the default Identity color
 mode in the color transform map will be avoided when the flag
 TARGET_EXCLUDES_DISPLAY_PP is set in order to signify that no color
 modes are supported when PP features are not supported in the target.

Change-Id: I554083083ed47d8e7b91867c582bb6ac367eddec
2018-01-14 08:14:15 -08:00
Linux Build Service Account 28a800b4b9 Merge "hwc2: Avoid adding default color mode when display PP is unsupported" 2018-01-12 00:41:33 -08:00
Uday Kiran Pichika ec835cbbb1 hwc2: Avoid flush for command mode panels
Avoid flush for command mode panels when layer stack
is empty

CRs-Fixed: 2170435
Change-Id: Ia99799e568d75c59ecf0b24ad04e967a028bc37c
2018-01-11 12:27:16 +05:30
Bharath Gopal 51de3be730 hwc2: Avoid adding default color mode when display PP is unsupported
For targets that do not support display post processing, setting of
 color modes is a no-op. The inclusion of the default Identity color
 mode in the color transform map will be avoided when the flag
 TARGET_EXCLUDES_DISPLAY_PP is set in order to signify that no color
 modes are supported when PP features are not supported in the target.

Change-Id: I554083083ed47d8e7b91867c582bb6ac367eddec
2018-01-08 23:08:49 -08:00
Bharath Gopal 3741732051 hwc2: Determine virtual display presence based on target specific property
GetMaxVirtualDisplayCount returns a hard-coded value. Return virtual
 display count based on a property that is target specific.
 Return a value of 1 by default when the property is not found in the
 target device.

Change-Id: I4c9727ad1687fc7e53c89ce5e41973628022acec
2018-01-05 12:49:39 +05:30
Steve Kondik a8c7129fe7 hwc: Set ioprio for vsync thread
* We're not doing this automatically anymore.

Change-Id: I0ba52fe4648938bd7a0309bc03dc439e3d906970
2018-01-04 20:42:14 +00:00
Rashed Abdel-Tawab 43b8f5f412
libdisplayconfig: Remove android.hidl.base
This is included in libhidltransport by default now

Change-Id: Ic85dd319045fc00dc15a03ed61ad46b530642c6a
2018-01-03 20:11:28 -05:00
Steve Kondik 795ee2cc25
Don't build lights module if vendor supplies it
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
2018-01-03 20:11:28 -05:00
Ethan Chen 508de5d306
display: Use project pathmap
Change-Id: Iabcd263ecf9f4eb28f4cd53862ba663c81275c10
2018-01-03 20:11:28 -05:00
Anjaneya Prasad Musunuri 069648e7a5 gralloc1: Get color space from metadata handle
Get color space from metadata handle when color metadata
is not defined

Change-Id: Ibeb0ce187e6c5b59d626345cf4d0d275c67df034
CRs-Fixed: 2160262
2018-01-01 20:11:54 -08:00
dadi11 fab2934f0d Merge branch 'staging/lineage-15.1-caf-8996' of https://github.com/LineageOS/android_hardware_qcom_display into HEAD
Change-Id: Iee23639860a50623d7e93cf0f3c636ac2cb1f3f4
2017-12-27 19:19:48 +01:00
Linux Build Service Account 8172b55621 Merge 194cc79c0a on remote branch
Change-Id: I3996d34895ca87c4894c27b97a1b5520fc2b88ba
2017-12-21 00:58:11 -07:00
Prabhanjan Kandula c20e361f6d hwc2: Delete hwc layers in display de-init
Delete stale hwc layers cleanly in display
deinit sequence to avoid heap and fd leaks.

Change-Id: If735ef9c94d2d95e7a00241ad0ee9a377a6290e3
CRs-fixed: 2142529
2017-12-19 01:57:52 -08:00
Linux Build Service Account 13b930c99d Merge ec96cf6221 on remote branch
Change-Id: Ic661cb8d73ccd0b92731c311ff8d230c64148196
2017-12-18 00:07:43 -07:00
TheScarastic 1455c2b481 liblight: Add disp_color_apis.h
Change-Id: Ib19f34ee0027f469fa576497e81d91cc626b15c0
2017-12-16 18:54:03 +01:00
Linux Build Service Account 194cc79c0a Merge "libgralloc: Fix adding offset to the mapped base address" 2017-12-15 14:08:52 -08:00
Naseer Ahmed ca12c72a80 hwc2: Add support for disabling external animation
CRs-Fixed: 2141089
Change-Id: I8ef40d359d0076ee02e08b11a9f270db8ad62897
2017-12-11 02:09:14 -08:00
Linux Build Service Account fe3a9cc565 Merge 1eb48064a7 on remote branch
Change-Id: I54ce465ba590e2864d2fafb290348888f5357442
2017-12-10 01:53:57 -08:00
Linux Build Service Account ec96cf6221 Merge "qdcm: apply color transform after QDCM mode set" 2017-12-08 13:54:35 -08:00
Ramkumar Radhakrishnan 94ded0b0fa libgralloc: Fix adding offset to the mapped base address
Bug: 63662821

CRs-Fixed: 2109325
Change-Id: Icf0f653125768fa4a1b2730e1a6afae46b180144
2017-12-07 12:31:35 +05:30
Ch Ganesh Kumar 9bcf305f2a qdcm: apply color transform after QDCM mode set
color inversion effect is cleared when QDCM display mode is set.
restore color transform matrix when QDCM mode is set.

Change-Id: I033422f4c6e97f28536498a03d55c79f5340019a
CRs-Fixed: 2120150
2017-12-01 16:50:01 +05:30
Linux Build Service Account f690813f7a Merge "sdm:fb: update cdm csc_type during HDR playback" 2017-11-30 08:38:17 -08:00
Ch Ganesh Kumar 8d85c19a5a sdm:fb: update cdm csc_type during HDR playback
The CSC matrix used in CDM block should be updated to
BT2020 format from default value during HDR playback.

CRs-Fixed: 2115066
Change-Id: I358608e68cdd2553a168e4bfc2bfdc968a0945ec
2017-11-28 02:50:21 -08:00
Linux Build Service Account c1984c0c56 Merge e0120497ab on remote branch
Change-Id: I0b1f2a4a3ea162e55fab9aa8031ae64b6d58430e
2017-11-27 05:58:47 -07:00
Sushil Chauhan 1eb48064a7 sdm: Avoid flush for Command mode panels
Avoid flush during secure display to non-secure display transition
(and vice-versa) for Command mode panels. This is to avoid blink
during these transitions.

CRs-Fixed: 1081415
Change-Id: Ic891737543a60996218bcd7d2bcd2371bd8d47a1
2017-11-22 05:18:36 -08:00
Linux Build Service Account 71fc093b6c Merge "libgralloc1: Avoid Cleanbuffer" 2017-11-21 12:55:35 -08:00
Linux Build Service Account 5239575eb9 Merge "hwc2: Support for CSC config for MDP3 targets" 2017-11-21 12:55:34 -08:00
Linux Build Service Account 2bc6fd149b Merge "gralloc1: Align buffer size for each layer" 2017-11-21 12:55:31 -08:00
Linux Build Service Account 4e604b78c7 Merge "hwc2: Fix usage bits for Rotator buffer during Secure Camera" 2017-11-17 08:14:19 -08:00
Linux Build Service Account 5096027549 Merge "sdm: Reset needs_validate_ when SurfaceFlinger shutdown" 2017-11-15 09:56:22 -08:00
Uday Kiran Pichika bb0b1bd4af libgralloc1: Avoid Cleanbuffer
Avoid invalidate when CPU reads and non-CPU writes to buffer

CRs-Fixed: 2142948
Change-Id: Iad4ea92b32ec94e3fdc56c87f2062b3c46cbb2c7
2017-11-15 16:40:42 +05:30