Age | Commit message (Collapse) | Author |
|
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>
|
|
|
|
|
|
|
|
Add support for multiple tone map sessions for HDR feature.
CRs-Fixed: 1104823
Change-Id: I6039cf4fac85195c75bcc8762bcbcd0ede8b196a
|
|
- 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
|
|
- 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
|
|
Read MDP HW capability and panel's color primaries,
hdr capability and the brightness range from panel
caps.
Change-Id: I5180fb6e9c828ef1bb3b91249bf2ca102b2f5a23
Crs-fixed: 1104530
|
|
|
|
|
|
- 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
|
|
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
|
|
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
|
|
- 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
|
|
|
|
|
|
|
|
|
|
Buffers used for gpu tone mapping were getting
leaked as eglImage was not destroyed.
Free eglImage on termination.
Change-Id: I4473bc01efd2d7c8e19b7d3cbcd8330eff591081
Crs-fixed: 1106899
|
|
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
|
|
Add Detail Enhancer configuration support in color-mode set
operation performed from the composer layer.
Change-Id: Ibaa20a168098088108e949e937d10529d42042e1
CRs-Fixed: 1075087
|
|
|
|
|
|
|
|
|
|
Enable error/warning conditional logs only if the corresponding debug
tags are set.
Change-Id: I762d586ed173fa5bd9ca32c797110eebcdd8b81e
CRs-Fixed: 1107539
|
|
Add support to get the aligned width and size for P010 YUV format
Change-Id: I0e4908b2f0b2c8b668d4b58702421c89bb03b195
CRs-Fixed: 1102142
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Add LCM and GCD utilities in SDM utils.
CRs-Fixed: 1105754
Change-Id: Ib92807922faecdd51c224b5c4ba6421b85e62b8b
|
|
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
|
|
- 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
|
|
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
|
|
- Add additional space in pipe index to fix
tabular alignment.
CRs-Fixed: 1099419
Change-Id: I26c7f628c0cd418ec68b04b2909554407ae5d27e
|
|
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
|
|
- 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
|
|
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
|
|
- 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
|
|
- 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
|
|
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
|
|
|
|
|
|
- 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
|
|
Program output buffer with actual width & height before
padding alignement.
Change-Id: Ic9c09cad1b7cc064cf3d3cbdd68a5945b113eff6
CRs-fixed: 1082602
|
|
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>
|