History log of /hardware/qcom/display/msm8974/liboverlay/overlay.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
50c48cf7761d6d405ea413700fd96122db2b7e95 24-Aug-2013 Saurabh Shah <saurshah@codeaurora.org> overlay: Remove optimization that prevents garbage collection

There is an optimization to not do garbage collection (and thus UNSET)
if pipe usage hasn't change, added during older chip time frames.
It worked then because, continuous overlay failures were not normal,
and on failure userspace didn't UNSET remaining pipes.

On newer chips, owing to bandwidth limitations, continuous overlay
failures could happen, plus now we UNSET all other pipes. Thus each
round if GPU gets used, the optimization infers that pipe usage hasn't
changed and does not UNSET pipes.

Also the optimization doesn't do anything useful than saving a few
loops, but is suicidal in current situations, so can safely be done
away with.

Change-Id: I33bd64a599d8ade337707301188c94cf8e6aac81
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
4f4c03bfb459159490795165a191e01c564e5788 22-Aug-2013 Saurabh Shah <saurshah@codeaurora.org> hwc/overlay: Force pipe config if list geometry changes

Force pipes of a display, whose geometry has changed, to pass
configuration arguments using MSMFB_SET_IOCTL. This helps the driver
make additive bandwidth calculations and reject the frame if the
requirements go beyond what the hardware can support.

This change still preserves the optmization to avoid ioctl calls, in
cases where pipe params are the same but makes an exception when
list geometry changes.

Conflicts:
msm8974/libhwcomposer/hwc.cpp

Change-Id: I909d35b2a8c33059b34b65943ccbbc08650461db
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
dc4a81c03fcf5bdb2f3b12bc42fafb3b00bfa67c 14-Aug-2013 Saurabh Shah <saurshah@codeaurora.org> overlay: Remove overloading external display with writeback

Remove the APIs that allow overloading external display with writeback
display. This was a hack until the framework used hwc to do writeback.

Change-Id: If1d35cde84d8d0875ded2e6725e526a965976599
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
a8c3d11acf21811ee74589d08dbcc037cd763526 30-Jul-2013 Saurabh Shah <saurshah@codeaurora.org> hwc/overlay: Prevent pipes from switching mixers

For split displays, earlier we allowed pipes to switch mixers in
subsequent rounds. This change prevents that and makes sure there
is one composition round where a pipe being transferred to another
mixer of the same display is UNSET

Change-Id: I3c679cc4256363eeb70c5cf8bcaf5047b8a064c2

Conflicts:

msm8974/libhwcomposer/hwc_fbupdate.cpp
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
1eda3814b8feedadcc2801b2af4d1076caae55ad 16-Jul-2013 Saurabh Shah <saurshah@codeaurora.org> overlay: Fix crash due to small debug buffer size

The debug buffer size is insufficient for newer targets with multiple
pipes. The code causing crash is enabled only if the PIPE_DEBUG macro
is enabled during local debugging.

We now increase the buffer size and also put some string operations under
the macro check for efficiency.

Change-Id: I4ad418d314fd8c7d374ccfdb0943dde44d968922
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
5ceb9c6a763418d5e0cf5da4e74b7a7c733fb4b1 27-Jun-2013 Saurabh Shah <saurshah@codeaurora.org> overlay: Add writeback support

Add explicit writeback display type, writeback ioctls, memory mgmt,
writeback class, writeback obj manager class to overlay.

Change-Id: I171e60cea5ed8f6649859e3eb189df37b39962f1
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp
513ddc2124abf90c63af41999201f0d2031af0c8 12-Jun-2013 Vineeta Srivastava <vsrivastava@google.com> Splitting hardware/qcom/display chip specific.

Moved msm8960 specific code in msm8960/ directory.
Moved msm8974 specific code in msm8974/ directory.
Updated Makefiles to point to correct header files.

Change-Id: I0623022f324be0ae42571660074f16afa1f71df5
/hardware/qcom/display/msm8974/liboverlay/overlay.cpp