summaryrefslogtreecommitdiff
path: root/libqdutils
AgeCommit message (Collapse)Author
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sdm845/displayBob Badour
Added SPDX-license-identifier-Apache-2.0 to: libhistogram/Android.mk libmemtrack/Android.mk Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD legacy_not_a_contribution to: Android.bp gralloc/Android.mk libqservice/Android.bp sdm/libs/hwc2/Android.mk Added SPDX-license-identifier-Apache-2.0 legacy_not_a_contribution to: gpu_tonemapper/Android.mk liblight/Android.mk Added SPDX-license-identifier-BSD to: hdmi_cec/Android.mk libdebug/Android.mk libdisplayconfig/Android.mk libdrmutils/Android.mk libqdutils/Android.bp sdm/libs/core/Android.mk sdm/libs/utils/Android.mk Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I8ccb4cb621fcd75c1736613789397e4187a892ce
2018-07-13qdMetaData: Add get/setMetaData variants that unmap metadataPraveen Chavan
Add get/setMetaDataAndUnmap(..) api that remove the meta-data mapping and reset the mapped pointer in handle. Use these versions in setMetaData called during alloc to ensure allocating process does not duplicate invalid base address of metadata (i.e when native_handle is copied without importing) CRs-Fixed: 2265196 Bug: 111274566 Change-Id: I0481ad8d59950256723871a089aeb3d143afac5a
2018-05-04qdMetaData: Remove USE_COLOR_METADATA macroSaurabh Dubey
Remove USE_COLOR_METADATA macro from all places and execute color_metadata specific code unconditionally. Change-Id: I7980fbb8bc64b82bce66949d0db440d3ab9bf0c4 CRs-Fixed: 2205473
2018-04-24Gralloc: Use adreno APIs for buffer size calculationsSaurabh Dubey
1) Add support to use adreno APIs for non video layers' buffer size calculations. 2) Add graphics metadata field to MetaData_t structure. 3) Add bindings for newly introduced formats in GetGpuPixelFormat. 4) Add support to retrieve the graphics metadata in Perform API. 5) Modify BUFFER_TYPE determination logic Change-Id: I7674209b42d7cd39bc8de39e3a10582bb216e6cf CRs-Fixed: 2226672
2018-04-04qdutils: Fix vendor flagNaseer Ahmed
If VNDK version is not enabled, the vendor_available flag only installs the library in the system partition Change-Id: If49b05a1cb04472e9d4fecb98ba8b56a18029896
2018-04-02display: More fixes for VNDKNaseer Ahmed
Change-Id: I8887ffdde3d6f39f9405dd38e8eaedbb8da2a9b4
2018-03-28display: VNDK header fixesNaseer Ahmed
Change-Id: Id7604ac803e49940aa2b49e106b414b4be1a25ad
2018-03-28display: Partially convert makefiles to blueprintsNaseer Ahmed
Change-Id: I5429ecee3985e305290e312921725460ef195b83
2018-03-16sdm: comply with treble guidelinesUday Kiran Pichika
Modify the property names and use macros in place of them CRs-Fixed: 2206249 Change-Id: I5ae790ca62a258b0d7c14931e0132727feed48a3
2018-03-06display: Use log.h from VNDKNaseer Ahmed
Change-Id: I8aa8566036a44b1587f5cfe6c745e11a3dd19481
2018-01-04qdutils/hwc: Remove unused code surrounding fps calculationsSaurabh Shah
Remove unused code surrounding fps calculations from qdutils and hwc Change-Id: I1d78a26fdd582ae184fd7367cf692e472283fee1 CRs-fixed: 2157422
2017-12-14libqdutils: Add Video performance mode metadataAshwini Rao
Add Video performance mode flag to the gralloc buffer metadata CRs-Fixed: 2159379 Change-Id: Ifacabf55a45eb77b890ed278ad23c9a5d37d3382
2017-11-30sdm: Add support for P010 Venus formatMathew Joseph Karimpanal
Add support for P010 Venus video format in SDM. Handle Qualcomm Venus h/w video decoder aligned P010 buffer format. Change-Id: I3edf21a5c3d90556c69c9944558398b65e4ed1e5 CRs-Fixed: 2149780
2017-11-10sdm: LLVM SA enablementRamakant Singh
CRs-Fixed: 2077191 Change-Id: I23066befa5034523788a78edac9b335494d43019
2017-10-12display: metadata fixesNaseer Ahmed
* Do not log error on invalid metadata fds, such usages are possible in some scenarios * Correct usage of metadata API for some cases. CRs-Fixed: 2122143 Change-Id: Id9cc7f4d27ef1890668f414d92b96cd419b6a066
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-09-25hqd: add qservice binder for blocking dppsPrabhanjan Kandula
Dpps should wait opening driver before composer comes up. Add a wservice binder call to query composer init status. Add util function to block dpps until composer is up. Change-Id: I82c025011e23a0b159ef2449b00b868a365d681a CRs-fixed: 2102579
2017-08-08qdutils: Add dependency on libhardware headersNaseer Ahmed
Change-Id: I178e9fb8302f192aa1fc7487c18eab0ecf2e0e9a
2017-07-17Merge "qdutils: Handle color-metadata on non-HDR targets"Linux Build Service Account
2017-07-14qdutils: Support Get/Set of UBWC CR Stats metadataGurunath Ramaswamy
CRs-Fixed: 2073410 Change-Id: I133307d63d301a24af183b18a330eb160459c805
2017-07-11qdutils: Handle color-metadata on non-HDR targetsUday Kiran Pichika
CRs-Fixed: 2074296 Change-Id: I7aeb82b662455656dd48352201504516ebadf156
2017-07-06qdutils: Use POD copy for metadataNaseer Ahmed
CRs-Fixed: 2072303 Change-Id: Icc15706df10098f419966d28f30c2246fafc26bc
2017-06-10Merge "qdutils: Generate system image copy for qdmetadata"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-29qdutils: Generate system image copy for qdmetadataPullakavi Srinivas
Change-Id: I5e222fb259bb1525b02be5f6b44568b9120105a6
2017-04-14qdutils: metadata utility functionsNaseer Ahmed
Add support for copying to/from virtual addresses as well, in clients which only have the metadata base pointer but not the native handle CRs-Fixed: 2033657 Change-Id: I3d4d0e4139207a54c3db2f8585533974e1657a0a
2017-04-04qdutils: Add UBWC Compression Ratio Statistics infoPraneeth Paladugu
Add UBWC CR stats info in metadata to communicate Compression Ratio of YUV data between various producers and consumers. CRs-Fixed: 2018078 Change-Id: Iba9d67436084e5c14d5872b75f5029262dafed23
2017-03-31qdutils: Return on null paramNaseer Ahmed
Clients can use null param to unset metadata CRs-Fixed: 2027597 Change-Id: Ia6ce7af5445938da4d0c66d9e184d82cc3f4b5b7
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
2017-03-29qdutils: Fix mapping in qdMetaDataNaseer Ahmed
With gralloc1, munmap is called at the last release() of the buffer in the client process. Do not munmap in every metadata call. Also moves the handle validation/mapping to a common function. CRs-Fixed: 2025982 Change-Id: I8f171d87e31368f4a9f19c916eceb1abda449000
2017-03-28display: Use getMetaData in hwc2Arun Kumar K.R
Use getMetaData API to get the metadata information in hwc2. As it maps the metadata in the process before accessing it. Change-Id: I346d223058e6eadb00f16bb9f2be8a46e87fbdef CRs-fixed: 2019985
2017-03-23display: makefile fixesNaseer Ahmed
* Deprecate LOCAL_COPY_HEADERS on newer builds * Use a display header export path instead * Consolidate cflags CRs-Fixed: 2023356 Change-Id: Ibb8900a77fc3fa47e6e54cd1649503eba12de8cd
2017-03-20qdutils: Fix compilation issueNaseer Ahmed
CRs-Fixed: 2022055 Change-Id: I536dc9469c305199174d215f051a6878314f0bf4
2017-03-01Revert "display: Move all opensource modules to vendor partition"Naseer Ahmed
This reverts commit 4c790408b144b8ddf117a8d94661c81c86304cfc. Change-Id: I32c48e300e8c641b196210c4412b635e1c1941f0 CRs-Fixed: 2013665
2017-02-28display: Move all opensource modules to vendor partitionNaseer Ahmed
CRs-Fixed: 2010492 Change-Id: I80bb14624e9a47189777bd4c8f8847ca946df74c
2017-02-07sdm: drm: Add support for default non-atomic modeSaurabh Shah
Add support for booting up with default non-atomic mode Add libdrmutils that currently has: DRMMaster: Creates a master DRM session Converts ION handles to DRM FB_ID DRMResMgr: Enables a default display path by providing APIs for connector id, crtc id, mode etc Change-Id: I1dc697d2cc5e3fa744c99e2c9ddd57bf06e78c4f CRs-fixed: 1114808
2017-01-28gralloc/qdutils: Remove unused gralloc code, add driver type checkSaurabh Shah
Remove unused code related to macro tiling from galloc and qdutils. Add API to check for driver type and query caps based on driver. Change-Id: I36cfa5529395c69deb886080be1c904ff5c9ad15 CRs-fixed: 1109207
2017-01-23sdm: Add support for compliance test mode for DPRamkumar Radhakrishnan
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. Change-Id: I49469d94a96ada729d24d7cc03a7e79f2af6edc0 CRs-Fixed: 1107663
2016-12-30Merge "display: Add HDMI support in APIs exposed by display."Linux Build Service Account
2016-12-13display: Add HDMI support in APIs exposed by display.Namit Solanki
- Remove hardcoded primary display from getActiveConfig() and getDisplayAttributes() for video decoder to query the secondary display resolution. - Add permission for Video decoder UID to call these APIs. Change-Id: I1ec1e19dda76f2e0e085c52450449bdc13a739fa CRs-Fixed: 1100704
2016-11-17qdutils: Conditionally mute pu control error logPrabhanjan Kandula
If display.qservice dies all the pending binders would timeout. Mute error logging from binder wrapper and return the error value to client. Change-Id: I91daea0e9068088104bc3c40d67f6c9553673832 CRs-fixed: 1086061
2016-11-14display: Add color MetadataArun Kumar K.R
- Add color aspects and HDR10 related static metadata which will be used in the existing metadata structure. - Clients can use COLOR_METADATA to update the CSC information - UPDATE_COLOR_SPACE is legacy and will be used when COLOR_METADATA is not set. - Update gralloc to return color space when set from COLOR_METADATA - Gaurd the usage with USE_COLOR_METADATA for cobalt. Change-Id: I460accf6cd2bb7a305c7e93284955e566a5b7532 Crs-fixed: 1074172
2016-10-24qdMetadata: Fix potential memory leak in copyMetaDataBaldev Sahu
- Fix potential memory leak which can happen due to change "Iba741215e524254b88f88058052fb6408e1f4a36" Change-Id: I4e0fdee0a69c309b9fc06b1e7df83a0045159777
2016-10-19sdm: Remove version dependency.Rajavenu Kyatham
Change-Id: I0081584d77f4bb4c6f561554e9cf8fb0f2dab471
2016-10-17display: Add Support for Rec.2020Arun Kumar K.R
- Add Rec2020 CSC in qdMetadata for limited/full range - Expose CSC as #defines in gralloc private header to help GFX decouple from the display headers Change-Id: I90ee2708275bf1a37ece0fce2f0867dfad64e39a Crs-fixed: 1074164
2016-10-13qd_utils: Export qd_utils to TARGET_OUT_HEADERSArun Kumar K.R
Export qd_utils.h to TARGET_OUT_HEADERS for other clients to use it to query SDE Information. Change-Id: If46a5ca088ca0327bdc9c5cb016dcd19e9546562 Crs-fixed: 1077636
2016-09-07Merge "qdutils: Add VT timestamp to the metadata"Linux Build Service Account
2016-09-02Merge "sdm: Add GCC toolchain compatible makefiles."Linux Build Service Account
2016-09-02qdutils: Add VT timestamp to the metadataNaseer Ahmed
Add a presentation timestamp that is set by camera for buffers intended for video telephony. Change-Id: I8d3ab9e5ea798c6794a74ea6f0f607a303752a6b CRs-Fixed: 1053401