summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-10.0.0_r37' into ↵HEADlineage-17.1Kevin F. Haggerty2020-06-015-0/+27
|\ | | | | | | | | | | | | | | | | | | | | staging/lineage-17.1_merge-android-10.0.0_r37 Android 10.0.0 Release 37 (QQ3A.200605.001) * tag 'android-10.0.0_r37': sdm: Add support of SetLayerColorTransform with GL composition fallback Change-Id: I0fc76ce81a365d377fe2cbf75cc50d331ec09ef3
| * Snap for 6300693 from 9117ee5fde4d3033bf591d3b6dae642240aa9c21 to ↵android-build-team Robot2020-03-165-0/+27
| |\ | | | | | | | | | | | | | | | qt-qpr3-release Change-Id: Iaa8c5ac1a240a8be1bce2e869cbbb7624a14f8bc
| | * sdm: Add support of SetLayerColorTransform with GL composition fallbackYichi Chen2020-03-165-0/+27
| |/ | | | | | | | | | | | | | | | | | | | | | | On legacy devices where per layer color transform is not supported, the call of SetLayerColorTransform cannot fallback to GL composition correctly because the error handling of the call in setPerFrameData cannot receive the unsupported error immediately. The patch implemented SetLayerColorTransform to trigger GL composition fallback. Bug: 140917834 Test: PTS with SetLayerColorTransform Change-Id: Ib41eb18d3c141714dbf6276b59b33f6d4d04f8a1
* | display: Fix path to vendor/qcom/opensourcerazorloves2020-01-091-3/+3
| | | | | | | | | | | | | | QC_OPEN_PATH is not defined anywhere, so display_config_version was not being set properly, resulting in broken hwcomposer. Change-Id: I29b2e902af6a157c863408ed5f60be115caa859f
* | display: histogram: Add missing epoll_event.h includestaging/lineage-17.0_merge-android-10.0.0_r9razorloves2019-12-111-0/+1
| | | | | | | | | | | | Fixes "error: variable has incomplete type 'struct epoll_event'" Change-Id: I7e21e5aa176e01142d580fac85d956c333b0c52d
* | Add C2D_COLOR_FORMAT_420_TP10 to C2D_YUV_FORMATLuK13372019-12-111-0/+1
| | | | | | | | | | | | | | * It seems like CAF forgot to include it in public HALs, breaking compilation for libc2dcolorconvert target. Change-Id: I0e3efc0eb6eccaa250e24f1056cc3db8935e5821
* | display: Include needed kernel headersrazorloves2019-12-112-0/+2
| | | | | | | | Change-Id: I7d3a2a870a1c6294d5e4c2695bc270b182e1bd00
* | Snap for 5631559 from ebf8040e3931696d1bb371cc1b61679a62b888fb to ↵android-build-team Robot2019-06-043-6/+13
|\| | | | | | | | | | | qt-qpr1-release Change-Id: Ia0d7a05b38aab2294eaf988c57a91e4acbd6472d
| * hwc2: Teardown CWB before suspendNaseer Ahmed2019-06-033-6/+13
|/| | | | | | | | | | | am: 1b9225d8d3 Change-Id: Ie905821f940f3c778b0db6bf826765edce82ceca
| * hwc2: Teardown CWB before suspendNaseer Ahmed2019-05-303-6/+13
|/ | | | | | | | | | | Teardown CWB before suspend. So that resume can go without any CWB. Bug: 130203599 Bug: 130512159 Test: run vts -m VtsHalGraphicsComposerV2_2Target Acked-by: Ramakant Singh <ramakant@codeaurora.org> Change-Id: I913279aafef9dc246ba9e22e74ffadc59f5c3737
* Remove getDisplayBrightnessSupport register.Peiyong Lin2019-04-112-11/+9
| | | | | | | | Brightness is already a per display capability, we don't need this API. BUG: 130313275 Test: build Change-Id: I56658285020307b0f1d2203b41de029075710239
* Register GET_DISPLAY_CAPABILITIES function pointer correctly.Peiyong Lin2019-04-101-3/+5
| | | | | | BUG: 130195295 Test: atest VtsHalGraphicsComposerV2_3Target Change-Id: I1e1b6754c0c7703b413c12800eceef76d1927ee8
* Merge changes from topic "readbackfix-qcom" into qt-devValerie Hau2019-04-0915-10/+69
|\ | | | | | | | | | | * changes: hwc2: Teardown CWB in Create Virtual Display Revert "sdm: Fix Concurrent Writeback fence handling"
| * hwc2: Teardown CWB in Create Virtual DisplayGurpreet Singh Dhami2019-04-0815-3/+65
| | | | | | | | | | | | | | | | | | | | Teardown CWB in Create Virtual Display. This is required to free up WB resources if they are already reserved by readback api calls. Change-Id: Icbfedc22c67357688daef1ba559e386c3a3add70 Bug: 118337749 Test: VtsHalGraphicsComposerV2_2TargetTest
| * Revert "sdm: Fix Concurrent Writeback fence handling"Gurpreet Singh Dhami2019-04-081-8/+5
| | | | | | | | | | | | | | | | This reverts commit 468c1e1ba74179022a55d1e4c79e511693ca276e. Bug: 118337749 Test: VtsHalGraphicsComposerV2_2TargetTest Change-Id: Ice33e8f950e5ddee567d8b56500f1b073d1270c3
* | Merge "hwc2: Add color compensation feature for adaptive color mode" into qt-devTreeHugger Robot2019-04-098-11/+381
|\ \
| * | hwc2: Add color compensation feature for adaptive color modelinpeter2019-04-088-11/+381
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using transfer matrix to do color compensation for adaptive color mode. Feature provides white compensation and saturation compensation. It configured by property vendor.display.adaptive_white_coefficient and vendor.display.adaptive_saturation_parameter. In addition, white compentation needs device calibraiton data (persist/display/calibrated_rgb) to calulate compensated value. And it has interface command to enable/disable. adb shell vndservice call display.qservice 201 i32 0 i32 1 Bug: 121231574 Bug: 116282483 Bug: 123483411 Test: Switch mode test and check dumpsys information (Need WhiteCompensation, Need SaturationCompensation, current transform) Change-Id: I5e1aabc31ffdd25172049f745ea4c74b7db02454
* / hwc: Fix issue with fallback for solid color layerTharaga Balachandran2019-04-051-1/+1
|/ | | | | | Bug: 129797327 Test: manual Change-Id: I78c029e1b05e78b94fba4ab04e59bb3f39eafb89
* Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-030-0/+0
|\ | | | | | | | | | | am: 36cca1b431 Change-Id: I5135d54f12dd4dae57a5e99745cd481f5d7fc8f1
| * Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur2019-04-023-8/+20
| |\ | |/ |/| | | | | Change-Id: Iaf62d93834ed800cd57eb0fff55638b2cffea2d7 BUG: 129345239
* | Merge "Merge remote-tracking branch ↵Robin Peng2019-04-012-6/+12
|\ \ | | | | | | | | | 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.101'"
| * \ Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.101'Robin Peng2019-03-142-6/+12
| |\ \ | | | | | | | | | | | | | | | | Bug: 128508596 Change-Id: Ifba77da45472df2819aa19d686def0af1a0cbb6b
| | * | hwc2: Validate bounds check for input parcel.Subash Chander2019-02-141-6/+11
| | | | | | | | | | | | | | | | | | | | CRs-Fixed: 2394384 Change-Id: Iba254b3579cd2c258c3cf80fe234a0de7d75e599
| | * | display: Disable boosted mode by defaultSubash Chander2019-02-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Framework sets a saturation of 10% by default which leads to selecting the "Boosted" mode. Disable this. Change-Id: Idcbacb88a904ff55cd13eec370af7915cf53bffa CRs-Fixed: 2349474
* | | | sdm: Update secure flag of FBT buffer appropriatelyNaseer Ahmed2019-03-261-2/+8
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update secure flag of frame buffer target buffer from sdm layer stack to hwlayer stack during commit Change-Id: Ie351fe45434bf918a7d5e41b7d7393c6742344ee CRs-Fixed: 2340051 BUG: b/35315015, b/127862411 Test: Verify with protected video playback Acked-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>
* | | Validate FD when reporting brightness support.Michael Wright2019-03-131-5/+16
|/ / | | | | | | | | | | | | | | | | | | | | | | If we fail to open the brightness sysfs node, then we shouldn't report that we support setting the brightness since any attempts fail. Also, fix capabilities count. This was accidentally left in when moving brightness support from a global capability to a display-specific one. Bug: 128496688 Test: manual Change-Id: Ie623b98232481bca3c0f955b259a3b168c83cf2e
* | Merge "Moved brightness from Lights to SF."Michael Wright2019-03-122-1/+105
|\ \
| * | Moved brightness from Lights to SF.Dan Gittik2019-03-082-1/+105
| | | | | | | | | | | | | | | | | | | | | | | | Test: manual. Check that brightness works. Fixes: 111435292 Change-Id: Ibce46fa763584962bd37734010a8b0c178cc4a7b
* | | [automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: ↵Xin Li2019-03-110-0/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29ae263f1 -s ours am: aa1a9fff9e -s ours am: 3074f39168 -s ours am skip reason: subject contains skip directive Change-Id: I73a5b6f7411be568df77eb96253ceeab29e9ea79
| * \ \ [automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: ↵Xin Li2019-03-110-0/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a29ae263f1 -s ours am: aa1a9fff9e -s ours am skip reason: subject contains skip directive Change-Id: I951613fb7a82401287d8ea0c956d87157af682d2
| | * \ \ [automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into masterXin Li2019-03-110-0/+0
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: a29ae263f1 -s ours am skip reason: subject contains skip directive Change-Id: I24cc257bb2d60119045cf90d77713abf5e9e8ccc
| | | * \ \ DO NOT MERGE - Merge PPRL.190305.001 into masterXin Li2019-03-110-0/+0
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 127812889 Change-Id: I5c3cc269f3e2b7eb2102a5266ab8a29354a83c27
* | | | \ \ \ Merge "histogram: limit dumpsys output"TreeHugger Robot2019-03-111-17/+19
|\ \ \ \ \ \ \
| * | | | | | | histogram: limit dumpsys outputKevin DuBois2019-03-071-17/+19
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously dumpsys SurfaceFlinger was printing all bucketed 256 values of the sampling. Reuse some bucketing code to condense this to 8 printed buckets. Test: dumpsys SurfaceFlinger Test: boot Fixes: 127512072 Change-Id: Ia14950818dd923bdfc9eea5b421acef6f18f1bbc
* | | | | | | Merge "Gralloc: Switch camera output from NV12 to NV21"Robin Peng2019-03-082-0/+8
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | |
| * | | | | | Gralloc: Switch camera output from NV12 to NV21raylinhsu2019-03-062-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The performance of camera preview on GCA HDR+ off modes is bad when the single IPE core handles multiple IPE instances. SDM670 hits preview lag issue on off mode due to IPE limitation. Therefore, we provided a mechanism to switch preview stream format from NV12 to NV21 based on TARGET_USES_NV21_PREVIEW at compile time. We could get better performance by avoiding extra effort at color conversion. Bug: 123483411 Bug: 123477980 Test: Camera preview Change-Id: Ieac025d0bccf27f385f2b29276c6381c9f807795
* | | | | | | histogram: time-weight sampled color content valuesKevin DuBois2019-03-063-93/+218
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Time weight sampled values so they are more representative of the time that a given color was on screen. Units in the histogram change from (NumberOfPixels) to (NumberOfPixels * milliseconds). Fixes: 123692142 Test: boot Test: PtsComposerTestCases Test: ./color_sampling_test #(new tests) Change-Id: If080635087bc4d76be3208a3ccf257561c923ec0
* | | | | | Merge "hwc: Fix issue with configuring dataspace for solid color layer"TreeHugger Robot2019-03-041-1/+2
|\ \ \ \ \ \
| * | | | | | hwc: Fix issue with configuring dataspace for solid color layerTharaga Balachandran2019-03-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 126713799 Change-Id: I779b921055826124118dc2703fb0253c29d24326
* | | | | | | sdm710: Configure HDR display optionSamuel.lh Huang2019-02-261-1/+4
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sdm670 doesn't support TARGET_HAS_HDR_DISPLAY. Bug: 122707384 Test: CTS dEQP and VideoTest tested. Change-Id: I143d766b40f03bf0f5c1c02d2d67c82bc555a92b
* | | | | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: af92ac7c10 Change-Id: I7bf11e233d869a742b90aae0a974a155db2cb95a
| * | | | | Merge stage-aosp-master into pi-dev-plus-aospXin Li2019-02-250-0/+0
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 126125118 Change-Id: I3851a703372a5f204b29e875016dea2365728552
| | * | | | DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li2019-02-200-0/+0
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 120848293 Change-Id: If6e644f4833aae51c1216318ea772592cf6b4526
* | | \ \ \ \ Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.083'Robin Peng2019-02-146-10/+21
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | Bug: 124397977 Change-Id: Ief65f25b171c30157b200ee67209055a4003a635
| * | | | | | hwc: Return error code NoResources if create virtual display failsGurpreet Singh Dhami2019-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Returning error code as NoResources is better because resources could be occupied by the other display. Currently error code as "Unsupported" is returned. Change-Id: I41b8511ba27c2d2769823c1984bc4a595aaae413
| * | | | | | Gralloc: Validate buffer parameters during importBuffer callRamkumar Radhakrishnan2019-01-022-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Validate buffer parameters like numInts, numFds, version etc of buffer handle while importing the buffer Change-Id: Ia1cb1cf05d845b5ef5b2feb476c2c924fa3bbf17 CRs-Fixed: 2288349
| * | | | | | hwc2: Fix compile errors in switch statement.Anjaneya Prasad Musunuri2018-11-261-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix compile errors because of fall through switch statements. CRs-Fixed: 2352498 Change-Id: I5ec641a2eeee1cfc4bf6750903c6287c5a137d9e
| * | | | | | sdm: Clear solid fill stages upon flushTharaga Balachandran2018-11-142-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Solid fill stages persist after empty commit because the property DIM_STAGES_V1 is set during solid fill creation but not cleared by HWDeviceDRM::Flush(). This commit clears solid fill stages and updates the property. CRs-Fixed: 2348615 Change-Id: I017b44094286f89c315d16e0de6717f6ffae7b76
| * | | | | | Merge "hwc2: Check and return valid error from ControlIdlePowerCollapse"Linux Build Service Account2018-11-131-4/+4
| |\ \ \ \ \ \
| | * | | | | | hwc2: Check and return valid error from ControlIdlePowerCollapseRamakant Singh2018-11-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Idle Power collapse is not supported by video mode panel. Change-Id: I5be0f2efcb2f3b22951968fabb74b48d76e6fb22 CRs-Fixed: 2320046