Commit Graph

10 Commits

Author SHA1 Message Date
Dileep Marchya
b06308d123 sdm: Change idle fallback time dynamically.
- Query composition manager for an optimal
  idle time for the current draw cycle.
- Avoid setting same idle time again on sysfs.

CRs-Fixed: 2011276
Change-Id: I4afde21ad630953d5f701fb3d123435028bdfef2
2017-02-28 12:23:06 +05:30
Arun Kumar K.R
bf2b25c106 sdm: Add support for HDR
- 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
2016-12-16 11:26:51 -08:00
Dileep Marchya
7290bd2839 sdm: Use std version for basic operations.
- Remove custom implementation of swap, MIN, MAX and BIT operations.
- Use empty initializer list of memset to 0.

CRs-Fixed: 1029997
Change-Id: I8a8ee05df804d1f27d79c7d6f2fd66cfd29d70ff
2016-06-16 19:50:03 +05:30
Ramkumar Radhakrishnan
eb97bc9abc sdm: Populate supported format table map from sysfs node
1. Define default table map of supported format for all hw blocks.
2. Parse the sysfs node and populate supported format table map
   information for all hw blocks.

Change-Id: I34404bb588ca00b9c9c5b58e7ee468bfca390e08
CRs-Fixed: 980862
2016-03-02 12:31:01 -08:00
Dileep Marchya
d7133eed03 sdm: Fix compilation errors.
Change-Id: I5155bc649492caac3d2cb0873ab6b90d95c35201
2015-07-06 18:28:10 -07:00
Naseer Ahmed
b3b0a3305f sdm: Default to C++11 standard and use clang toolchain
- Enable newer C++11 features to be used, including the
  updated standard library.
- Enable better compiler diagnostics with clang.

Change-Id: Ice550e866673ab57228ccb1f6f250e94a536e396
2015-06-18 13:11:16 -07:00
Arun Kumar K.R
3d92cafbc4 sdm: Add support for hybrid composition
- Add interface for hybrid composition where some part
  of layer is composed by blit engine and rest by SDE.
- Use BlitEngine interface for the blit composition
- Allocate blit target buffers in Commit and use Reconfig to
  re-validate the Hybrid composition
- Add C2D as a BlitEngine to get layers composed on the blit
  target.

Change-Id: I849da73055920ab13c1a260c9511478457e6894b
2015-06-16 09:53:58 -07:00
Lei Zhou
1866f98e56 sdm: Add Color Interface for Snapdragon Display Manager
1. Adds color interface to color service.
2. Adds data structure shared between color service and SDM.

Change-Id: I164992d61dc750f23bd54877520ae8c9966ec446
2015-06-11 19:05:54 -04:00
Dileep Marchya
e2a590859a sdm: Remove libsdmutils dependency on Android.
- Make libsdmutils Android independent.
- Rename debug_android.cpp to debug.cpp.
- Fix compilation errors observed in linux environment.

Change-Id: I19e275939b27f2f47949c5e17559eeadb09bdccf
2015-05-26 16:53:50 -07:00
Dileep Marchya
73d002e57c sdm: Align to new SDM design.
- Align code base to new SDM design.

Change-Id: I38d7d138ae704cf036e2b96c16453aea63bc333f
2015-05-21 11:58:10 -07:00