Close acquire fence fd of all layers, if display commit fails. This
is required to avoid fd leaks.
Change-Id: I12d44ddc0d1e378374c64a1808e7a19f071209be
1. Create an instance of strategy interface for each display.
2. Add start and stop methods in strategy interface.
3. Remove union of retire fence and output buffer.
Change-Id: I31e8afedda529a5e92d618d515ae23eebcedf32b
- Add support for setPowerMode.
- Treat HWC_POWER_MODE_DOZE/HWC_POWER_MODE_DOZE_SUSPEND equally.
- Support getActiveConfig/setActiveConfig only at 0th config for now.
Change-Id: I4684423bb8e3c66cb2289fcabcf13f717168dc9d
- Listen to HDMI uevent in HWCSession and handle the creation
of HDMI displays
- Add support for querying different modes in HWFramebuffer
interface
- Add interfaces in display engine for HDMI display
- Enables only GPU composition on HDMI
Change-Id: I3fc8c6512817883f34540298730ca976a63e6d48
1. Set output of SET_BIT and CLEAR_BIT to destination.
2. Remove kernel header dependency from hwc makefile.
Change-Id: Iad6f5776997064654178b54e0aba749576d85a50
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
- 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
- Replace HWBlockType in DeviceBase with HWDeviceType to
differentiate when we add Rotator Device
- Parse fb node index for primary, hdmi and virtual displays
- Use fb node index while opening the fb device
- Update split info in GetDeviceAttributes
- Store event handlers only for Primary and HDMI
- Change LOGE to LOGW at appropriate places
- Enable error on unused variable
Change-Id: Ie6cb00633edfda17cb6ce1005780bf4b7e6c8270
1. Update hw framebuffer implementation to compose layers for
validation with driver.
2. Use atomic commit ioctl to send layers for validation
and commit on driver.
3. Add different buffer formats handling in hw framebuffer.
Change-Id: I13f9c245c14859c8e2680ef724cfebb59a0d990e
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
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
- 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
1. Pull LayerArray information in LayerStack struct and
remove LayerArray.
2. Remove size_t usage in SDE.
Change-Id: If2d4be17e42c27a2ee451c103282bac35eea42dc
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
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