summaryrefslogtreecommitdiffstats
path: root/sdm
Commit message (Collapse)AuthorAgeFilesLines
...
* | sdm: drm: Set CRTC mode, only if display config changesSushil Chauhan2018-05-152-1/+9
|/ | | | | | | | | | When display mode is set on a CRTC object, it is cached by DRM driver and it is not required to be programmed in Validate or Commit of each draw cycle, until the display configuration gets updated. Hence, set the CRTC mode, only if the display configuration or state changes. CRs-Fixed: 2240899 Change-Id: I89cef5c67c210fc070d0aa74d460e362a08a78fe
* hwc2: Add support for per frame layer metadataNaseer Ahmed2018-05-125-1/+101
| | | | | Change-Id: Icd7093690954b30ce99e72119a740c6bfb636a7d CRs-Fixed: 2237407
* hwc2: Get working color space from current modeNaseer Ahmed2018-05-125-44/+56
| | | | | | | | | * get the primaries and transfer from the current color mode * Remove FEATURE_WIDE_COLOR. * Ignore WCS when current mode is Native Change-Id: I17a33e39c85f6404dd0124f355e4082486fb63b2 CRs-Fixed: 2236815
* sdm: Simplify HDR mode handlingNaseer Ahmed2018-05-123-185/+11
| | | | | | | | * HDR mode is now set by the framework, remove local mode set. * Disable GPU tonemapper. Change-Id: I89b8e665af7b49aa487bbca87897a2ca68a59a20 CRs-Fixed: 2236509
* sdm: hwc2: Plumb render intent APIsNaseer Ahmed2018-05-127-174/+288
| | | | | | | | | * 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
* sdm: Fix cpplint issuesNaseer Ahmed2018-05-122-4/+4
| | | | | Change-Id: Ie721b37d076681f62c92a653dfcceff2fb0d6427 CRs-Fixed: 2240026
* Merge "hwc2: Avoid overwriting metadata refresh rate."Linux Build Service Account2018-05-085-5/+25
|\
| * hwc2: Avoid overwriting metadata refresh rate.Pullakavi Srinivas2018-05-084-3/+17
| | | | | | | | | | | | | | | | -- Compute sanitized metadata refresh rate. -- Populate display's operating refresh rate to all the layers that donot support metadata refresh rate. Change-Id: Iaf17e4e10da543e110fcf6ba7648d60807069f98
| * sdm: Update vendor HDR capability logicCh Ganesh Kumar2018-05-081-2/+8
| | | | | | | | | | | | | | | | | | | | HDR support capabilities were populated to SF, when panel and target supports HDR. At SF, HDR layer is forced to GPU composition with new HDR solution, if vendor does not support HDR. This change will populate marking HDR support to true (for all display types) when primary panel is internal. Change-Id: I8305ae672cf8a721abf25ce026f21dbcbbb17928
* | Merge "sdm: Add missing default initializations"Linux Build Service Account2018-05-082-48/+29
|\|
| * sdm: Add missing default initializationsSaurabh Shah2018-05-082-48/+29
| | | | | | | | | | | | | | Add missing default initializations. Remove reset(). Change-Id: Ib629db78b7b47afbf66193533870a6433ab9eec6 CRs-fixed: 2194609
* | Merge "hwc2: Add HLG cap in the HDR capabilities"Linux Build Service Account2018-05-081-4/+5
|\|
| * hwc2: Add HLG cap in the HDR capabilitiesSushil Chauhan2018-05-081-4/+5
| | | | | | | | | | | | | | Add HAL_HDR_HLG in the HDR Capabilities of HWC device implementation. CRs-Fixed: 2209117 Change-Id: I64ea9c5f4dfe3f1eb8176906016242acbb2251e8
* | Merge "sdm: Avoid fb_id creation and removal in each frame"Linux Build Service Account2018-05-0710-95/+138
|\ \
| * | sdm: Avoid fb_id creation and removal in each frameSushil Chauhan2018-05-0410-95/+138
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* / hwc2: Get Mapper instance in frame dump utilityAnjaneya Prasad Musunuri2018-05-071-0/+4
|/ | | | | | | | Mapper instance is not available if frame dump is called prior to buffer allocation through hwc buffer allocator. Change-Id: I2b92aa594978d996be8f0036ac7c006fe23d3efa CRs-Fixed: 2233209
* sdm: color: Add Enhanced color attributeNaseer Ahmed2018-05-021-0/+1
| | | | | CRs-Fixed: 2285535 Change-Id: Iab18d5d17df9ac3483268c0d0412411bfc9ea847
* hwc2: Use libdebug defined macros for logging.Dileep Marchya2018-05-012-7/+6
| | | | | Change-Id: Ia44904aac0a54edf9f61b1789a4362a939d490ea CRs-Fixed: 2211061
* sdm: hwc2: Fix cpplint errorsSushil Chauhan2018-04-273-8/+9
| | | | | | | Fix the cpplint errors in Concurrent Writeback support. CRs-Fixed: 2230611 Change-Id: I7f9e897956d79eb271de902a0de219a918cf1a5d
* Merge "sdm: Dump color modes in dumpsys"Linux Build Service Account2018-04-271-0/+11
|\
| * sdm: Dump color modes in dumpsysNaseer Ahmed2018-04-251-0/+11
| | | | | | | | Change-Id: I90b68cb66d3cc6c8746cc8cf7ec74b8f285be449
* | hwc2: HWC Readback is not supported in case of multiple displaysSushil Chauhan2018-04-262-0/+7
| | | | | | | | | | | | | | | | | | | | - HWC Readback feature is not supported if multiple displays are present. - Avoid Skip Validate when HWC Readback is used to dump multiple frames output with HWC binder command. CRs-Fixed: 2230611 Change-Id: Id18337a2fb3bec050319922641e159490067d08a
* | sdm: drmutils: Define Concurrent Writeback cap in CrtcInfoSushil Chauhan2018-04-251-1/+1
|/ | | | | | | Define Concurrent Writeback cap in CRTC Info instead of Connector. CRs-Fixed: 2230611 Change-Id: I034e4ca8bf50eb3587302c377a0d54460256d148
* sdm: hwc2: Add support for HWC Readback featureSushil Chauhan2018-04-1713-75/+301
| | | | | | | Add support for HWC Readback feature in HWC2 and SDM. CRs-Fixed: 2217822 Change-Id: If2df64dc0bdea7a9ca4c2b0498f1cd3f3dc9de9d
* sdm: Parse CRTC property to enable secure UI enhancement.Ramkumar Radhakrishnan2018-04-151-0/+1
| | | | | Change-Id: I487c2780e8695bd0dda504becb92a55c4351240a CRs-Fixed: 2224827
* Merge "Revert "sdm: add one action to set panel brightness and refresh screen""Linux Build Service Account2018-04-1512-48/+1
|\
| * Revert "sdm: add one action to set panel brightness and refresh screen"Ch Ganesh Kumar2018-04-0512-48/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | colormanager: Fix warning messageNaseer Ahmed2018-04-121-1/+1
| | | | | | | | Change-Id: Ifd88da5f1789b5f7b2584de48384aaba1b4a7842
* | Merge "sdm: Use generic libdebug utility."Linux Build Service Account2018-04-0615-432/+178
|\ \
| * | sdm: Use generic libdebug utility.Dileep Marchya2018-04-0415-432/+178
| | | | | | | | | | | | | | | CRs-Fixed: 2211061 Change-Id: Ib949c40ff63a61a4476876c45357a40a702c9a01
* | | Merge "sdm: Fix merge conflict"Linux Build Service Account2018-04-051-50/+0
|\| |
| * | sdm: Fix merge conflictNaseer Ahmed2018-04-041-50/+0
| |/ | | | | | | Change-Id: Ib65f217da5501c9b490f59f0c532a217c888548d
* | sdm: Set connector mode on power offRamkumar Radhakrishnan2018-04-041-0/+2
| | | | | | | | | | | | | | | | | | | | CRTC ROI is set to full screen during power off. if SetActiveConfig() called before SetPowerMode off, CRTC ROI is set to full screen based on old resolution mode which results in failure. Hence set the new connector mode as a part of SetPowerMode to avoid this. Change-Id: Id3b16113a8f944b6fb839f23f6af8b56bba69fdc CRs-Fixed: 2211483
* | hwc2: Fix VTS failure on setActiveConfig() testcaseRamkumar Radhakrishnan2018-04-041-0/+4
|/ | | | | | | | | | New resolution mode being set as a part of next commit, if getActiveConfig() is called before the next commit sdm provides the old config that results in VTS failure. Hence return the pending config instead of the current config. Change-Id: I18660916dae1c9fc8b3390afed1b94d8448f5966 CRs-Fixed: 2211483
* sdm: Add interface to populate secure ui pipe capabilityRamkumar Radhakrishnan2018-03-232-2/+5
| | | | | | | | Add drm/hw interface to populate block_secure_ui property from pipe capabilities Change-Id: I24b34798aca0bd6ffe3051659cfbc1a70e3aa8a9 CRs-Fixed: 2206828
* Merge "sdm: comply with treble guidelines"Linux Build Service Account2018-03-225-5/+5
|\
| * sdm: comply with treble guidelinesUday Kiran Pichika2018-03-225-5/+5
| | | | | | | | | | | | | | Modify the property names and use macros in place of them CRs-Fixed: 2206249 Change-Id: I0ccc09fc8335560654e487e78552f79ff7a083de
* | Merge "sdm: comply with treble guidelines"Linux Build Service Account2018-03-2210-42/+93
|\ \ | |/ |/|
| * sdm: comply with treble guidelinesUday Kiran Pichika2018-03-1610-42/+93
| | | | | | | | | | | | | | Modify the property names and use macros in place of them CRs-Fixed: 2206249 Change-Id: I5ae790ca62a258b0d7c14931e0132727feed48a3
* | gralloc: Implement IMapper::2.1Naseer Ahmed2018-03-192-2/+3
| | | | | | | | | | | | | | Implements the new IMapper v2.1 APIs Passes VTS for IMapper v2.1 Change-Id: I9762cd056a296c522ab3446408c3c4c5434b3dc4
* | Merge tag 'display.lnx.4.0-180312' into display.lnx.4.0Naseer Ahmed2018-03-1629-107/+248
|\ \ | |/ |/| | | Change-Id: If3dca0edf21476ac14809748dc4e187da4618dad
| * Merge "sdm: Drop idle timeout event if refresh is in progress."Linux Build Service Account2018-03-074-3/+17
| |\
| | * sdm: Drop idle timeout event if refresh is in progress.Namit Solanki2018-03-014-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Drop idle timeout event if it occurs between prepare() and commit() i.e. device is not really in idle state since a new refresh cycle has already started. Change-Id: If66353ac38bd3a5463fb7fa002e61fb8ed7c80d8 CRs-Fixed: 2181941
| * | Merge "hwc2: Set validated flag when layer stack is empty."Linux Build Service Account2018-03-051-0/+1
| |\ \ | | |/ | |/|
| | * hwc2: Set validated flag when layer stack is empty.Ramakant Singh2018-02-281-0/+1
| | | | | | | | | | | | | | | Change-Id: I4d782deb55637df6599b017d118c204db35af5c6 CRs-Fixed: 2192760
| * | Merge "sdm:hwc2: Initialize color mode count for virtual display."Linux Build Service Account2018-03-012-2/+11
| |\ \
| | * | sdm:hwc2: Initialize color mode count for virtual display.Pullakavi Srinivas2018-02-232-2/+11
| | | | | | | | | | | | | | | | | | | | CRs-Fixed: 2194718 Change-Id: I33df8b1b81d98d24dcbc7d013b9ff9cee59c3e94
| * | | Merge "sdm: Drop HW VSYNC in min FPS state."Linux Build Service Account2018-02-284-4/+13
| |\ \ \
| | * | | sdm: Drop HW VSYNC in min FPS state.Namit Solanki2018-02-214-4/+13
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Do not send HW VSYNC to SF in min FPS state until a commit is received. If HW VSYNC is sent to SF in min FPS state, this cause SW VSYNC in SF to first adjust to min FPS initially, and then after commit SW VSYNC again adjusts to max FPS. Change-Id: I47ec673e68c4eae643103ebfb2009fb96f6934f3 CRs-Fixed: 2192683
| * | | Merge "hwc2: Fix interlace flag setting to SDM layers"Linux Build Service Account2018-02-231-4/+3
| |\ \ \