summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/Android.mk
AgeCommit message (Collapse)Author
2020-02-18hwc: Support IMapper/IAllocator 3.0 in hwc_buffer_allocatorVenkat Thogaru
This change checks for IMapper and IAllocator v3.0 and falls back if they are unavailable. Test: android.media.cts.HeifWriterTest Bug: 145272994 CRs-Fixed: 2451975 Change-Id: I3122c262af99c9b5506f147a47ddbec580c99913
2020-02-04Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.406' into qt-qpr1-dev Conflicts: sdm/libs/hwc2/Android.mk sdm/libs/hwc2/hwc_session.cpp Bug: 148752159 Change-Id: Ic0cd0d299afc5a897d6ea2074f1e882565d53e93
2020-01-09revert conflict commits from AU053Weizhung Ding
Drop the changes from 8.9.R1 and focus on 8.1.C9. Bug: 146767069 Test: boot to home Change-Id: I3a7d6a5e477912862fb48ed908a09f929612ec4b
2019-12-26hwc2: Enable HBM based on HDR layer coverageLong Ling
Enable high brightness mode when the largest HDR layer covers >50% of the screen. Use hardware.google.light@1.0 interface. Bug: 143513621 Test: play HDR video and check hbm_mode. $ adb shell cat sys/class/backlight/panel0-backlight/hbm_mode on Change-Id: I55de917b0758cef2e5fa44d86b88fc815ac4c400 (cherry-picked from e7f05d57fbde773cd38ed66b60875953c140ef16)
2019-12-12Merge remote-tracking branch ↵Cyan_Hsieh
'goog/qcom/release/LA.UM.8.1.C9.09.00.00.518.343' into qt-qpr1-dev Bug: 145572601 Change-Id: I0a35aff59ba9e4a874e5a57ad59eca69985c75bf
2019-11-21Merge "hwc2: Add support for HDR10PLUS"qctecmdr
2019-11-21sm7150: cherry pick histogram code from sm8150Kevin DuBois
This ports the sm8150 code for the histogram collection to the sm7150 code base. This is mostly porting the libhistogram helper library, code is not used. Bug: 143513619 Test: ./color_sampling_test Test: libgui_test --gtest_filter=DisplayedContentSamplingTest* Test: dumpsys SurfaceFlinger Change-Id: I819ed037488fa18e3248ecf5505d80cbe474f233
2019-11-17display: Remove C++ standard flagsRamakant Singh
Some headers included by display modules require c++17 now in newer builds. Remove the forced standard setting to let the build pick the latest C++ version Change-Id: I76f9e0c03ce08100c3dd7caf5932eaa941fff0c8
2019-11-15hwc2: Add support for HDR10PLUSGousemoodhin Nadaf
- Add support HDR10PLUS hdr capability. - Add support for SetLayerPerFrameMetadataBlobs from composer 2.3. - Populate the dynamic metadata from the new composer API into the layer structure and set validate if the data changes. - Prioritize PerFrameMetadata/Blob over ColorMetaData. Change-Id: Idd9b6f4f104d1584cce31a4cb7022e11eb2751ad CRs-Fixed: 2545757
2019-09-27sdm: Implement Display Config 1_11 Qsync API's.Pullakavi Srinivas
--Do not set min fps if qsync is active. --Qsync and active config changes can't be entertained in same commit. Reject any such request. CRs-Fixed: 2529223 Change-Id: Ibd67780aab6d1f0f2e857b7d1fe110a216766baa
2019-07-26hwc: Enforce HWC integrity with IDisplayConfig interfacesDileep Marchya
- Ensure that HWC implementation for IDisplayConfig interfaces is added only if corresponding interfaces are present. Remove all featurizations. Change-Id: I8e825903e48f5610de8277b33666510a1687c855 CRs-Fixed: 2497956
2019-06-25sdm: Add HIDL implementation to configure bit clocks.Dileep Marchya
Change-Id: I2ff291c6d0c27986bd207ffdc22c8b67431d632c CRs-Fixed: 2476186
2019-06-11hwc: Support IMapper/IAllocator 3.0 in hwc_buffer_allocatorTharaga Balachandran
This change checks for IMapper and IAllocator v3.0 and falls back if they are unavailable. CRs-Fixed: 2451975 Change-Id: I3122c262af99c9b5506f147a47ddbec580c99913
2019-06-09sdm: Add support for HWC with no display HWNamit Solanki
-If there is no display HW, create a dummy display in HWC. Do not send error to SF. Route all incoming call from SF to dummy display in HWC Change-Id: I08b8dc4b277421dce2e12c7dc5878c05909aa9b7 CRs-Fixed: 2303578 CRs-Fixed: 2462204
2019-06-05display: Add API to set luminanceArchit Srivastava
-Add API to set min/max luminance range for given display. -using API via binder adb shell "vndservice call display.qservice 46 i32 <display_id> f <min_lum> f <max_lum>" Change-Id: I97c31b18cac4ab8ac45518833d0964b7e54c9d58
2019-04-22display: Fix up kernel header dependencies declarationIsaac J. Manjarres
Currently, when the kernel headers must be included unconditionally, the dependency on them is not expressed in the standard format. For Android makefiles that must include the kernel headers, declare the local additional dependencies unconditionally and in standard form as well. Also, remove kernel_deps from makefiles, as it is not used. CRs-Fixed: 2439890 Change-Id: I928fdc6f734431fa0d60c1a3624b533a9d6a85b7
2019-04-16Revert "display: Do not use target names in hw modules"Naseer Ahmed
This reverts commit 4f95fff7b10e684686670a2c5d3937e83dd3687c. Causes issues with loading the modules. Change-Id: I3dc123cd00fb739ec8baec7d542fabfaea258d44
2019-04-14display: Rename display lib suffix to qtiRamakant Singh
Change-Id: Idd13021a534d14e5d9591cd70b68eee0effbe18f
2019-03-13sdm/hwc: add display indices property for client id initXiaowen Wu
Add display indices property for aosp build without ExSurfaceFlinger, to allow special display hwcId generated by vendor HWC for each type of displays. Change-Id: I389c98c3e54c6280597b2a6b7a63d624a799310f
2019-02-07Merge remote-tracking branch 'quic/display.lnx.5.0' into tipVarun Arora
2/7/2019 FF Change-Id: I78cdd49ab0f4da7ec24e9009ee5dd2cf0cb94ada CRs-Fixed: 2395201
2019-02-01hwc2: Update secure display layer on active built in displayRamkumar Radhakrishnan
1. Add support to handle secure display layer on secondary display 2. Update secure display layer on active builtin display. 3. Add display config API to get the display attributes of the active builtin display. Change-Id: Ia70dff316265c9364b060fe4fae591a9599e16e9 CRs-Fixed: 2375587
2019-01-22display: Do not use target names in hw modulesNaseer Ahmed
Change-Id: Idf57c3a02330cbd79b64de6512493aedc23c6d08 CRs-Fixed: 2385459
2018-12-24hwc2: Implement display config 1.6 and 1.7 interfaces.Dileep Marchya
Change-Id: I5d68407ed388e62d7900944c90d407549535c0da CRs-Fixed: 2362214
2018-10-24display: Fix display config version overwriteNaseer Ahmed
Check the availability of the latest version of display config first, then check older versions if unavailable Change-Id: I7c4b3bf5295ece9cec323502e8d1365ecef68795 CRs-Fixed: 2338610
2018-09-25sdm: Define the display config 1.5 for support ad roi featureYuchao Ma
The change defines DISPLAY_CONFIG_1_5 for support ad roi feature. Change-Id: Ifae57ddf21c840b6c94856288b017adb9bc2f390
2018-08-27hwc2: Add support to query display wb capabilitiesRamakant Singh
Virtual display uses hardware wb to get output data. And output buffer format depends on wb hardware capabilities. Change-Id: If06b9e36eeda630938b07933878fe2d148ea9bcb
2018-08-09sdm: Define client interface to enable/disable idle pcRamkumar Radhakrishnan
1. Define client interface to enable/disable idle power collapse 2. Maintain refcount to handle concurrent enable/disable 3. Trigger the screen refresh and wait for the next frame commit done event before returning the control to the client on disable idle pc 4. Enable idle pc on suspend and reset the refcount 5. Add binder support to enable/disable idle pc CRs-Fixed: 2255316 Change-Id:Ibcaf9d4edca502cc91e9b201be822bd48313a635
2018-07-18hwc2: Add support for multiple displaysDileep Marchya
- Add support for an additional display which can be either a builtin display or pluggable display. - Restructure HWCDisplayPrimary as HWCBuiltIn and HWCDisplayExternal as HWCDisplayPluggable. - Refactor hotplug handling. Iterate through all pluggable displays, and check present connection status. Connect/disconnect a given display if connection status has changed. CRs-Fixed: 2200594 Change-Id: Ibd2f93ddfbe72af58220691ad481469c8fdcbf86
2018-07-11sdm: hwc2: Plumb render intent APIsNaseer Ahmed
* Add support for color mode with render intents. * Remove transform hints as they are unused. * Add saturation matrix, read from a property by default. Change-Id: Ic8526854cbdcb8f6fe1f2b2b260b3999a5c4571a CRs-Fixed: 2235178
2018-05-01Merge "display: Add support for legacy Wide Color Gamut"Linux Build Service Account
2018-04-30display: Add support for legacy Wide Color GamutArun Kumar K.R
- Add extended range in ColorMetadata. - Send ColorPrimaryTransfer info from color modes to Strategy, which will be used in determining the blend color space. - Remove handling color primaries or gamut in HWC2. - Handle invalid format or unsupported range in SDM. - Remove FEATURE_WIDE_COLOR and enable by default. Change-Id: If429e9fffdcdc59c18f1b5ef5d074efddd97f2af Crs-fixed: 2215125
2018-04-25gralloc: Implement IMapper::2.1Naseer Ahmed
Implements the new IMapper v2.1 APIs Passes VTS for IMapper v2.1 Change-Id: I9762cd056a296c522ab3446408c3c4c5434b3dc4
2018-04-18sdm: Use generic libdebug utility.Dileep Marchya
CRs-Fixed: 2211061 Change-Id: Ib949c40ff63a61a4476876c45357a40a702c9a01
2018-03-21gralloc: Add allocator and mapper HALsNaseer Ahmed
Implement the hidl .hal interfaces directly instead of using the default shims. This is required since new additions to .hal will no longer be added to the legacy gralloc1 C header. Change-Id: If577a14f75d7d13da0ff656c96ab451d21c910ce
2018-03-19hwc2: hidl: Remove _vendor from display configNaseer Ahmed
Change-Id: I7e0358ee4789ce6595da51ab3a47b0e65c8676d8
2018-02-23gpu_tonemapper: ion fixVarun Arora
Updating EGLImageWrapper since ion cookie is deprecated. Unique dmabuf names are required to replace ion cookie. LruCache does not support string keys, additional string to int map added. Properly fixes change: I6b3360cf0f8eb87cfc0a3acf9b7244c0d7d54001 Change-Id: I440a181fd60c4e002e183860c2dbeff50a0bf23d CRs-Fixed: 2186983
2017-11-15hwc2: Add support for disabling external animationNaseer Ahmed
CRs-Fixed: 2141089 Change-Id: I8ef40d359d0076ee02e08b11a9f270db8ad62897
2017-10-05sdm: Add support for compliance test mode for DPRamakant Singh
1. Add functionality in qdutils to get the DP test config from the sysfs node. 2. Add support to generate ColorRamp, ColorSquare and Black and White vertical line test pattern for 18/24/30 bpp DP display 3. Create layer stack with test layer and ignore all layers from the SF framework. 4. Generate the pattern with 18/24/30 bpp based on pattern type and bpp read from sysfs node and send it to DP interface. 5. Add support to calculate CRC to validate the color pattern. CRs-Fixed: 1107663 Change-Id: I49469d94a96ada729d24d7cc03a7e79f2af6edc0
2017-08-30hwc2: Link to vendor copy of HIDL generated libs.Pramodh Kumar Mukunda
-Change from vendor.display.config@1.0 to vendor.display.config@1.0_vendor. Change-Id: I06ea1c46b6d2e26a8bc82d590f790307c5a2bc4a
2017-07-10display: Cleanup unused codeNaseer Ahmed
CRs-Fixed: 2048735 Change-Id: Ief7f8ae4006ab211272191b66bd4bd854d9098b2
2017-07-05sdm: hwc2: Add support for HDMI as primary.Dileep Marchya
- Create external display if HDMI is already connected on boot. - Wait for hotplug connect event if HDMI is not connected on boot. - Notify surfaceflinger only once when primary display is created for first time. - Destroy and recreate SDM external display on successive disconnect/connect. Do not notify surfaceflinger any subsequent hotplug events. - Add null display implementation to route any incoming calls from surfaceflinger when display is disconnected. CRs-Fixed: 2037067 Change-Id: I649756452d714e538c313cf80c0144934ad494f9
2017-06-30hwc2: Implement IDisplayConfig HIDL service.Dileep Marchya
- Add IDisplayConfig service in composer process. - Add DisplayConfig wrapper to abstract IDisplayConfig interfaces. CRs-Fixed: 2036340 Change-Id: I54535e7224ee842b761509268ebaa2e8425bc8d7
2017-06-15hwc2: Remove power manager dependencyNaseer Ahmed
Remove power manager dependency as libpowermanager is not accessible for hal. Change-Id: Ibcddc7fc8f04b530fc7d96080d4d6c2025e76db7
2017-06-01Merge "hwc2: Add support for HDR and HWC tonemapping"Linux Build Service Account
2017-05-29display: Use LOCAL_VENDOR_MODULENaseer Ahmed
Avoids hardcoding paths in vendor Change-Id: I6411c27cebfd8bc1d65bc84942b4c2621f64e420 CRs-Fixed: 2048581
2017-05-24hwc2: Add support for HDR and HWC tonemappingArun Kumar K.R
- Identify HDR layer in HWC, and add support to handle tonemap requests from SDM - Include hwc tonemapper which tonemaps layers using the gpu tonemapper - Add hint in BufferAllocator to specify gfx client Change-Id: I45a2182fa96e366600d81cdb4cb08bceff3bfcb8 Crs-fixed: 2036626
2017-05-12hwc2: Featurize dataspace supportNaseer Ahmed
Support this feature only when TARGET_HAS_WIDE_COLOR_DISPLAY is defined in the BoardConfig Change-Id: Ibf3a59d75d1f6a538ff36a71d5a1c7685e362f51 CRs-Fixed: 2046711
2017-04-14hwc2/gralloc1: Create libgrallocutilsSaurabh Shah
--For gralloc1, create a libgrallocutils that provides helpers to calculate various buffer related info --Make hwc2/gralloc1 structures independent of libdrmutils and fb_id / gemhandles --Implement GetBufferLayout API from BufferAllocator that can be called by DAL before creating fb_id Change-Id: I0aede7d1ea87302ecda593047728d381383484b9 CRs-fixed: 1114808
2017-03-29Merge "qdutils: Fix mapping in qdMetaData"Linux Build Service Account
2017-03-29display: Move all opensource modules to vendor partitionNaseer Ahmed
Change-Id: I050988d96eccc1c3217a8f2030b333cd8d04c4d4 CRs-Fixed: 2010492