summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-01-19Revert "display: Use project pathmap"HEADsugisawa-8150alk3pInjection
This reverts commit 41b5d296bbe887277947f3910b92710c633a5f2a. Change-Id: I4b7dc9cfd7e26e0815f577cf580b43b27dc5b60d
2021-11-30hwc_session: move a breakGeorge Burgess IV
As written, this loop only runs once, which makes clang's new warning unhappy: hardware/qcom/sm8150/display/sdm/libs/hwc2/hwc_session.cpp:934:51: error: loop will run at most once (loop increment never executed) [-Werror,-Wunreachable-code-loop-increment] Chatting with qcom, this appears to be a bug, and the best fix is to move the `break` into the `if`. Bug: 150166387 Test: TreeHugger Change-Id: Icb64eed5b894b9188f5265094587dd802207ba66
2021-11-30fix -Wunreachable-code-loop-incrementGeorge Burgess IV
`glGetError()` may return more than one error, yet these loops never iterated more than once. This CL fixes that, and cleans up some useless casting. Same fix as Ib2d3a6a95726fa954426a3644635dcf41fb571db. Bug: 150166387 Test: TreeHugger Change-Id: Ie569d385bb67fe2fdf2003577614e6b35ed9f17c
2021-11-30display: Drop LOCAL_COPY_HEADERS usagePig
LOCAL_COPY_HEADERS is deprecated, so remove all its usages to avoid build warnings. Change-Id: I964a11f036e03fb9fa2dec05a1698c118b06b421
2021-11-30sdm: mark FOD pressed layer by setting a bit on ZPOSDemon000
Change-Id: Ie1503da41766c31c9ec31bbb4282ae9ed62defce
2021-11-30gralloc: Add option for unaligned YCrCb pixel formatWilli Ye
* Same problem as unaligned NV21_ZSL (Samsung Galaxy A70 needs this) Change-Id: Iddf19433ddef8023b9fa3f7b735f40039dafe3a6
2021-11-30gralloc: Add option for unaligned NV21_ZSL pixel formatLuK1337
* Not sure why this is a thing but on some devices (eg. Samsung Galaxy Tab S5e) aligning NV21_ZSL to 64 results in invalid width and height. Change-Id: I8611752798a8c66ba55d52d826aa532fd76abe33
2021-11-30gralloc: Add option for YCrCb venus camera previewSGCMarkus
On judypn (LG V40) camera preview has red/blue colors switched with HAL_PIXEL_FORMAT_YCbCr_420_SP_VENUS but HAL_PIXEL_FORMAT_YCrCb_420_SP breaks camera preview entirely. When using HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS camera preview works fine, with correct colors. Change-Id: I84ffcbbeb66acf4401294de6b4f3cf846c7530b9
2021-11-30gralloc: Allow devices to opt-in for YCrCb camera previewLuK1337
* Some stock camera HAL implementations output video stream in YCrCb instead of YCbCr. Change-Id: I562847dfd9bcf796052f6fd7263e2affbd601384
2021-11-30Add C2D_FORMAT_BT601_FULLRANGE to C2D_FORMAT_MODEBruno Martins
* Another definition that CAF forgot to include in public HALs, leading to libc2dcolorconvert target breakage. Change-Id: Ida86923bcf9b8298a728bd0dcd08cf0410b2a8c9
2021-11-30Add C2D_COLOR_FORMAT_420_TP10 to C2D_YUV_FORMATLuK1337
* It seems like CAF forgot to include it in public HALs, breaking compilation for libc2dcolorconvert target. Change-Id: I0e3efc0eb6eccaa250e24f1056cc3db8935e5821
2021-11-30Don't build lights module if vendor supplies itSteve Kondik
Change-Id: I63589281961e1120e7536798df6d78b8a7af4304
2021-11-30display: Use project pathmapEthan Chen
Change-Id: Iabcd263ecf9f4eb28f4cd53862ba663c81275c10
2021-11-02Merge 533cb619ee8e9a5727320e56046a04784c8bc0aa on remote branchLinux Build Service Account
Change-Id: I9b3fa67484c603c69d1490c127a60cb190d3f0a0
2021-09-30display: Enable support for protected content GPU compositionVinoth Jayaram
Enable protected contents GPU composition for all targets. Change-Id: I7db5c3bee340dea313c8ee16ae13b8114fd2390e
2021-09-29Merge "sdm: Assign null pointer when object is deleted"qctecmdr
2021-09-27hwc2: Add support for pluggable as primaryPritama Biswas
Change-Id: I25f45d1583fbf79146dd5d6323a2ca51b42c65ab
2021-09-25hwc2: Use null display when primary not connected on boot.Pritama Biswas
Change-Id: I82cec38edde04836057b42bb04b7717d20488033
2021-09-22sdm: Assign null pointer when object is deletedRenchao Liu
Assign null pointer when object is deleted, this will help others to check whether the object is released or not. Change-Id: Ieca455980426ab8fc0fe0bdf93d2d4dc69ae8d10
2021-09-17sdm: Assign null pointer when object is deletedRenchao Liu
Assign null pointer when object is deleted, this will help others to check whether the object is released or not. Change-Id: Ieca455980426ab8fc0fe0bdf93d2d4dc69ae8d10
2021-05-27Merge ae684acc368b27a09b44ceb457981e7415194f88 on remote branchLinux Build Service Account
Change-Id: I6ebb665e4279e320f91fba3227db3efe3d21741b
2021-05-17sdm: Add hook to prioritize a layer for MDP compositionBipin Kumar
Change-Id: Icfeca2e0dac5d22e2273ea1197298907a5c7240f Crs-fixed: 2737678
2021-04-24Merge b3ca2d754b89fb723222a2609e54d5841a49dbcc on remote branchLinux Build Service Account
Change-Id: I48af765d5a1a31adf3bc92b5bea2da460377bf5c
2021-03-22Merge "hwc2 : Add scaling rgb layer flag to layer stack"qctecmdr
2021-03-18Disable partial FB excl rectRajavenu Kyatham
Change-Id: Iface126e34d30e89cafc3a5955270769244398ec CRs-Fixed: 2598494
2021-03-16hwc2 : Add scaling rgb layer flag to layer stackBaldev Sahu
Add scaling rgb layer flag to layer stack. This flag is used to avoid idle fallback which causes flicker due to mdp vs gpu output difference Change-Id: I9318e407fd1b56359c2f98de0d62784ee9803ed1
2021-01-24Merge 0a38f67f7c7e38f7c25b873796a303fd96ce7745 on remote branchLinux Build Service Account
Change-Id: Id4ea994382b7535b4dc7c1089dd5819047aecb88
2021-01-11hwc2: Skip SDE composition if all client layers are invalidBaldev Sahu
If all client layers have invalid coordinates, FB target may not get cleared and stale FB content may get composed along with other SDE layers. So skip all layers for such scenario to avoid any artifacts. Change-Id: I806cca9dfac424c6849069406ec4b62387cc2c44
2020-12-29Merge 13e01178433b171a185619365512c9566f0e9ea2 on remote branchLinux Build Service Account
Change-Id: Ifae6321d51dbda1b3265b786dd947951526f268d
2020-11-30Merge 7e5aad28206f62ff4e809373d22174a98472ab76 on remote branchLinux Build Service Account
Change-Id: I8dccca61d19c6db0d9b7f4b6c92820f209afd033
2020-11-26sdm: Check for RegisterVsync return valueAlex Sarraf
Check for RegisterVsync return value before settting registered_vsync_ to true. Don't set if error. Change-Id: I147cde07f302c7abc7bf178352c75e797cf2a711 CRs-Fixed: 2599786
2020-11-23gralloc: Check for UBWC support during initRamakant Singh
Crs-fixed: 2720776 Change-Id: I78b264d6d533940ba171f5aa3dd7c15907d57150
2020-11-11Merge "sdm: Reset pending_doze_ state if next state no longer doze"qctecmdr
2020-11-11Merge "sdm: do not skip validate"qctecmdr
2020-11-11Merge "config: Add default values for SurfaceFlinger"qctecmdr
2020-11-10Merge commit '6e63dd4ba77b2dd68f3d0e0217592f29d406a840' into HEADPradosh Das
Change-Id: I04d8277e8bca0cb6b687114a59976715abfa0047
2020-11-06Merge "sdm: Set vsync_registered_ to false in SetEventState"qctecmdr
2020-11-06config: Add default values for SurfaceFlingerPadmanabhan Komanduru
This change sets the default values for the maximum number of buffers SF would allocate for use in FramebufferSurface, and the maximum dimension supported by HWC for virtual display. Change-Id: I29ce6f0adb69473e8d99d2a5e506b312f25b2475 CRs-Fixed: 2778423
2020-11-05sdm: Reset pending_doze_ state if next state no longer dozeAlex Sarraf
-Previously checking for setting active_ and state_ were done withou check of pending_doze_. Latest fix changed checks state instead of state_. If leaving doze to power on state while pending_doze_ is true, we fall in situation where pending_doze_ does not reset until after it is checked. Reset pending_doze_ state if leaving doze before check should be done. -Allow display mode changes as long as panel is not active nor pending doze nor pending power on Change-Id: I8cfb933c6d7403c41394f1cb7b295db7dcb0b73e
2020-11-05sdm: do not skip validateWenjun Zhang
In some variable frame rate Apps, idle timeout which caused by low frame rate can't be cancelled if skip validate call in certain cases. eg, system won't get chance to resume from idle timeout if no any gemotry changes, and Apps only change refresh rate from 48 to 60 fps. Change-Id: I28b941f0a48eb8adf54a46b596d4952e7fa223cc
2020-10-28Merge "Updated WCG property based on targets"qctecmdr
2020-10-24sdm: Handle invalid fd during FBId cachingBaldev Sahu
Handle a case where fd could be invalid. Change-Id: I127b295e4bbe31b37e09b356386af4cecaeaba02
2020-10-23Updated WCG property based on targetsVinoth Jayaram
Change-Id: I5e7508d97ef618266e0bb6a6b07a5b474e5e36b8
2020-10-13display: config: Renamed sm8150 as msmnileVinoth Jayaram
Renamed sm8150 as msmnile. Change-Id: I849f20594ea6d334fe111d71406ace4dbdb9ec26
2020-10-11sdm: Set vsync_registered_ to false in SetEventStateAlex Sarraf
Set vsync_registered_ to false in SetEventState. In the chance that HandleVsync does not get called by driver, we may fall in state where vsync_registered_ never updates to false. CRs-Fixed: 2615875 Change-Id: I033e46d9b79e0ffc320ff89c7847fb6d9ba12421
2020-10-06Merge 6847a0d8eab22f7a65c22e0e80e2f33296fad07c on remote branchLinux Build Service Account
Change-Id: I812caaa77a8437907af1db6399cc7f5a9b462794
2020-10-01display: config: Renamed sm8150 as msmnileVinoth Jayaram
Renamed sm8150 as msmnile. Change-Id: I849f20594ea6d334fe111d71406ace4dbdb9ec26
2020-09-25sdm: add GetConfig method for built-in displaysPadmanabhan Komanduru
Change-Id: Ibc098be42d162dc7c1a77f829ee7efbb167f2a1e
2020-09-22sdm: make non-fatal errors as warnings.Ramakant Singh
There is no functional failure but test scripts are expecting no SDM errors. Change-Id: Ice1467e1f2a0b03c5dc621d258785c4f78236b04
2020-09-13Merge "composer: Add lock for callback functions"qctecmdr