Commit Graph

16 Commits

Author SHA1 Message Date
Tatenda Chipeperekwa
ca8b2f3ff8 sdm: Set system property when HDMI is Primary
Set a system property "persist.sys.is_hdmi_primary" to indicate
that the HDMI interface is the primary display. This property can
be used by other system components to determine whether to
trigger certain functionality when HDMI is primary.

CRs-Fixed: 1009711
Change-Id: Id215a6ee9c6aa2953b0e2c01af0bad035b728a46
2016-05-08 11:08:31 -07:00
Naseer Ahmed
bb069a6a1d sdm: Fix Wconversion errors
Change-Id: Ica8ecd83e44126d7ef5d8595dcaf52f88aea6e70
CRs-fixed: 974030
2016-03-08 19:32:55 -05:00
Siddharth Zaveri
918435f45d sdm: color-manager: Detect first frame of UI to apply color-mode.
Default color-mode is applied on the first frame of UI screen.
sdm.boot_anim_layer_count property is used to configure the
number of layers in boot animation process. Any commit with
more layers than sdm.boot_anim_layer_count is treated as first frame
of UI and default color-mode is applied at this point.

CRs-Fixed: 939410
Change-Id: Ib5c568819cd045f0de4ee7dcb4accfae9c27f5b2
2016-01-13 14:45:22 -05:00
Arun Kumar K.R
55fe3049ed sdm: Add SPD information for HDMI
- Send SPI(source product information) to HDMI driver
- Vendor name and product descrpition information is passed to
  the HDMI device, which will be used by the TV to show the
  source information instead of INPUT1. INPUT2, etc.,

Change-Id: I2658ec39f95793e25f1fe36525cdc3701f9c64b3
2015-10-12 17:20:53 -07:00
Arun Kumar K.R
3bd31efc6f sdm: hwc: Add support for GetVisibleDisplayRect
Support the binder API to get the display visible rectangle
which is the union of all the app layer's displayframe.

Change-Id: I05d750c80dda5b735bac5938410ddeeeb8823dd1
2015-09-16 16:08:43 -07:00
Sushil Chauhan
ee1fc7e0b0 sdm: Do not allow decimation on UBWC framebuffer
MDP hardware cannot apply decimation on UBWC tiled framebuffer.

CRs-Fixed: 867832

Change-Id: I6f2f37955ac9e2b4a6d7888c146930dd3863f385
2015-07-13 10:11:12 -07:00
Manoj Kumar AVM
2d019a43f6 sdm: Support ControlPartialUpdate api in libqdutils
Implement CONTROL_PARTIAL_UPDATE binder support. DPSS module
use this api to control partial update feature.

Remove support for sdm.partial_update property as it is no
longer applicable.

Change-Id: Ib463aff0042dcfc0d0b2f296b54016b1ee70115d
2015-07-09 19:21:29 -07:00
Dileep Marchya
511fb6d15c sdm: Add a property to disable scalar
- Add 'sdm.debug.disable_scalar' property to disable scalar.

Change-Id: Iee0128cc06f1d78ddec011d34086c2c1d7ba3059
2015-07-07 08:08:08 -07:00
Ramkumar Radhakrishnan
345081196a sdm: Add split rectangle support for split rotation.
1. Add support to split rectangle vertically and horizontally.
2. Add debug property to enable/disable split rotation.

Change-Id: I4070e7e754c2a3a3a9ca4f4eab91037f7f9c88b7
2015-06-24 12:06:17 -07:00
Sushil Chauhan
b5e45c45dd sdm: Parse UBWC feature from MDP caps
1. Parse "ubwc" string in MDP caps feature list.
2. Add support to read system prop "sdm.debug.rotator_disable_ubwc".

Change-Id: Ie43b81237960e6c1e8784801b10cd39df069cddc
2015-06-18 13:14:24 -07:00
Manoj Kumar AVM
6379fa51b4 sdm: Add debug method to DebugHandler
Add method to handle debug messages to DebugHandle class.

Change-Id: Ic15c8c227036e038969cce6439c59959c028a1b3
2015-06-18 13:14:17 -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
Tatenda Chipeperekwa
299b030056 sdm: Align system properties with customer documentation
Align the system properties to those in customer documentation
for consistency.

Change-Id: I0012b77cddf0c057f24503fa1611254a25537a27
2015-06-01 11:29:57 -07:00
Tatenda Chipeperekwa
45b11d2cc2 sdm: Report mixer configuration in dumpsys
Report the maximum mixer stages for each display.

Change-Id: Ibdf1863b0ff6782860117e2467ea637c8b419d9b
2015-05-27 11:44:46 -07: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