summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-18libmemtrack: Fix integer overflow in kgsl functionArchana Sriram
In the kgsl function which gets memory info for a pid, there could be possibility of integer overflow in operations with size, mapsize, accounted_size, and unaccounted_size due to which result might be smaller than these values. External inputs size and mapsize are verified, and overflow check has been added. CRs-Fixed: 1103020 Change-Id: Ic450e990598777591739635facc08fb7a2e477f9 Signed-off-by: Archana Sriram <apsrir@codeaurora.org>
2017-01-18Merge "sdm: Add support for multiple tone map sessions"Linux Build Service Account
2017-01-18Merge "gpu_tonemapper: Clear EGLImage mappings in Tonemapper"Linux Build Service Account
2017-01-13Merge "sdm: Fix hwc2 compilation"Linux Build Service Account
2017-01-12sdm: Add support for multiple tone map sessionsSushil Chauhan
Add support for multiple tone map sessions for HDR feature. CRs-Fixed: 1104823 Change-Id: I6039cf4fac85195c75bcc8762bcbcd0ede8b196a
2017-01-12sdm: Use LayerRequests in Tonemapper.Arun Kumar K.R
- Make use of the LayerRequests set by SDM in HWC Tonemapper to configure the Layer Information. - Helps in handling format change when tonemapping from YUV to RGB - Includes some changes needed in buffer allocator and sync handler Change-Id: I105116a7fe718e68329b17a209e37be399a6f8ca Crs-fixed: 1106036
2017-01-12sdm: Support ColorModes and HDR customizationsArun Kumar K.R
- Support ColorModes in HWC, which will enumerate the ColorModes and provide API to set ColorMode. - When the property "sdm.disable_hdr_lut_gen" is set, do not set HDRMode in SDM, as it will be handled by HWC Change-Id: Iebdf000c048ca4ab09ab3261e295c142988ea413 Crs-fixed: 1106019
2017-01-12sdm: Read HW HDR capabilitiesRajesh Yadav
Read MDP HW capability and panel's color primaries, hdr capability and the brightness range from panel caps. Change-Id: I5180fb6e9c828ef1bb3b91249bf2ca102b2f5a23 Crs-fixed: 1104530
2017-01-12Merge "sdm: Add GetBufferInfo Interface"Linux Build Service Account
2017-01-12Merge "sdm: Use Lut indexes directly from HWScaleData"Linux Build Service Account
2017-01-12sdm: Add GetBufferInfo InterfaceArun Kumar K.R
- New interface helps in getting aligned w/h size in SDM. - Implement the interface in HWC Buffer Allocator. - Pass BufferAllocator Intf to CompMgr and Strategy Change-Id: I1917143379aa2c706ea6babc0d7747d9cf0911bb Crs-fixed: 1104632
2017-01-12gpu_tonemapper: Fix forward tonemap shaderArun Kumar K.R
Fix the in-correct handling of the verticies in the forward tonemap shader which led to the vertical flip of tonemap out. Change-Id: I17ed607c35f41a349fd39646066b108c792534a0 Crs-fixed: 1106032
2017-01-11gpu_tonemapper: Clear EGLImage mappings in TonemapperSushil Chauhan
Tonemapper does not clear the eglImage/fd mappings in the destructor, which leads to incorrect usage of those fds, when a tone map session gets deleted and a new session gets created, leading to artifcats. CRs-Fixed: 1104823 Change-Id: I9697eff93f9e5f150796a582f471246bca3b2816
2017-01-11sdm: Fix hwc2 compilationArun Kumar K.R
- Remove marking hdr flags in hwc2 as HDR features needs having tonemapper included, until that don't tag any layers are HDR - Include hwc socket handler in HWCSession Change-Id: Ia560e9e21ef8e73ba81844bed7dde849381bdf61 Crs-fixed: 1110393
2017-01-10Merge "gpu_tonemapper: Free eglImage on termination"Linux Build Service Account
2017-01-10Merge "sdm: color-manager: Detail Enhancer Enhancements."Linux Build Service Account
2017-01-10Merge "sdm: Fix conditional logging of error and warning logs"Linux Build Service Account
2017-01-07Merge "libgralloc: Add gralloc support for P010 format"Linux Build Service Account
2017-01-06gpu_tonemapper: Free eglImage on terminationRajesh Yadav
Buffers used for gpu tone mapping were getting leaked as eglImage was not destroyed. Free eglImage on termination. Change-Id: I4473bc01efd2d7c8e19b7d3cbcd8330eff591081 Crs-fixed: 1106899
2017-01-05sdm: Use Lut indexes directly from HWScaleDataArun Kumar K.R
The modification of the lut indexes will be taken care by the extension library, hence directly assign the lut indexes to the mdp scale v2 structure. Change-Id: If0ccc401aab0c371ca4805e2cef5f22c8399e4e7 Crs-fixed: 1107694
2017-01-05sdm: color-manager: Detail Enhancer Enhancements.Alan Kwong
Add Detail Enhancer configuration support in color-mode set operation performed from the composer layer. Change-Id: Ibaa20a168098088108e949e937d10529d42042e1 CRs-Fixed: 1075087
2017-01-05Merge "sdm: skip null commit on command mode panels"Linux Build Service Account
2017-01-05Merge "sdm: Add utils in SDM utils"Linux Build Service Account
2017-01-05Merge "sdm: Define DPPS control interface"Linux Build Service Account
2017-01-04Merge "sdm: Define Socket Handler interface"Linux Build Service Account
2017-01-04sdm: Fix conditional logging of error and warning logsRamkumar Radhakrishnan
Enable error/warning conditional logs only if the corresponding debug tags are set. Change-Id: I762d586ed173fa5bd9ca32c797110eebcdd8b81e CRs-Fixed: 1107539
2017-01-03libgralloc: Add gralloc support for P010 formatRamkumar Radhakrishnan
Add support to get the aligned width and size for P010 YUV format Change-Id: I0e4908b2f0b2c8b668d4b58702421c89bb03b195 CRs-Fixed: 1102142
2016-12-30Merge "sdm: Fix dumpsys alignment"Linux Build Service Account
2016-12-30Merge "display: Fix ColorMetaData"Linux Build Service Account
2016-12-30Merge "sdm : Fix output buffer dimensions for concurrent wb"Linux Build Service Account
2016-12-30Merge "display: Add HDMI support in APIs exposed by display."Linux Build Service Account
2016-12-30Merge "sdm:scalar:intialize scaling params."Linux Build Service Account
2016-12-30Merge "sdm: Read downscale_compression capability from Rotator"Linux Build Service Account
2016-12-30Merge "sdm: Handle AVR and dynamic fps concurrency scenario."Linux Build Service Account
2016-12-29sdm: Add utils in SDM utilsSushil Chauhan
Add LCM and GCD utilities in SDM utils. CRs-Fixed: 1105754 Change-Id: Ib92807922faecdd51c224b5c4ba6421b85e62b8b
2016-12-22sdm: Define DPPS control interfaceSushil Chauhan
1. Define an interface for controlling DPPS features from SDM. 2. Create DPPS control interface with SocketHandler provided by client. 3. Display can use the DPPS Control interface to disable/enable DPPS at the start/end of HDR video playback. 4. Call SetColorModeInternal api, only when Color Manager is present. CRs-Fixed: 1099069 Change-Id: I232e6001a24c85ceb5faaef45b8d7220329c47b3
2016-12-21display: Fix ColorMetaDataArun Kumar K.R
- Fix Transfer_HLG and other ColorAspects which was incorrectly mapped to wrong values. - Use TARGET_USES_COLOR_METADATA to enable using ColorMetaData Change-Id: I4d1dc6385461ddb77e9b2865ec0bd28448c5e554 Crs-fixed: 1098731
2016-12-20sdm: skip null commit on command mode panelsAnjaneya Prasad Musunuri
Command mode panels do not requre NULL commit to free buffers. Skip null to resolve flickers seen during no app layers present in draw cycle. Change-Id: I2ed87da94db1ff3b21903f2a8c354c6cf521bf8e CRs-fixed: 1103190
2016-12-20sdm: Fix dumpsys alignmentDileep Marchya
- Add additional space in pipe index to fix tabular alignment. CRs-Fixed: 1099419 Change-Id: I26c7f628c0cd418ec68b04b2909554407ae5d27e
2016-12-16sdm: Define Socket Handler interfaceSushil Chauhan
1. Define Socket Handler interface for SDM. 2. Add HWC Socket Handler implementation. 3. SDM will use this interface to get the platform specific DPPS Socket fd from HWC. CRs-Fixed: 1099069 Change-Id: I8c3b48306d4ee994133990a160e4c4f3a90b1875
2016-12-16sdm: Add support for HDRArun Kumar K.R
- Add LayerRequests to SDM Layer Interface, which will be used in informing any requests from SDM to client. - Check for color metadata from client and handle HDR content. - Include GPU Tonemapper to tonemap any requests coming from SDM Change-Id: Idd1882ffab77fc3bff296114f36fb30bff4a4530 Crs-fixed: 1092142
2016-12-16gpu_tonemapper: Include gpu tonemapperArun Kumar K.R
GPU tonemapper library which is used by HWC to tone map the layers from one Gamut to another based on the 3D LUT. Change-Id: Iccaa38e40989e832fd3891a24eca494aba696d9a Crs-fixed: 1094964
2016-12-16sdm: Add Layers to HWLayersInfo IntfArun Kumar K.R
- HWLayersInfo will carry the Layers vector which will be used Resource and HW Intf - Remove referring to the Layer from the LayerStack using index. - Helps in de-coupling original Layers being modified due to any strategy optimization - Data type of the "input_buffer" is not a pointer Change-Id: I33c07f692f39c37bc49551e0c0bee2a884ec244b Crs-fixed: 1092912
2016-12-16sdm: Use ColorMetadata in SDMArun Kumar K.R
- Replace LayerCSC with ColorMetadata which has other color parameters such as range, matrix co-effs and HDR info. - Add appropriate mapping in SetCSC. Change-Id: Ic21b285e0828b25bcb719372351f685bd92cec26 Crs-fixed: 1085366
2016-12-14sdm: Handle AVR and dynamic fps concurrency scenario.Ramkumar Radhakrishnan
Change the refresh rate of the panel only when AVR feature is disabled or AVR feature is not supported to avoid ping pong time out Change-Id: Id1728849a01eea60d9b088417399f7b9d223498a CRs-Fixed: 1098635
2016-12-13Merge "sdm: Indicate driver about multi roi pu usage."Linux Build Service Account
2016-12-13Merge "qdutils: Conditionally mute pu control error log"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-12-12sdm : Fix output buffer dimensions for concurrent wbPrabhanjan Kandula
Program output buffer with actual width & height before padding alignement. Change-Id: Ic9c09cad1b7cc064cf3d3cbdd68a5945b113eff6 CRs-fixed: 1082602
2016-12-12libmemtrack: Revert back the AOSP copyright years to 2013Hareesh Gundu
AOSP copyright years are incorrectly updated to 2013, 2016. Revert back AOSP copyright years to 2013 to as per requirement. Change-Id: I2235f415ce7c40d03f3060d4ac2bbb8690cce6d0 Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>