summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-05-30hwc2: Teardown CWB before suspendandroid10-devNaseer Ahmed
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
2019-04-11Remove getDisplayBrightnessSupport register.Peiyong Lin
Brightness is already a per display capability, we don't need this API. BUG: 130313275 Test: build Change-Id: I56658285020307b0f1d2203b41de029075710239
2019-04-10Register GET_DISPLAY_CAPABILITIES function pointer correctly.Peiyong Lin
BUG: 130195295 Test: atest VtsHalGraphicsComposerV2_3Target Change-Id: I1e1b6754c0c7703b413c12800eceef76d1927ee8
2019-04-09Merge changes from topic "readbackfix-qcom" into qt-devValerie Hau
* changes: hwc2: Teardown CWB in Create Virtual Display Revert "sdm: Fix Concurrent Writeback fence handling"
2019-04-09Merge "hwc2: Add color compensation feature for adaptive color mode" into qt-devTreeHugger Robot
2019-04-08hwc2: Teardown CWB in Create Virtual DisplayGurpreet Singh Dhami
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
2019-04-08Revert "sdm: Fix Concurrent Writeback fence handling"Gurpreet Singh Dhami
This reverts commit 468c1e1ba74179022a55d1e4c79e511693ca276e. Bug: 118337749 Test: VtsHalGraphicsComposerV2_2TargetTest Change-Id: Ice33e8f950e5ddee567d8b56500f1b073d1270c3
2019-04-08hwc2: Add color compensation feature for adaptive color modelinpeter
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
2019-04-05hwc: Fix issue with fallback for solid color layerTharaga Balachandran
Bug: 129797327 Test: manual Change-Id: I78c029e1b05e78b94fba4ab04e59bb3f39eafb89
2019-04-03Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur
am: 36cca1b431 Change-Id: I5135d54f12dd4dae57a5e99745cd481f5d7fc8f1
2019-04-02Merge master@5428150 into git_qt-dev-plus-aosp.Bill Rassieur
Change-Id: Iaf62d93834ed800cd57eb0fff55638b2cffea2d7 BUG: 129345239
2019-04-01Merge "Merge remote-tracking branch ↵Robin Peng
'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.101'"
2019-03-26sdm: Update secure flag of FBT buffer appropriatelyNaseer Ahmed
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>
2019-03-13Validate FD when reporting brightness support.Michael Wright
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
2019-03-14Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.101'Robin Peng
Bug: 128508596 Change-Id: Ifba77da45472df2819aa19d686def0af1a0cbb6b
2019-03-12Merge "Moved brightness from Lights to SF."Michael Wright
2019-03-11[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: ↵Xin Li
a29ae263f1 -s ours am: aa1a9fff9e -s ours am: 3074f39168 -s ours am skip reason: subject contains skip directive Change-Id: I73a5b6f7411be568df77eb96253ceeab29e9ea79
2019-03-11[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into master am: ↵Xin Li
a29ae263f1 -s ours am: aa1a9fff9e -s ours am skip reason: subject contains skip directive Change-Id: I951613fb7a82401287d8ea0c956d87157af682d2
2019-03-11[automerger skipped] DO NOT MERGE - Merge PPRL.190305.001 into masterXin Li
am: a29ae263f1 -s ours am skip reason: subject contains skip directive Change-Id: I24cc257bb2d60119045cf90d77713abf5e9e8ccc
2019-03-11DO NOT MERGE - Merge PPRL.190305.001 into masterandroid-q-preview-6android-q-preview-5android-q-preview-4android-q-preview-2.5android-q-preview-1Xin Li
Bug: 127812889 Change-Id: I5c3cc269f3e2b7eb2102a5266ab8a29354a83c27
2019-03-11Merge "histogram: limit dumpsys output"TreeHugger Robot
2019-03-08Moved brightness from Lights to SF.Dan Gittik
Test: manual. Check that brightness works. Fixes: 111435292 Change-Id: Ibce46fa763584962bd37734010a8b0c178cc4a7b
2019-03-08Merge "Gralloc: Switch camera output from NV12 to NV21"Robin Peng
2019-03-07histogram: limit dumpsys outputKevin DuBois
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
2019-03-06histogram: time-weight sampled color content valuesKevin DuBois
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
2019-03-06Gralloc: Switch camera output from NV12 to NV21raylinhsu
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
2019-03-04Merge "hwc: Fix issue with configuring dataspace for solid color layer"TreeHugger Robot
2019-03-01hwc: Fix issue with configuring dataspace for solid color layerTharaga Balachandran
Bug: 126713799 Change-Id: I779b921055826124118dc2703fb0253c29d24326
2019-02-26sdm710: Configure HDR display optionSamuel.lh Huang
sdm670 doesn't support TARGET_HAS_HDR_DISPLAY. Bug: 122707384 Test: CTS dEQP and VideoTest tested. Change-Id: I143d766b40f03bf0f5c1c02d2d67c82bc555a92b
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
am: af92ac7c10 Change-Id: I7bf11e233d869a742b90aae0a974a155db2cb95a
2019-02-25Merge stage-aosp-master into pi-dev-plus-aospXin Li
Bug: 126125118 Change-Id: I3851a703372a5f204b29e875016dea2365728552
2019-02-20DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-masterXin Li
Bug: 120848293 Change-Id: If6e644f4833aae51c1216318ea772592cf6b4526
2019-02-14hwc2: Validate bounds check for input parcel.Subash Chander
CRs-Fixed: 2394384 Change-Id: Iba254b3579cd2c258c3cf80fe234a0de7d75e599
2019-02-14Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.083'Robin Peng
Bug: 124397977 Change-Id: Ief65f25b171c30157b200ee67209055a4003a635
2019-02-11[automerger skipped] DO NOT MERGE - Merge pi-platform-release ↵Xin Li
(PPRL.190205.001) into stage-aosp-master am: d2e22e1553 -s ours am: e80c7159d7 -s ours am skip reason: subject contains skip directive Change-Id: Iee959cc5620513073bab03a1530bc33f7a0f60c7
2019-02-11[automerger skipped] DO NOT MERGE - Merge pi-platform-release ↵Xin Li
(PPRL.190205.001) into stage-aosp-master am: d2e22e1553 -s ours am skip reason: subject contains skip directive Change-Id: Ifcd1867713d7a75f2f91865fd989e1c468d69522
2019-02-11DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into ↵Xin Li
stage-aosp-master Bug: 124234733 Change-Id: I5f3c79668585b0096bac98fe306b0453b3a66908
2019-02-09Snap for 5180536 from 31fa6b3ab73b4c24ef5925daffab8d24ec79fac8 to ↵android-build-team Robot
pi-platform-release Change-Id: I7c710869bfb453527f2ca0a7fbfad89371267f18
2019-02-05display: Disable boosted mode by defaultSubash Chander
Framework sets a saturation of 10% by default which leads to selecting the "Boosted" mode. Disable this. Change-Id: Idcbacb88a904ff55cd13eec370af7915cf53bffa CRs-Fixed: 2349474
2019-01-28Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.8.9.C1.08.00.00.516.007'Yichi Chen
Bug: 121228685 Bug: 122560586 Change-Id: Ic8e8b796d90f6ac7638be768b45a70c3846ae682
2019-01-25display: have sampling report HSV formatKevin DuBois
Make use of newly added enum to report proper format for the sampling engine. Fixes: 122943743 Test: Build Test: atest PtsComposerTestCases Roll-forward of build-breaking topic commit. No changes were needed in this patch. see bug 123404649 for breakage details. This reverts commit 34ad10e0024f0374d30af434d090ee5015e7f73f.
2019-01-25Merge "Revert "display: have sampling report HSV format""Kevin DuBois
2019-01-25Revert "display: have sampling report HSV format"Kevin DuBois
This reverts commit b055690ef1f5c72347a709a8b3473f3e35830ecd. Reason for revert: broke build Change-Id: If12dc64bcf12d739341ba150f8824f6ca30ec1db
2019-01-25Merge "display: have sampling report HSV format"Kevin DuBois
2019-01-25Merge "Add system property for surfaceflinger"TreeHugger Robot
2019-01-24[sdm845] Remove log spam.Peiyong Lin
It's necessary to print out the supported color modes. BUG: 123312783 Test: Build, flash and boot. Check logcat. Change-Id: Iee7c682af7f1c096659ce25e3d4282faa797b1ca
2019-01-23hwc: Return error code NoResources if create virtual display failsGurpreet Singh Dhami
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
2019-01-22display: have sampling report HSV formatKevin DuBois
Make use of newly added enum to report proper format for the sampling engine. Fixes: 122943743 Test: Build Test: atest PtsComposerTestCases Change-Id: I76f8b5f0f36174f827698c4113486133be384f1c
2019-01-17Add system property for surfaceflingerSundong Ahn
The configstore will be not used in surfaceflinger. So surfaceflinger will use the system properties instead of configstore. For this, the system property is added. Bug: 112386364 Test: m -j && boot test Change-Id: I038faddfabfa1d4f03aa52659859b96e34b7ffa5
2019-01-15Add default code reviewers into OWNERS am: 49b63a1745 am: 2be580ef1eChih-Hung Hsieh
am: 1b76bf0f1c Change-Id: I29ab6f2f2f7def8fee34a911230237ac3aba6e2b