Commit Graph

10 Commits

Author SHA1 Message Date
Arun Kumar K.R
ed2ffce4b8 sde: hwc_display: Set all the display attributes
- Set the HWC_DISPLAY_SECURE attribute in the HWC.
- All the physical connected displays are assumed to be secure by SF.
  Hence set this display attribute as true.
- This is added for backcompatibility.

Change-Id: I9e0ac4f3d923f990a5c81a3c36638bd62fdc83c0
2014-12-02 12:50:34 -08:00
Ramkumar Radhakrishnan
d33432ef5a sde: Replace device with display wherever its applicable.
1. Replace device interfaces between display engine and hwcomposer
   with display interfaces.
2. Replace all device interfaces internal to display engine with
   display interfaces.
3. Rename device_base header and source files to display_base header
   and source files.
4. Rename hwc_sink header and source files to hwc_display header and
   source files.

Change-Id: Iedde81fb19583bcaf71cc631d935c7268511027f
2014-11-20 23:55:48 -08:00
Linux Build Service Account
69ca731c02 Merge "sde: Add device dump information" 2014-11-18 09:05:17 -08:00
Ramkumar Radhakrishnan
cd8b429dd8 sde: Add support for layer caching
1. Pass layer updating flag to composition manager to mark those
   layers for SDE composition.
2. Compare cached layer stack info with current layer stack info.
   if it matches then set composition type to HWC_OVERLAY, so that
   surfaceflinger wont compose those cached layers into framebuffer
3. Cache current layer stack information for next frame composition.

Change-Id: I3485a8ac2242fa25b48e79b1549d37ef7638c9af
2014-11-14 17:03:25 -08:00
Dileep Marchya
750da12730 sde: Add device dump information
Add device dump information to dump output.

Change-Id: I68a5465bf8371fbd3f6d2b0caf02db69bdd56f0f
2014-11-13 12:00:41 -08:00
Arun Kumar K.R
edb8bc82ff sde: Add support for DisplayEventHandler
- Add DisplayEventHandler to receive VSync event from driver.
- Add hooks to enable/disable VSync from client.
- Propogate VSync timestamp to the client

Change-Id: I27ea9773c424d8ad85f11f292ddd8792564bbcdc
2014-11-13 11:59:29 -08:00
Dileep Marchya
eb547a0340 sde: Reduce level of indirections to access layer info.
1. Pull LayerArray information in LayerStack struct and
   remove LayerArray.
2. Remove size_t usage in SDE.

Change-Id: If2d4be17e42c27a2ee451c103282bac35eea42dc
2014-11-13 11:59:21 -08:00
Dileep Marchya
b61346fd8b sde: Add hooks for dump information.
1. Implement dump interface and provide hooks for adding
   dump information from different modules.
2. Rename writeback session module to offline controller.
3. Merge logger.h functionality into debug.h
4. Rename DISPLAY_* as SDE_*.

Change-Id: I3e8df27a848475d067801037bcdc807561d35cc8
2014-11-13 11:57:15 -08:00
Dileep Marchya
934d396925 sde: Enable GPU mode composition for primary display.
1. Load sde core and create primary display in hwc session.
2. Prepare layer stack for primary display.
3. Open open fb node for primary display.
4. Add support to select a composition strategy using strategy
   interface and allocate mdss resources using resource manager
   in composition manager.
5. Manage mdss pipe state machine and configure pipes for layer
   stack in resource manager.
6. Add default strategy to select GPU composition.
7. Add support for hw layer to atomic commit translation.

Change-Id: I5a5537dbcb28727e16b0c055e17a387696f6dac8
2014-11-13 11:57:06 -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