History log of /hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
69d8a69d105eb02bf882a6d3d7214faf18f21043 03-Jan-2014 Rom Lemarchand <romlem@google.com> qcom: graphics: make dependency on sync headers explicit

Change-Id: Iba660a7b8758f6179c1c277a76fbb4ee60fcc88a
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
83f9f73c45da200a06244749e4f21a632ecc01ba 30-Aug-2013 Jesse Hall <jessehall@google.com> Unrevert "hwc: Bump up version to 1.3"

This reverts commit ad17afc8bcda6c2d6006a3b005defb011042aaac,
which reverted commit a5b5aebd86ed595990435692e7e7ede31aeb63dc.

The original change exposed a bug in the platform but wasn't itself
buggy; the platform bug has now been fixed.

Bug: 10443969
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
ad17afc8bcda6c2d6006a3b005defb011042aaac 27-Aug-2013 Jesse Hall <jessehall@google.com> Revert "hwc: Bump up version to 1.3"

This reverts commit a5b5aebd86ed595990435692e7e7ede31aeb63dc.

That change added support for float croprects, but didn't add support
for virtual displays. SurfaceFlinger crashed when virtual displays
(including wifi display) were used because HWC didn't behave as
expected.

Bug: 10443969
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
7fedef6549adbbffe15188e96ac6a5de272de27e 05-Aug-2013 Shivaraj Shetty <shivaraj@codeaurora.org> HWC/copybit : Add support to indicate driver on layer with Zorder 0

Some applications send RGBA layer with constant alpha 0xFF and
isOpaque=1. For these types of layer we don't get any wormHole
regions. Hence we see the previous content (framebuffer) due to
wrong selection of blending logic at kernel side.

To fix these kind of issues on MDP3 we make layer with Z order
zero as FG layer. This makes sure that proper blending logic
is chosen in kernel.

CRs-fixed: 521638
CRs-fixed: 517944
Change-Id: I172a46c3284916264a1413a6a16875afea2b1aad
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
a242712ec9484f1ee4eadd01b61d4f3c9cd17b53 08-Aug-2013 Terence Hampson <thampson@codeaurora.org> hwc: change error logs to debug logs

There were error message that should just be debug messages.
These error logs can cause automation testing to fail.

Change-Id: I4ba681a737e8324da9ef8e7984efa57f70ee8637
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
8440e4f315f1dd1c60c3c0c2d74894d4149b18e1 06-Aug-2013 Radhika Ranjan Soni <rrsoni@codeaurora.org> hwc/copybit: Use gpu composition for plane alpha

MDP3 doesn't support plane alpha. So falling back to
gpu whenever there is plane alpha in the list of layers.

Change-Id: Iec40e5160f4320b7393d937444645d1a243bd83b
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
e2bac7abd921668fdb7095eed69fa6a6082b0be1 12-Jul-2013 Terence Hampson <thampson@codeaurora.org> hwc: Use gpu composition when there is rotation

Mdp3 has a hw issue where it cannot handle rotation and blending,
when roi height or width is not divisible by 16. When roi is not
divisible by 16 mdp3 would read memory that it is beyond the
image. This leads to page faults, which further leads to poor
performance.

Change-Id: I2cd1b77c21c407503399630cdb702b575aa4e64e
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
5d6b4a0ade8ee378547c8f340079f37d468b287c 18-Jul-2013 Terence Hampson <thampson@codeaurora.org> copybit: Ensure that copybit is not generating alpha values

When image was being up scaled beyond 4 times and intermediate
buffer is used, alpha value would be 0 in intermediate buffer.
This would then be blitted onto final buffer that contained alpha
value. Since fg had alpha value of 0 entire image would be blended
out.

Change-Id: I6daf03e93719212ee597c218655ae8692ae79e72
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
1c187f10a13479adfd719ead24eda6c1bb502795 17-Jul-2013 Terence Hampson <thampson@codeaurora.org> copybit: Pass in proper acquire fence count to blit call

The counter that was incremented when an acquire fence was provided
was not the counter that was passed into the blit call. Due to
blit requests being processed in order that it is submitted, it is
not need to pass in previous release fence as acquire fence for
next blit request.

Change-Id: Ic259af24b33e5e69440d481c92788107ff639bed
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
bf3b12bcc5a565d76f29e75d40baacc0718db2bc 16-Aug-2013 Naseer Ahmed <naseer@codeaurora.org> hwc: Add support for smooth streaming feature.

Update the source video width and height set by the video decoder
for the secure video smooth streaming usecase from the gralloc
metadata.
Acked-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org>

Change-Id: Id0dbfd7f01972ac0bfa16d2b532f168cefc41254
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
a5b5aebd86ed595990435692e7e7ede31aeb63dc 17-Aug-2013 Saurabh Shah <saurshah@codeaurora.org> hwc: Bump up version to 1.3

Increment hwc version to 1.3.
Create and use a converter from float source crop to integers.

Change-Id: I5e185195c975b3a9434c5d9dce9ae4757ff98739
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
0f47bb43e032f6396d9496c1ecb254c9aa7e94ba 06-Jun-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Fix to avoid heap corruption

- Check for MAX_NUM_APP_LAYERS before updating yuv indices array.
- Fall back to GPU composition when number of app layers exceeds
MAX_NUM_APP_LAYERS to avoid heap corruption.

Change-Id: Ieb91b705a0a5f50ce2f8829d1f1ee048d44b7d2e

Conflicts:
msm8974/libhwcomposer/hwc_utils.cpp
msm8974/libhwcomposer/hwc_utils.h
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
4b242336eb6dcb56a6e7e1d8e88791958972a4a8 29-May-2013 Terence Hampson <thampson@codeaurora.org> hwc: Allow for yuv content to go through ppp on 8x10

8x10 has overlay but it also allows for composition to go through
copybit.

Change-Id: I086aab118b03c1cbc7fa0dbc080ceb906310deab
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.cpp
10a67f20cf26b7a6e37ced8443b66c1cd93cc4d2 23-May-2013 Terence Hampson <thampson@codeaurora.org> copybit: Enable copy bit to use sync pt

Since mdp composition is now an async call, the waiting for fences
is now no longer needed inside copybit. In addition, how
composition ioctl is called is slightly different as a result
needing to pass in aquire fences device performing compsition

Change-Id: Ia12dfb2960ba2fc78b14e776984ffe0c3fe45fdb
/hardware/qcom/display/msm8974/libhwcomposer/hwc_copybit.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/libhwcomposer/hwc_copybit.cpp