Commit Graph

16 Commits

Author SHA1 Message Date
Linux Build Service Account
d6c709ed0d Merge "sdm: Add property to define max video upscaling limit." 2016-08-13 13:52:15 -07:00
Dileep Marchya
694e4b3d97 sdm: Add property to define max video upscaling limit.
- Add property 'sdm.video_max_upscale' to define max video upscaling
  by SDE. If video upscaling requirement exceeds max_upscale value,
  SDM will use GPU to compose the video.

CRs-Fixed: 1048082
Change-Id: I489dca73e840675ac6cae76f0e81b6369035ec6a
2016-08-08 23:05:30 +05:30
Ramkumar Radhakrishnan
14a1fc6de8 sdm: Add support for adaptive variable refresh feature
1. Populate information about AVR feature support from sysfs node.
2. Initialize AVR information based on display mode and dynamic fps
   mode and set corresponding AVR flags.
3. Define debug property sdm.debug.disable_avr to disable avr feature.

Change-Id: I1bfbb9e1f9975468aa9eb6d6b575f317c658480e
CRs-Fixed: 1043833
2016-08-04 16:32:50 -07:00
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
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
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