History log of /hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
48857cd056356d233d2751b2510376ea6017b056 20-Nov-2015 Zhao Xuewen <zhaoxuewen@huawei.com> display: edo panel: display quality optimization

Because edo panel design using delta pixel design,
so you can see aliasing in the display edges
of the panel. In order to optimize the display
quality,add algorithms to rending the framebuff data.

If we detect the display pixel design is Delta,
disable mdpcomp to get the whole single layer framebuff,
then use the algorithms to optimize the pixel arrangement.

Change-Id: I4d6ac7e2bae13548ed35807eb6a2b7d933101cb4
Signed-off-by: l00212897 <gang.li@huawei.com>
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
a7e7e0ac4b4348ebb5d29197992c1f474408e567 15-Jul-2015 Joe LaPenna <jlapenna@google.com> set some qdhwcomposer setPowerMode logs to verbse

BUG: 20915340

Change-Id: I2ab071de8b42d22bc781dbde282aa31531bbf449
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
c935e2acdebcb269eafd59abe0328cdfa2bf4da8 13-Mar-2015 Naseer Ahmed <naseer@codeaurora.org> hwc: Restore last value when recovering from ESD.

When recovering from an ESD event, the panel needs to be put back
into the previous active mode it was in, which could be either
UNBLANK or DOZE.

Bug: 19711464

Change-Id: I5148fdb8b95ec5928a010c2695ae1399f8fda4f5
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
adc3f5944f63cd432cc2f52790ba80e82ec98c19 21-Oct-2014 Naseer Ahmed <naseer@codeaurora.org> hwc: msm8226: Bump up version to 1.4

Add support for setPowerMode HWC_POWER_MODE_DOZE and
HWC_POWER_MODE_DOZE_SUSPEND are treated equally.

getActiveConfig and setActiveConfig only support the default 0th
config for now.

Change-Id: I010d1dae470c2b111d4ef2937b94d8c5e519e385
Acked-by: Saurabh Shah <saurshah@codeaurora.org>
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
cfb968873b9e94dca883aadabee42b01558faea9 15-Jun-2014 Shalaj Jain <shalajj@codeaurora.org> display: remove compiler warnings

Use correct typecasts and format specifiers and resolve
compiler warnings

Change-Id: I51b12ecb78a9a496cf1f76c3d32892a203f70c43
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
4a7fde21bc0dea152a633521d727dda7d540f262 16-Nov-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Rotate RGB layer using MDP Rotator

1. Use MDP rotator to rotate RGB layers which are rendered by software
2. Restrict total number of rotator sessions to 4 for all displays
3. Disable RGB layer rotation for all MDP versions < MDP5

Change-Id: Ie93111082dff9a16b614e9768df5d8ce83ff9e25
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
44d388cf974016f159e1fb6bbb0173c1ca87b9c9 06-Jun-2014 Raj Kamal <rkamal@codeaurora.org> hwc: Avoid MDP draw if prepare is not successful.

If #AppLayers are 0 or exceed MAX_NUM_APP_LAYERS
return early from MDP draw.

Change-Id: I834c7b04a295fbd9b98374cade880992d995ad1f
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
80cd536400045e5625ed89af9b297800d69d7b89 14-May-2014 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc: Full MDP Composition mode with overlap region removal

MDP bandwidth limitations can be avoided, if the overlapping region
covered by the smallest layer at a higher z-order, can be composed
on a render buffer using Copybit, and then it can be queued to MDP
along with other layers. It helps to improve performace by avoiding
GPU Composition in use cases like Home Screen pan. To enable this
feature, set system prop "persist.hwc.ptor.enable" to "true" or '1'
and enable Copybit HAL compilation.

Change-Id: Ib719d3dd42477837519518cc427f1b95356c28f7
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
24538a5b138801b86079f032120742b14c866ea5 28-May-2014 Raj Kamal <rkamal@codeaurora.org> hwc: Allow WB to be active during VDS pause state.

* Revert commit 7a495b3caae0aad3a06ebb9d2621f0d5a88b78e4
"hwc: Call blank IOCTL on virtual as well if it is connected."

* On issuing suspend when WFD is connected, display-hal
receives both pause and blank calls. Calling StopTerminate
ioctls on WB(WB is not active on VDS pause) once blank
is issued on Primay(i.e when iommu is detached) doesn't free
up the buffer nodes resulting in orphaned memory blocks.

* To avoid this, allow WB to be active even during
VDS pause state so that when StopTerminate calls are made as
part of VDS teardown, display will be in unblanked state and
iommu would have been reattached, thus freeing up the buffer
nodes.

* Doing this doesn't clear all references to WB fb node during
VDS pause. Call display commit to unset the pipes rather than
relying on the refcount

Change-Id: I6f89c2ca56ea8a0133e66f3928f6e35ca94d9b52
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
463feeb515f0cc7454eac70ae8bb96df4b852a38 27-May-2014 Jeykumar Sankaran <jsanka@codeaurora.org> hwc: Add display ROI in HWC dumpsys

Add ROI generated for each display in their dumpsys data.

Change-Id: I41fb79af9d42abc11ff147d18a600fd4ad60ab6c
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
bd51df0d51c9342f705caeea9c245b919dedb120 28-Mar-2014 Ramakant Singh <ramaka@codeaurora.org> hwc : Add support for single layer Bypass in MDP3

If the display list contains single layer and that layer
has same properties as Frame Buffer, avoid BLIT on Frame buffer
and pass it directly to display.

Change-Id: I24decaca4788432a55b550caa2a1354a670cd6fa
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
34a0e26b9f296c4a55f3f081d32e1abe6e1e47ab 20-May-2014 Jeykumar Sankaran <jsanka@codeaurora.org> hwc: Fix compiler warning

Fix compiler warning messages due to narrowed conversions.

Change-Id: Ifa770683fa9af7d5280c9117520276e04100302c
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
e69b1d78915a2cfe5e06c5066a022965f3c18699 19-May-2014 radhakrishna <radhakrishna@codeaurora.org> hwc: Call blank IOCTL on virtual as well if it is connected.

- If virtual display is connected, call blank IOCTL on it as well
- Clear writeback object on blank, as pause/resume functionality
implemented in VDS takes care of sending black frame on suspend.

CRs-Fixed: 661438

Change-Id: Ibce682beaf6e58200fc963202aa5b1905fcf1257
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
6f7634666209698e4835b9f326278a7068834383 18-Nov-2013 Jeykumar Sankaran <jsanka@codeaurora.org> hwc: Extend partial frame update for split displays

Extends partial frame update support for split displays by calculating
changing region(ROI) independently for each half of the screen. In case of
only one half updating, display driver shuts down the DSI/MDP mixer control
of the non updating half.

Maintains two ROI's for each display. In case of Non-split
displays, only left ROI is updated.

Change-Id: I8a67fe40aac665a48b6f8a46beffb9f8027851b2
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
3fdd1867c6a39a4397ea74370c0d895be30b0e76 12-May-2014 Prabhanjan Kandula <pkandula@codeaurora.org> overlay : Rely on 8x16 pipe strategy for 8x39.

Since both has same number of pipes with similar
features like scaling capabilities, for now rely on 8x16.

Change-Id: Ief51bb5c70d8aef7dca3d791f8b4d62a4c5392ff
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
4db776587a9dfc744b00e2969a57f4b496794006 29-Apr-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Use layerIndex while populating hw layers

Use layerIndex instead of dpy while populating layers from the layer
list of each display.

Change-Id: I6bb4401482afc859447b58fcb6c5daa11a23fcd8
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
53b0b5fcf40f174642b0a58cba91b5479d31fe91 30-Apr-2014 Jeykumar Sankaran <jsanka@codeaurora.org> Revert "hwc: Do not re-program H/W, if the frame geometry has not changed"

This reverts commit 5e268fcf56e7f5bd0fc524d50c0a97c9e34010a1.

Reason: Breaking cache based composition strategy and partial
update feature.

Change-Id: I0c881c8e2bc6be2a0b3dc0d5e7d22a388179f8d8
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
2c4de320db5ba9e92cfaa5a7fd67487cec0f26dc 25-Mar-2014 Dileep Kumar Reddi <dkumarre@codeaurora.org> HWC: Update DisplayFrame of all layers properly in Dynamic FB

Use change in HWC_GEOMETRY_CHANGED flag appropriately to avoid
redundant and unintentional overwrites of DisplayFrame values,
which may result fall back to GPU.

Change-Id: Ifb0f8dc5d356c965b6e80644f32392c460fb1ae7
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
4418482cd51e8343e7efd978ccdd17c616d1d78a 14-Apr-2014 Raj Kamal <rkamal@codeaurora.org> hwc: Add target specific checks in hwcomposer

* Mdss driver supports DMA-Multiplexing on wb interface
for certain targets. Add overlay get function to query
this info during pipe allocation for wb.

* UI Scaling on external is not supported on certain
targets due to the lack of availability of pipes with
scalars. Add overlay get function to query this info
to disable action-safe calcs, DRC and others which
require downscaling.

Change-Id: I1726caa4634f72d781561e797078648524ea2eef
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
7c8e00ad467f166f17072604822e4d5517f02890 23-Apr-2014 Saurabh Shah <saurshah@codeaurora.org> hwc: Clear overlay and layer-rot map from caller

Clear overlay and layer-rot map from the top level caller of
composition, rather than from the place of actual intermediate
failure. This makes sure, even in cases of GPU comp failure,
overlay and layer-rot maps are cleared and eventually pipes unset.

Change-Id: Ibf1152a0e8ca66d87bcc6b87009c4b09e451099d
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
e5fd024417b93aa52eb9050131242779d8295a07 16-Apr-2014 Sushil Chauhan <sushilchauhan@codeaurora.org> hwc: Do not re-program H/W, if the frame geometry has not changed

There is no need to re-program the H/W, if the frame geometry of all
active displays, has not changed. It will help to improve performance
by avoiding re-configuration of HAL and driver, if it is not needed.

Change-Id: Ie01dce33be89afc7308a8103128d27b4b9fb5c4b
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
b126ad667c4b58794f6a8ab68e5439242117ba72 10-Apr-2014 Raj Kamal <rkamal@codeaurora.org> hwc: Set DMA state at the start of composition

* Set DMA state at the start of the composition cycle
based on the following.

Set it to LINE_MODE if the number of active rotator
sessions are 0.

Set it to BLOCK_MODE if
** A yuv-layer for any display-device requires rotation
** (or) mExtOrientation is set
** (or) mBufferMirrorMode is set

* Separate out the reset helper function into more
modular ones

Change-Id: I6a22ac4379565cd1fd2d875a7a417f4ed3ee0f1e
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
4217cbfc47f3b4f8f0436e3953cf169f7f18a506 17-Feb-2014 Praveena Pachipulusu <pveena@codeaurora.org> hwc: Use proper typecasts.

- Remove compiler warnings
- Use proper typecasts

Change-Id: I7391f32ae31283239f5cebb93b02f3ce3a5c99f3
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
ced6b79c3e1b60b05e2e054e709b1f9a2b6b304c 05-Jun-2014 Naseer Ahmed <naseer@codeaurora.org> hwc: Fall back to fake vsync after threshold

In some cases, the vsync may fail to be reported from the
driver. Fallback to fake vsync in this case and reflect this
information in dumpsys.

Bug: 15320590

Change-Id: I63dfd1a96d645cf2f1c56eef58794f17208f13cd
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
1b0c2f1b1c7201502f75c12131e3bc54f92d60ea 15-Mar-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Set GPU performance hint.

1. Set the GPU hint flag to high for MIXED/GPU composition only for
first frame after MDP to GPU/MIXED mode transition.
2. Set the GPU hint to default if the current composition type is GPU
due to idle fallback or MDP composition.

Change-Id: I208a778017435a5a4620142da9d9fb3c50e09155
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
0fdae193307fb17bb537598ab62682edd5138b72 13-Mar-2014 radhakrishna <radhakrishna@codeaurora.org> h/q/d: Add utility function for 8x16 and read RGB scalar capability

- Add utility function for 8x16
- Add internal function to identify if RGB doesn't
support scaling that is read from capabilities node.
- If UI layer needs scaling and RGB pipe doesn't
support scalar, request a VG pipe
- On 8x16, request DMA pipe for WFD

Change-Id: I94e8e0371bb10fcad53fddd2b7c45bc9b2594a4d
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
201e4c9a80c1adb32ac8271a95721aa838c4d9fe 05-Mar-2014 Naseer Ahmed <naseer@codeaurora.org> display: Remove VPU related code

Targets in which VPU interacts with display through HWC are no
longer supported.

Change-Id: I65a5348a375ad0c193a8659d0cdfb37c2db6f38e

Conflicts:
msm8226/libhwcomposer/hwc_utils.cpp
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
a653efede03423aa840da24634f1ec6f20796f1e 09-Apr-2014 Simon Wilson <simonwilson@google.com> Revert "Revert "msm8226: update to AU_LINUX_ANDROID_KK.04.04.02.010.224""

This reverts commit 90268aeae4a80fdce99db4a4e45d696afd4fff36.
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
ef53c1c84ec55ed50f607d52b7abfbb86239408e 09-Apr-2014 Simon Wilson <simonwilson@google.com> Revert "Revert "split msm8x26 and msm8x74 display HALs apart""

This reverts commit 13236c4d3582dd6f7185a303c4795ea611edbfe3.
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
13236c4d3582dd6f7185a303c4795ea611edbfe3 07-Apr-2014 Benoit Goby <benoit@android.com> Revert "split msm8x26 and msm8x74 display HALs apart"

This reverts commit 32d546383b4424a954987570731f7fa216bce206.
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
90268aeae4a80fdce99db4a4e45d696afd4fff36 07-Apr-2014 Benoit Goby <benoit@android.com> Revert "msm8226: update to AU_LINUX_ANDROID_KK.04.04.02.010.224"

This reverts commit f96e0b957a215582702db2a5ec6c744afd94eae3.
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
f96e0b957a215582702db2a5ec6c744afd94eae3 28-Mar-2014 Iliyan Malchev <malchev@google.com> msm8226: update to AU_LINUX_ANDROID_KK.04.04.02.010.224

Change-Id: Ia9af631171fb9ec64de1d1cb0ddf5be3e0fe9132
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp
32d546383b4424a954987570731f7fa216bce206 18-Mar-2014 Iliyan Malchev <malchev@google.com> split msm8x26 and msm8x74 display HALs apart

Change-Id: I58a7dc129faa6eef4f7cdc8ee09fd42cd86c189b
Signed-off-by: Iliyan Malchev <malchev@google.com>
/hardware/qcom/display/msm8226/libhwcomposer/hwc.cpp