summaryrefslogtreecommitdiff
path: root/sdm/include
AgeCommit message (Collapse)Author
2018-08-21sdm: 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-17sdm: Allow Skip Validate when Partial Update is disabledSushil Chauhan
Allow Skip Validate, if the Partial Update feature is not enabled on Display and surface is getting updated on the updating layer(s). CRs-Fixed: 2280394 Change-Id: I0524818fb4cbb11dcc8fc993fa7ae536bd555709
2018-05-12sdm: Fix cpplint issuesNaseer Ahmed
Change-Id: Ie721b37d076681f62c92a653dfcceff2fb0d6427 CRs-Fixed: 2240026
2018-05-08Merge "sdm: Add missing default initializations"Linux Build Service Account
2018-05-08sdm: Add missing default initializationsSaurabh Shah
Add missing default initializations. Remove reset(). Change-Id: Ib629db78b7b47afbf66193533870a6433ab9eec6 CRs-fixed: 2194609
2018-05-04sdm: Avoid fb_id creation and removal in each frameSushil Chauhan
- Cache the <handle_id, fb_id> map in SDM layer. - Registry finds the handle_id in layer map. If it is found, then mapped fb_id is programmed to DRM driver. Else fb_id is created and it is added in map for the given handle_id key. This map is cleared and fb_ids are removed, when the SDM layer gets deleted. - "vendor.display.disable_fbid_cache" system prop needs to be set to disable the fb_id caching in SDM. So, fb_id will be removed and created for each SDM layer in every draw cycle. CRs-Fixed: 2235202 Change-Id: I1d6c7fbc1fc5c1f9afad36cf49f17bc8c5322fe5
2018-05-02sdm: color: Add Enhanced color attributeNaseer Ahmed
CRs-Fixed: 2285535 Change-Id: Iab18d5d17df9ac3483268c0d0412411bfc9ea847
2018-04-15Merge "Revert "sdm: add one action to set panel brightness and refresh screen""Linux Build Service Account
2018-04-05Revert "sdm: add one action to set panel brightness and refresh screen"Ch Ganesh Kumar
This reverts commit c31d7f8d94d0caf226b0ee246400b435a4fa7cec. Conflicts: sdm/include/private/color_params.h sdm/libs/core/fb/hw_device.cpp sdm/libs/hwc/hwc_display.cpp sdm/libs/hwc/hwc_display.h sdm/libs/hwc/hwc_session.cpp Change-Id: I76729ee9ae83a611fca632e18315d478bcf13fa4
2018-04-04sdm: Use generic libdebug utility.Dileep Marchya
CRs-Fixed: 2211061 Change-Id: Ib949c40ff63a61a4476876c45357a40a702c9a01
2018-04-04sdm: Fix merge conflictNaseer Ahmed
Change-Id: Ib65f217da5501c9b490f59f0c532a217c888548d
2018-03-23sdm: Add interface to populate secure ui pipe capabilityRamkumar Radhakrishnan
Add drm/hw interface to populate block_secure_ui property from pipe capabilities Change-Id: I24b34798aca0bd6ffe3051659cfbc1a70e3aa8a9 CRs-Fixed: 2206828
2018-03-22Merge "sdm: comply with treble guidelines"Linux Build Service Account
2018-03-22Merge "sdm: comply with treble guidelines"Linux Build Service Account
2018-03-22sdm: comply with treble guidelinesUday Kiran Pichika
Modify the property names and use macros in place of them CRs-Fixed: 2206249 Change-Id: I0ccc09fc8335560654e487e78552f79ff7a083de
2018-03-16Merge tag 'display.lnx.4.0-180312' into display.lnx.4.0Naseer Ahmed
Change-Id: If3dca0edf21476ac14809748dc4e187da4618dad
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-08sdm: Set inline rotator prefill bw property to driverRamkumar Radhakrishnan
Change-Id: Ie775db54ef2c254f670ad072c51b1daf18cd9786 CRs-Fixed: 2158709
2018-02-27sdm: Use monotonic clock in HALGousemoodhin Nadaf
gettimeofday() function returns wall clock time which can change if the time is updated using NTP etc. Use clock_gettime() function to get monotonic clock time to safely and reliably measure elapsed time in a program. CRs-Fixed: 2190449 Change-Id: Icc7e470b6427db58837473039d0537748de5b2aa
2018-02-14Merge "sdm: Merge release fence after set power mode"Linux Build Service Account
2018-02-14Merge "sdm: Set inline rotator prefill bw property to driver"Linux Build Service Account
2018-02-06sdm: Set inline rotator prefill bw property to driverRamkumar Radhakrishnan
Change-Id: Ie775db54ef2c254f670ad072c51b1daf18cd9786 CRs-Fixed: 2158709
2018-02-06sdm: Merge release fence after set power modeRamkumar Radhakrishnan
On SetPowerMode() with retain pipes, DRM driver triggers the kick off that enables MDP to read the previously queued buffer, Since the fence created during SetPowerMode() is not merged with the previously queued buffer, it may result in tearing. Hence get the release fence from driver on SetPowerMode and propagate it to hwcomposer to merge it with the previous release fence of all layer buffers to avoid tearing. Change-Id: I81c078a1b05dd3fb34f10b9b70e25cfbcfabd117 CRs-Fixed: 2184515
2018-02-05sdm: hwc2: Update HDR blend color space in SDM layer stackSushil Chauhan
Update the ColorPrimaries and Transfer of HDR blending color space in SDM layer stack. CRs-Fixed: 2167954 Change-Id: I0298ebb004e658fda1e12603d49086129473e53d
2018-01-16sdm: Define HW HDR EOTF valuesSushil Chauhan
Define HDR EOTF (Electro Optical Transfer Function) values in SDM. CRs-Fixed: 2157996 Change-Id: Idf726c5028921a6f8a3ba978ff2db1a380f0f726
2018-01-05sdm: Add virtual flag in HWPipeInfo to find pipe pairsRamkumar Radhakrishnan
Change-Id: Id2a867a10991341f7e52c78ca721e9db3e1685bf CRs-Fixed: 2154113
2017-12-15Merge "display: Enhance debug logging"Linux Build Service Account
2017-12-15Merge "sdm: Populate min prefill lines."Linux Build Service Account
2017-12-15Merge "qdcm: apply color transform after QDCM mode set"Linux Build Service Account
2017-12-07sdm: Populate min prefill lines.Pullakavi Srinivas
Change-Id: I5b3b44413d23d13983e7bb7ecc736893d8ba6aec
2017-12-01Merge "sdm: Add support for P010 Venus format"Linux Build Service Account
2017-12-01qdcm: apply color transform after QDCM mode setCh Ganesh Kumar
color inversion effect is cleared when QDCM display mode is set. restore color transform matrix when QDCM mode is set. Change-Id: I033422f4c6e97f28536498a03d55c79f5340019a CRs-Fixed: 2120150
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-28sdm: drm: Get HDR sink properties from kmsSrikanth Rajagopalan
Get sink capabilities for HDR support from drm-kms. CRs-Fixed: 2143509 Change-Id: I89ae16d333de995a841ea10311d092485c517226
2017-11-28display: Enhance debug loggingSaurabh Dubey
1) Enable dynamic debugging in DRM 2) Add more Qservice debug categories, add corresponding kTags 3) Use ALOG for messages before core creation and after it is destroyed 4) Categorize existing logs correctly 5) Add more logs Change-Id: I3a9907900c6546adca907ecf720a78649fdc800b Crs-fixed: 2146757
2017-11-28Merge "sdm: libs: core: Re-Initialize color-modes after boot-animation"Linux Build Service Account
2017-11-24Merge "sdm: Add support for dynamic color metadata"Linux Build Service Account
2017-11-22sdm: Change the strategy of switch between with SDR and HDR modeQing Huang
There is a default HDR mode in QDCM XMl file, which is value of PictureQuality equal to "standard". Default HDR mode will be applied when HDR video playback. Change-Id: I5420518e3921a91b7cc644c89b972909c36c6cd5
2017-11-21sdm: Add interface for set/get instance of HdrInterfaceQing Huang
For HDRLib 2.0, ColorManager will set hdr parameters to HDRLib. So ColorManager need to get instance of HdrInterface via SDM because of it's not singleton. Change-Id: Iec72d58b17e71f747caa06076a6545ba6c5df0bc
2017-11-21sdm: Add support for dynamic color metadataGopikrishnaiah Anandan
Change updates the dynamic color metadata interface for HDR10. Move the creation of colormanager before registering the display to allow passing the hdr library interface to color manager. CRs-Fixed: 2102517 Change-Id: I51723e896168648fac74515d2f72b6c743673e8e
2017-11-15sdm: Fix SDM Dump() design and synchronization issuesSaurabh Shah
SDM Dump() follows a DumpImpl based design that prevent it from being called via a lock held from HWC. This leads to synchronization issues since SDM's Dump() method accesses original layer stack members. This change removes the unnecessary DumpImpl based design and routes the flow to SDM's Dump() method with HWC's Dump() method. Change-Id: I9f255c061a2509a4e9d8c6bd446389df3e8f6549 CRs-fixed: 2139697
2017-11-15Merge "sdm: Fix hw layer stack corruption"Linux Build Service Account
2017-11-13sdm: Fix hw layer stack corruptionPullakavi Srinivas
Strategy might create multiple layers from input stack. This can result in corruption if predefined arrays cannot handle required size. To mitgate this use vectors. CRs-Fixed: 2125010 Change-Id: Ib6a681332480a5fdf42ac1df97a64f8d758218a8
2017-11-09sdm: Define error type for critical resource allocation failureSushil Chauhan
Define "kErrorCriticalResource" error type for the pipe allocation failure in critical use cases like HDR on External or WiFi display. CRs-Fixed: 2132921 Change-Id: I9877ce6e35bb69299cfc659a304ec29984a94856
2017-10-18Revert "Populate minimum ib limit" and populate hw_version.Ramkumar Radhakrishnan
1. This reverts commit b44863291e7b62df2aca92d97b59376ea3d15dc1. 2. Populate hw_version information from CRTC info Change-Id: I30445c8b93dd6fec49d5984763b464c4efcdb886 CRs-Fixed: 2121347
2017-10-17Merge "qdcm: Add interface to query pp feature"Linux Build Service Account
2017-10-17qdcm: Add interface to query pp featureRajesh Yadav
Add an interface to query dirty pp feature from pp_feature_list. Change-Id: Icc0494d8d3343947725cbeb921e90e706ceead5a
2017-10-09sdm: Disable skip validate on Panel Dead eventAnjaneya Prasad Musunuri
- Disable skip validate on Panel Dead event. - Register to panel dead event only if supported. CRs-Fixed: 2122298 Change-Id: I1380eaf6899f0733ed1ba8a69eb6ee797de24bd5
2017-09-20sdm: Refactor GetClientTargetSupport APIRajavenu Kyatham
- Validate GetClientTargetSupport against hardware capabilities. Change-Id: Iae46254f9bcc45ca42879710e1ec4a41e593af57 CRs-Fixed: 2096611
2017-09-20Merge "sdm: Handle idle fall back and idle power collapse with same event"Linux Build Service Account