summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cec: Calculate buffer length to protect from overflowHEADcm-13.0-caf-8996Ramakant Singh2018-01-181-3/+5
| | | | | | Change-Id: I38b1e98ea5e1231a9cb3480b2f99a61dae957a25 CRs-Fixed: 2037019 CVE-2017-9689
* Merge tag 'LA.HB.1.3.2-29100-8x96.0' of ↵dianlujitao2016-10-161-2/+0
|\ | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/hardware/qcom/display into HEAD "LA.HB.1.3.2-29100-8x96.0" Change-Id: I3452bc9bd2efdfb2e14136bab16cfc00ce7190fa
| * Promotion of display.lnx.2.0-00050.Linux Build Service Account2016-10-061-2/+0
| |\ | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1000157 Iacde4a908f8aae389b1f5d28734f53b1f47a4916 sdm : Remove un necessary log messages Change-Id: I6f07c559abdce6881ebdeb4f9de58db748cc3e0e CRs-Fixed: 1000157
| | * Merge "sdm : Remove un necessary log messages" into dev-2.0Linux Build Service Account2016-10-031-2/+0
| | |\
| | | * sdm : Remove un necessary log messagesSravan Kumar D.V.N2016-07-111-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the per frame log messages while waiting for boot animation and enryption to complete to apply default mode. Change-Id: Iacde4a908f8aae389b1f5d28734f53b1f47a4916 CRs-fixed: 1000157
* | | | Merge tag 'LA.HB.1.3.2-27800-8x96.0' of ↵dianlujitao2016-09-2925-47/+260
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://source.codeaurora.org/quic/la/platform/hardware/qcom/display into HEAD "LA.HB.1.3.2-27800-8x96.0" Change-Id: I1d8a78563eae62ca46ac66009d69e78976a93bee
| * | | Promotion of display.lnx.2.0-00048.Linux Build Service Account2016-09-0113-41/+133
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1040942 I28d757af4178f581e6a83dc06198106c85fc7262 hwc: Store real buffer resolution in private handle. 1040942 Ic4c03cc5779418959732332d26b8ecb59c2483b5 sdm: Add rect mapping and interface to store actual reso Change-Id: I96c075e51d992f1db521b2f8649913c152439798 CRs-Fixed: 1040942
| | * | sdm: Add rect mapping and interface to store actual resolutionRamkumar Radhakrishnan2016-09-016-18/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Add rectangle mapping function to map a rectangle from one coordinate system to another coordinate system. 2. Add actual_width and actual_height in layer buffer to store the actual buffer resolution without alignment. 3. Populate actual width and height information of SDM layer buffer from private handle Change-Id: Ic4c03cc5779418959732332d26b8ecb59c2483b5 CRs-Fixed: 1040942
| | * | hwc: Store real buffer resolution in private handle.Ramkumar Radhakrishnan2016-08-307-23/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add real_width and real_height in private_handle_t to store the actual buffer resolution without alignment that client asked to allocate. Change-Id: I28d757af4178f581e6a83dc06198106c85fc7262 CRs-Fixed: 1040942
| * | | Promotion of display.lnx.2.0-00047.Linux Build Service Account2016-08-281-2/+22
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1060309 I4a786566440a60505cefcbb2dbe4ea08cc0c6322 sdm: Handle HDMI mode change with different pixel format 1060308 I947d2afb0e998dd302f5d91bbf329b8b07172eb8 libhdmi: set sync polarity based on HDMI mode Change-Id: Ie1ce488a9f4a96e440634c8f941a3a5828131af7 CRs-Fixed: 1060309, 1060308
| | * | libhdmi: set sync polarity based on HDMI modeKrishna Srinivas2016-08-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Populate the screen info polarity based on the current HDMI mode timing info. Change-Id: I947d2afb0e998dd302f5d91bbf329b8b07172eb8
| | * | sdm: Handle HDMI mode change with different pixel formatRamkumar Radhakrishnan2016-08-261-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Notify pixel format change through put vscreeninfo ioctl while changing the hdmi mode in DRC feature. Change-Id: I4a786566440a60505cefcbb2dbe4ea08cc0c6322
| * | | Promotion of display.lnx.2.0-00044.Linux Build Service Account2016-07-2212-4/+105
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1021682 I9147b5690df34380e50b994fc2cc445690f79837 sdm: Add deterministic frame rate support in SDM 1021682 I031fed2f92b8e0b23cd0bfff35537abf17223a35 qdMetadata: Add support for deterministic frame rate Change-Id: I36d891f9f8026de157ef50375c3524df13d5719b CRs-Fixed: 1021682
| | * | sdm: Add deterministic frame rate support in SDMRay Zhang2016-07-1410-3/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Deterministic frame rate feature needs video's frame count and timestamp to control its cadence, so pass this info to display driver in SDM. CRs-fixed: 1021682 Change-Id: I9147b5690df34380e50b994fc2cc445690f79837
| | * | qdMetadata: Add support for deterministic frame rateRay Zhang2016-07-142-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Determinitic frame rate needs frame count and timestamp as input parameters to calculate corresponding cadence of video stream. Use metadata to exchange this info between display and video. CRs-fixed: 1021682 Change-Id: I031fed2f92b8e0b23cd0bfff35537abf17223a35
* | | | Merge tag 'LA.HB.1.3.2-20700-8x96.0' of ↵Steve Kondik2016-08-0123-54/+403
|\| | | | | | | | | | | | | | | | | | | | | | | git://codeaurora.org/platform/hardware/qcom/display into cm-13.0 "LA.HB.1.3.2-20700-8x96.0"
| * | | Promotion of display.lnx.2.0-00043.Linux Build Service Account2016-07-183-3/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1041470 I255c652d81179a9c601343611b2efead0494dc16 sdm: Fix HDMI connect failures while changing the mode 1041470 I7c7a231c0e7cb24cc7ded93bb7db1b4ec8078e96 Revert "sdm: Fix Dynamic frame rate issue" Change-Id: I714817fc72461e1bca7a8eea57417c1b9c423d66 CRs-Fixed: 1041470
| | * | sdm: Fix HDMI connect failures while changing the modeRamkumar Radhakrishnan2016-07-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix HDMI connect failures while changing the mode with lower fps to the mode with higher fps. Change-Id: I255c652d81179a9c601343611b2efead0494dc16 CRs-Fixed: 1041470
| | * | Revert "sdm: Fix Dynamic frame rate issue"Ramkumar Radhakrishnan2016-07-132-2/+1
| | |/ | | | | | | | | | | | | | | | | | | This reverts commit e3a33533f158201cc825923d2f1ac73ddee6fbad. CRs-Fixed: 1041470 Change-Id: I7c7a231c0e7cb24cc7ded93bb7db1b4ec8078e96
| * | Promotion of display.lnx.2.0-00042.Linux Build Service Account2016-07-065-16/+36
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1037202 Ia0fb8f8837c3d4df854cae1874c6200153d666c7 sdm: Fix Dynamic frame rate issue 1037202 Ib9d21f3e91f2839c4db48dd2a4f9212ebc6c4ed7 sdm: Reconfigure display on SetRefreshRate 1037623 Ic0b5df5559f518aa6d04caa9c99d9ba078e40f7d hdmi: Reset S3D configuration on bootup Change-Id: I55563689301a8d3974a37c6c3950d30499716ac9 CRs-Fixed: 1037623, 1037202
| | * hdmi: Reset S3D configuration on bootupfeifanz2016-07-062-12/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Prevent incorrect S3D configuration to show on TV. If User is playing S3D content on TV and issues framework reboot (adb shell stop;start) and bootup animation should come up in 2D. CRs-fixed: 1037623 Change-Id: Ic0b5df5559f518aa6d04caa9c99d9ba078e40f7d
| | * sdm: Reconfigure display on SetRefreshRateManoj Kumar AVM2016-07-053-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Reconfigure display on SetRefreshRate. 2. Honor refresh rate only if the delta between requested and standard refresh rate is within the threshold (set to 1 fps). CRs-Fixed: 1037202 Change-Id: Ib9d21f3e91f2839c4db48dd2a4f9212ebc6c4ed7
| | * sdm: Fix Dynamic frame rate issueManoj Kumar AVM2016-07-052-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Return to configured HDMI resolution once dynamic frame rate is exited. CRs-Fixed: 1037202 Change-Id: Ia0fb8f8837c3d4df854cae1874c6200153d666c7
| * | Promotion of display.lnx.2.0-00041.Linux Build Service Account2016-07-062-3/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1037623 Ia4776572ebd5f6abad30b68d0fa6fe0a8f29dd4c hdmi: Set correct initial S3D configuration Change-Id: Icafc5ac7b7281651e9005644cb0f7a4d9cb98d25 CRs-Fixed: 1037623
| | * hdmi: Set correct initial S3D configurationfeifanz2016-07-052-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | Set correct initial S3D configuration, or compostion manager and strategy table can not perform correctly. CRs-fixed: 1037623 Change-Id: Ia4776572ebd5f6abad30b68d0fa6fe0a8f29dd4c
| * | Promotion of display.lnx.2.0-00039.Linux Build Service Account2016-06-3010-18/+93
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 999055 Ie78b0310ac5212f41bbd46f4f049ecdde623822d sdm: Remain display framerate after dynamic resolution c 1036562 I167d487f9ee769dcf1ae26e68fc63fd8d94653f8 sdm: Fix dynamic refresh rate setting during S3D video p 999055 Ic39d0c0dd47c71e8a677d1e52af2c485494235b3 sdm: Notify surfaceflinger to draw S3D framebuffer targe 1036562 Ie055238da203de58d4a0e5310659e9277c71d602 sdm: Fix rotator input buffer fence initialization for S 1036562 Ib22e16cfe75f558531196b990e6d5a40310c8ead hdmi: Set correct S3D configuration on bootup Change-Id: Ic3a5c129bf81aedd33e5aaf33c43c56f1d50ca81 CRs-Fixed: 999055, 1036562
| | * Merge "sdm: Remain display framerate after dynamic resolution change" into ↵Linux Build Service Account2016-06-302-2/+2
| | |\ | | | | | | | | | | | | dev-2.0
| | | * sdm: Remain display framerate after dynamic resolution changefeifanz2016-06-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Keep HDMI resolution after dynamic frame rate feature switched to or binder set on HDMI device. 2. Disable color manager operations on HDMI device. Change-Id: Ie78b0310ac5212f41bbd46f4f049ecdde623822d
| | * | Merge "hdmi: Set correct S3D configuration on bootup" into dev-2.0Linux Build Service Account2016-06-303-14/+16
| | |\ \
| | | * | hdmi: Set correct S3D configuration on bootupManoj Kumar AVM2016-06-303-14/+16
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly set proper S3D configuration on bootup. This is needed to prevent incorrect S3D configuration to show on TV. If User is playing S3D content on TV and issues framework reboot (adb shell stop;start) and bootup animation should come up in 2D. CRs-Fixed: 1036562 Change-Id: Ib22e16cfe75f558531196b990e6d5a40310c8ead
| | * / sdm: Notify surfaceflinger to draw S3D framebuffer targetfeifanz2016-06-304-1/+71
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | Set S3D flag to private handle so that SurfaceFlinger can help to draw S3D framebuffer target according to the flag in case MDP can not handle some of S3D cases. Change-Id: Ic39d0c0dd47c71e8a677d1e52af2c485494235b3 CRs-fixed: 999055
| | * Merge "sdm: Fix dynamic refresh rate setting during S3D video playback." ↵Linux Build Service Account2016-06-301-1/+2
| | |\ | | | | | | | | | | | | into dev-2.0
| | | * sdm: Fix dynamic refresh rate setting during S3D video playback.Ramkumar Radhakrishnan2016-06-301-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set metadata refresh rate when there is only one non S3D video updating layer is present. Change-Id: I167d487f9ee769dcf1ae26e68fc63fd8d94653f8 CRs-Fixed: 1036562
| | * | sdm: Fix rotator input buffer fence initialization for S3D use caseRamkumar Radhakrishnan2016-06-301-0/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | Assign MDP output fence to release fence fd of rotator input buffer appropriately to avoid tearing issue. Change-Id: Ie055238da203de58d4a0e5310659e9277c71d602 CRs-Fixed: 1036562
| * | Promotion of display.lnx.2.0-00038.Linux Build Service Account2016-06-2810-22/+217
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1032036 I4bdd418964f4b41e25ee166abba2e828707dd4ce sdm: Add binder support to force set HDMI framerate 1028406 If4a1ce2a518dd427c5680e6408ce7276457c66ca libmemtrack: Update the parsing of flags field 1032036 I46e58d745a9601b71d02b6d91b226616c6cb7a52 sdm: Add mode chose for dynamic framerate switch 1020517 Ib5c91ce5d4d8ff7cd5c57080e9084502d2d25599 sdm: Power on HDMI panel when pluged in 1017762 I8cd8c16cdb83196c1ea115621ae52be74ab43b09 sdm: Limit composed layers for non primary displays Change-Id: Ie63df62d6dbc067ccc39e5d9f22d029330cfbd66 CRs-Fixed: 1020517, 1032036, 1017762, 1028406
| | * Merge "sdm: Limit composed layers for non primary displays" into dev-2.0Linux Build Service Account2016-06-283-4/+8
| | |\
| | | * sdm: Limit composed layers for non primary displaysKrishna Srinivas2016-06-283-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While configuring Constraints, limit max_layers to 2 only if the display is not primary. Without this condition composition will fallback to GPU (instead of MDP) for HDMI set as primary. Change-Id: I8cd8c16cdb83196c1ea115621ae52be74ab43b09 CRs-Fixed: 1017762
| | * | Merge "sdm: Add binder support to force set HDMI framerate" into dev-2.0Linux Build Service Account2016-06-283-3/+52
| | |\ \
| | | * | sdm: Add binder support to force set HDMI frameratefeifanz2016-06-283-3/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add binder support to set HDMI frame rate in case HDMI used as primary interface. Change-Id: I4bdd418964f4b41e25ee166abba2e828707dd4ce CRs-fixed: 1032036
| | * | | Merge "sdm: Add mode chose for dynamic framerate switch" into dev-2.0Linux Build Service Account2016-06-283-13/+147
| | |\| |
| | | * | sdm: Add mode chose for dynamic framerate switchfeifanz2016-06-283-13/+147
| | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for HDMI dynamic frame rate switch mode chose, it should be according to comparison with destination timing info. Change-Id: I46e58d745a9601b71d02b6d91b226616c6cb7a52 CRs-fixed: 1032036
| | * / sdm: Power on HDMI panel when pluged infeifanz2016-06-281-1/+9
| | |/ | | | | | | | | | | | | | | | | | | Power on the device and refresh the screen on HDMI as primary connect. Change-Id: Ib5c91ce5d4d8ff7cd5c57080e9084502d2d25599 CRs-fixed: 1020517
| | * libmemtrack: Update the parsing of flags fieldHarshdeep Dhatt2016-06-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | An extra flag is added to the flags field of a memory entry which sets 's' if the memory is secure. Hence, update the parsing of a memory entry's fields value. Change-Id: If4a1ce2a518dd427c5680e6408ce7276457c66ca
| * | Promotion of display.lnx.2.0-00035.Linux Build Service Account2016-06-011-1/+2
| |\| | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1018266 989972 Ifbda255f290d4d3db8308b110515b966c7e57fc5 sdm: Adding mapping of MDP RGB565_UBWC format to SDM f Change-Id: Idf85af348035435332132529feea46eebb5c657c CRs-Fixed: 989972, 1018266
| | * sdm: Adding mapping of MDP RGB565_UBWC format to SDM formatAnjaneya Prasad Musunuri2016-05-261-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added above mapping to resolve GPU fallback when input format is BGR565_UBWC. Updated supported rotator output formats to be same as supported input formats. Change-Id: Ifbda255f290d4d3db8308b110515b966c7e57fc5 CRs-Fixed: 989972
| * | Promotion of display.lnx.2.0-00032.Linux Build Service Account2016-05-2310-31/+92
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1006155 I957b9d5902f6ea3714b46f3900e9f039b4667f0a gralloc: Handle RAW_OPAQUE formats similar to blob 1009711 Id215a6ee9c6aa2953b0e2c01af0bad035b728a46 sdm: Set system property when HDMI is Primary 987539 I6216e882cece1eeea5a99c6b843e3ac63d0b6be0 hwc: Initialize pipe type to kPipeTypeUnused 1010600 I812a19b151fce719653055a0136e3c8da455b70c sdm: Handle spurious wakeup from pthread_cond_wait 1011672 I3fae8436aff4bf4da4cf4e8a39c177ab7532c3e5 sdm: Fix HDMI Primary and Virtual Display concurrency us Change-Id: I314fea0400c5a594e8e304841b2ce228e71e1d35 CRs-Fixed: 1009711, 1010600, 1011672, 987539, 1006155
| | * Merge "sdm: Handle spurious wakeup from pthread_cond_wait" into dev-2.0Linux Build Service Account2016-05-231-2/+2
| | |\
| | | * sdm: Handle spurious wakeup from pthread_cond_waitSaurabh Shah2016-05-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDM uses entry/exit lock in draw thread to prevent other threads from executing in between prepare/set phases. However, waiting threads may be woken up from pthread_cond_wait "spuriously" and if they don't re-evaluate the predicate, they could execute when they shouldn't. To quote the Holy Man Page for pthread_cond_wait: "When using condition variables there is always a Boolean predicate involving shared variables associated with each condition wait that is true if the thread should proceed. Spurious wakeups from the pthread_cond_timedwait() or pthread_cond_wait() functions may occur. Since the return from pthread_cond_timedwait() or pthread_cond_wait() does not imply anything about the value of this predicate, the predicate should be re-evaluated upon such return" Change-Id: I812a19b151fce719653055a0136e3c8da455b70c CRs-fixed: 1010600
| | * | Merge "gralloc: Handle RAW_OPAQUE formats similar to blob" into dev-2.0Linux Build Service Account2016-05-231-0/+2
| | |\ \
| | | * | gralloc: Handle RAW_OPAQUE formats similar to blobNaseer Ahmed2016-05-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I957b9d5902f6ea3714b46f3900e9f039b4667f0a CRs-fixed: 1006155