Commit Graph

25 Commits

Author SHA1 Message Date
Michael Bestas
75393353ab Merge tag 'LA.QSSI.14.0.r1-13400-qssi.0' into staging/lineage-21.0_merge-LA.QSSI.14.0.r1-13400-qssi.0
"LA.QSSI.14.0.r1-13400-qssi.0"

# By Vinoth Jayaram
# Via Linux Build Service Account (1) and Vinoth Jayaram (1)
* tag 'LA.QSSI.14.0.r1-13400-qssi.0':
  commonsys: services: Delete device_obj_ to release the memory

Change-Id: Ie48cd2f76bb6835012917c40afffceb87e79c183
2024-03-29 11:58:55 +02:00
Linux Build Service Account
c9b66a0704 Merge b9e509cba1 on remote branch
Change-Id: I94f8c8d863c85ecc86a0f9051af4660119cc3174
2024-02-14 10:27:11 -08:00
Vinoth Jayaram
b9e509cba1 commonsys: services: Delete device_obj_ to release the memory
This deletes device_obj_ to release the memory appropriately
on init failure case.

Change-Id: Ide62aed02c7fcf9fbb8d4376c805fc50277b00cc
2024-01-19 17:36:26 +05:30
Bruno Martins
11253d91e0 Merge tag 'LA.QSSI.14.0.r1-11200-qssi.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/display-commonsys into lineage-21.0
"LA.QSSI.14.0.r1-11200-qssi.0"

* tag 'LA.QSSI.14.0.r1-11200-qssi.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/display-commonsys:
  gralloc: Add handling for buffer dequeue duration metadata

Change-Id: I0434a47052692f1632c554808f6b8812e8988b6b
2024-01-04 22:08:03 +00:00
Linux Build Service Account
95163b5a7a Merge 97f3f6ca9f on remote branch
Change-Id: I9854c0deab3e7c3a2738bbdec41cb8c389ee2f57
2023-11-09 08:00:24 -08:00
Baldev Sahu
fb3f9ff73e DisplayConfig: Initialize service intf before registering service
Initialize service interface before calling registerservice so as
to avoid register client failure due to null service intf, which
can happen in some corner cases due to race condition.

Change-Id: Id3184845af293cb35cab497c1f7bb90eed561640
2023-10-20 02:00:25 +03:00
Boreddy Mahidhar
497f60457e displayConfig: Add size validation for client input parameter
CRs-Fixed: 3336266
Change-Id: I0210ed73b0e47dcc1eec77e028af98f4f90e0adb
2023-10-20 02:00:24 +03:00
Boreddy Mahidhar
61883629eb displayConfig: Add size validation for client input parameters
CRs-Fixed: 3259301
Change-Id: Ie6f1a273f69a7cb4eaff0b5c1016571c49850198
2023-10-20 02:00:21 +03:00
Vikas batchu
fda042e289 displayconfig: Restrict the scope of death_service_mutex_
Multiple display config calls is causing deadlock when one
of them is waiting for commit and there are no free binder
threads.
- Allow perform calls to run concurrently.
- Execute service death callback exclusively.

Change-Id: I804e72d4961315c6fac13f5f967788b5bbc0febe
2023-10-20 02:00:21 +03:00
Michael Bestas
29055e8719 display: Import display commonsys interfaces namespace
Change-Id: Ia1f27cf38b2215551dbab1bd93ba65b6a2a4dbac
2023-10-20 02:00:20 +03:00
Alessandro Astone
12b3da2e15 display-commonsys: Define a soong namespace
Legacy platforms use their own set of headers and libraries
within hardware/qcom-caf/msm[0-9]+/display, so we need to hide
this with a soong namespace

Change-Id: I7ee6b16d5d426c26cfdbfe3f0ae181a3b5e85173
2023-10-20 02:00:20 +03:00
Chirayu Desai
322ca16451 Add .gitupstream file
Change-Id: I7e853b577eb7b444cbadfd396084e44a1e11808b
2023-10-20 02:00:20 +03:00
Vikas batchu
97f3f6ca9f gralloc: Add handling for buffer dequeue duration metadata
- Update QtiGralloc to support getting and setting buffer
  dequeue duration metadata.

Change-Id: I5fb30e3c5623fab4b00bf1e6274b83d05afadbaa
2023-08-25 01:13:05 +05:30
Linux Build Service Account
ad58c0d713 Merge 5b94666d26 on remote branch
Change-Id: Ic5b7bfbe97a14fcb7d256cafc59b077c32daf234
2023-04-01 00:48:30 -07:00
Linux Build Service Account
208cc6fbf8 Merge da003a2f1e on remote branch
Change-Id: If5736013607cea4eb6d15f10d66224d2388cae20
2023-03-13 17:45:56 -07:00
Christopher Braga
5b94666d26 gralloc: Add handling for custom content metadata
Update QtiGralloc to support getting and setting custom
content metadata.

Change-Id: I6f79eb0d39a82668ef7fb99e30669eb367ef00b1
2023-03-07 07:49:31 -08:00
Naseer Ahmed
da003a2f1e display: Update soong config used in SF
CRs-Fixed: 3414470
Change-Id: Ideaaf2628096dc6b24fe3f529d4f81f90e18d5b5
2023-02-28 10:47:34 -08:00
Gurkaran Singh
d6ceaf0e98 displayconfig: Change to non-blocking call in Init
Change to a non-blocking getService call during initialization.

Change-Id: I145541340072271b1d59f56bcb9ec4bd803c9dd9
CRs-Fixed: 3407731
2023-02-24 11:18:45 -05:00
Linux Build Service Account
ceb0229054 Merge 9cf3017b60 on remote branch
Change-Id: I32759026e541117b3b7d248e3011435341887e73
2022-09-28 23:03:27 -07:00
Mahesh Kumar Sharma
9cf3017b60 gralloc: Add getter and setter for transcode stats feature
Add setter and getter for transcode stats in gralloc.
feature used to set stat info received from video decoder to gralloc.
This decoder stat enables to fine tune encoding in second pass.

Change-Id: I781ce6ea2eadd07bf9b0f38c302f6ce7a05351bb
Signed-off-by: Mahesh Kumar Sharma <quic_smahesh@quicinc.com>
2022-06-03 10:30:46 -07:00
Ray Zhang
0cf818d5e8 gralloc: Add timed rendering support
Add timed rendering support which allow users to pass
timed rendering metadata in buffer.

Change-Id: I100afecd084c7803f97f524832bf034f6698d2f4
2022-04-20 19:50:17 -07:00
Pullakavi Srinivas
bf341342f7 commonsys: Remove smomo lib
Change-Id: If9078943fe07756efc80c128090e3c5609fb9c3e
2022-03-29 21:58:14 -07:00
Ray Zhang
4b85308a71 commonsys: services: upgrade IDC 2.0 for backward compatible
The IDC libs in vendor and system images are not compatible due
to diverged changes. E.g., in legacy vendor kGetDisplayTileCount
op code is 50, while in new system images op code 50 stands for
kDummyOpCode. This breaks the backward compatibility. So upgrade
IDC lib in new system to fix the backward compatible issues for
vendor freeze targets.

Change-Id: Ia7552d2f06db04db149fd7fe3bf875c1406421c8
2022-02-27 18:02:19 +05:30
Gurkaran Singh
2debc6b63c vendor-freeze: Move few commonsys-intf/display libs to commonsys/display
Moved libdisplayconfig.qti, libqdMetadata, and libgralloc.qti from
vendor/qcom/opensource/commonsys-intf/display to
vendor/qcom/opensource/commonsys/display to install in system_ext

Change-Id: Iff8e2364ded221858eb1ea211b6212c38df36eb3
LNXDISPLAY-1552: REQ002
CRs-Fixed: 2972776
2021-07-06 19:35:29 -04:00
Git User
77504a6399 Initial empty repository 2021-05-26 07:52:33 -07:00