Commit Graph

10 Commits

Author SHA1 Message Date
Ken Zhang
e2605ea20b sde: resource config: rectangle alignment for video and rotator
1. Align rectangle to be even for video format input.
2. Align width and height for rotator downscaling case.
3. Validate scaling again after config is done because scaling ratio
might be changed.
4. Make sure layer count doesn't exceed mixer stage number.
5. Add sde.disable_rotator_downscaling property for disabling
rotator downscaling.
6. Add sde.disable_decimation property for disabling decimation
7. Disable 2 pipes on non-display_split case temporarily as z-order
needs be different

Change-Id: Iec20c292552b23ff1a4135a6be1695fa8fb737de
2015-02-25 13:30:06 -05:00
Tatenda Chipeperekwa
2ba9789b07 sde: Move utility functions to common header file
Move utility functions to common header file accesible from
SDE and HWC modules.

Change-Id: Id5183bb8f41a223273c973960f653f155e3c4c05
2015-02-17 12:26:34 -08:00
Manoj Kumar AVM
b86bc17763 sde: Define rect utility functions.
Define rect helper functions used by SDE.

Change-Id: Ib8e0bc9493a40fa59a3cf90a115352edd4264a92
2015-02-10 18:09:06 -08:00
Ramkumar Radhakrishnan
7ebf034c5f sde: Add support to systrace.
1. Define an interface between hwcomposer and display engine to collect
   systrace for a module in display engine.
2. Implement the functionality of conditional ATRACE_BEGIN/ATRACE_END
   in hwcomposer.

Change-Id: I441d06397a2618f87f132c8037ca83d5fc13b07c
2015-01-30 08:16:37 -08:00
Ramkumar Radhakrishnan
a35a2735d2 sde: Add support for idle fallback.
1. Set idle timeout value to driver through sysfs interface for
   primary display.
2. Get notification about idle timeout from driver and fallback to GPU
   composition.
3. Avoid idle fallback, if there is only one application layer.
4. Define a binder interface to set the idle timeout value through adb.
   (Eg. adb shell "service call display.qservice 16 i32 70")

Change-Id: If0cfcbea140580803ad8a67ac9425db86c0f75bb
2015-01-28 19:12:12 -08:00
Arun Kumar K.R
ecae9b2881 sde: Add support resolution change on HDMI and fix comp_manager
- Provide a debug hook to change resolution on HDMI.
- Config(edid) set by user is validated before setting and this
  overrides the best mode
- Add max_attempts in strategy interface which will be used for
  looping through the strategy selection which removes infinite loop
- Set Max SDE layers on HDMI as 2
- Fix incorrect sde layer index in Dump

Change-Id: I9ae1d0b115a06774470be5c0f9b78c4d930b7065
2015-01-12 14:41:05 -08:00
Manoj Kumar AVM
4746f24733 sde: Read simulation flag
Read simulation flag from "debug.hwc.simulate" property.

Change-Id: Ia0dfe88d5d579985a2c1fcd58e83e0cc5583ef15
2015-01-08 12:10:24 -08:00
Dileep Marchya
1fcbb06e2c sde: Add a client for qservice in hwc.
1. Add a client for qservice in hwc and enable dynamic logging.
2. Remove common makefile and merge it to respective modules makefiles.

Change-Id: I582873c296d21ecd037225ac0be8177e52cc8cda
2014-12-05 16:02:12 -08:00
Dileep Marchya
3ffb4703cf sde: Add support for conditional logging.
1. Add support for conditional logging.
2. Move log handling to hwc client.

Change-Id: I76bb2f9b420a178f22c4ee2ebf64da6daf5b87ed
2014-12-04 16:31:37 -08:00
Dileep Marchya
96db258608 sde: Snapdragon Display Engine (SDE) implementation skeleton.
Define classes and files required for SDE implementation.

Change-Id: Ic2d8572699b895f1980c7c127301e9ce0d4c8b03
2014-11-13 11:56:56 -08:00