History log of /hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5628e5e5d07912ad30849801f18c07ab433a4f5 30-Jun-2014 Saurabh Shah <saurshah@codeaurora.org> hwc/overlay: Get rot dest dimensions instead of manipulating source

Currently for Mdss rotator we manipulate the layer buffer dimensions
to be equal to what rotator's destination dimensions would be, so that
these could be fed to MDP. Instead, this patch introduces APIs in
rotator so that hwc can directly query destination crop, width, height,
format from rotator.

This also simplifies the updateSource() and configRotator() helpers.

Change-Id: I501d998f2e0574683c764af9422742b2426ba0c7
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.cpp
e095244acd6350d0898d5a9b409dff2748553bfc 23-May-2014 Saurabh Shah <saurshah@codeaurora.org> hwc: Source Split layers always if indicated by driver

Source Split layers always if the driver indicates so by setting
the src_split_always in the capabilities sysfs node.
This is applicable to layers whose width > mixer's width, since
MDP clk rate is dependent on max(mixer_width, layer_width).

This feature can be enabled if the panel height is more than a
certain empirically derived value. Splitting always in those
cases can help with a lower voltage.

Change-Id: If9b33f11ca4132eb77416c26819f7473c65d3b08
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.cpp
92e456fd92a6231dbf5d9de5289ed2f84841a804 20-May-2014 Saurabh Shah <saurshah@codeaurora.org> gralloc: Remove opaque types

Remove opaque types like size_t, uintptr_t, intptr_t to support
32bit and 64bit processes together.

When a 64bit process creates a handle and a 32bit process validates
the incoming ints against expected ints, opaque types lead to
different and mismatching values.

Always use unit64_t for base address for 32bit and 64bit SF.
Use unsigned int for offset and size, since ION uses that.

Change-Id: I7db5544556a8924f98010b965f837592e9f0b4ca
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.cpp
c9e382481ac19b43dcbefee46ff4ee93fbfe8a95 30-Apr-2014 Saurabh Shah <saurshah@codeaurora.org> hwc: Enable source split for targets with single dsi

Enable source split for targets with single dsi. This has the
benefit of using 2 pipes for layers whose width (crop) is higher
than line width.

Change-Id: I147136a3eb786e1af7b63508d65c010e88e358ed
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.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_fbupdate.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_fbupdate.cpp
a83d776f160d90db1cb5df28a793f4f06a93f020 05-Mar-2014 Saurabh Shah <saurshah@codeaurora.org> overlay: Support for returning pipe based on capability

Add support for returning pipes based on capabilities.
getPipe() API takes in pipe specifications like format class,
scaling, display, mixer, fb and decides what pipe to return.
The nextPipe() API is now just a private helper.

Change-Id: I0ab809662c0ad6297e19a44f39264ee929944d13
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.cpp
0bc6186c13bed6530aadad53308916869871aa8c 28-Feb-2014 Saurabh Shah <saurshah@codeaurora.org> hwc/overlay: Add support for pipe priorities, 1 pipe config for FB.

If using source split to stage 2 pipes on the same mixer stage,
the left pipe needs to be a higher priority than the right.

Add API in overlay to compare pipe priorities and use this in
source split config to stage pipes accordingly.

Add support for 1 pipe config for FB if updating rect is within 2048
pixels.

Change-Id: I8b33d5ebd0f8765ee842bab128d8abd67a110145
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.cpp
ebf925e696ac4debee9ed652aea5ba2a21dfa136 31-Mar-2014 Saurabh Shah <saurshah@codeaurora.org> hwc: Add rotator obj to layer-rot-map if acquired.

Add rotator obj to the layer-rot-map soon after its successfully
acquired. This makes sure that any object allocated is accounted
for, irrespective of whether rotator configuration succeeds or not.

Change-Id: I94102d9c607cf61b2eccdf7f2445bb07d309d35c
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.cpp
a5a4ed325bbfebec8a9e977296a8a11d1a2abdb8 18-Mar-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: set mModeOn flag for fbupdate properly.

Set mModeOn flag for fbupdate to false if validateAndSet function
fails, so that queueBuffer can be avoided for prepare failure.

Change-Id: Ifcc7a16caf8779f13411ae2a9eeeec6e6c846f4c
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.cpp
847a264fceba2a223c76f707888f9757e4458105 27-Feb-2014 Jeykumar Sankaran <jsanka@codeaurora.org> h/q/d: Add support to update framebuffer partially

For dual DSI panels, when enabled partial update AND framebuffer rect
optimization, it is not necessary to update both the halves of
the framebuffer every frame. This channge adds support to update
framebuffer based on the updating region generated.

Change-Id: Ia63a8b9ac0e915c04e06122a16471ee18b5a8272
/hardware/qcom/display/msm8226/libhwcomposer/hwc_fbupdate.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_fbupdate.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_fbupdate.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_fbupdate.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_fbupdate.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_fbupdate.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_fbupdate.cpp