History log of /hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
72579d94ed598c55a7faa2bedcb2689c7353b579 28-Aug-2015 Naseer Ahmed <naseer@codeaurora.org> hwc: Silence log for unsupported layers

In some cases, external displays may be driven by the primary
vsync with the primary not having any layers to compose. Do not
log in such cases.

Bug: 23487270
Change-Id: If72cb690692faa26bb4132c0f473b8b413be2bee
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
a2f8c1e71fe985a5306dd303850e9862d422249c 06-Aug-2015 Naseer Ahmed <naseer@codeaurora.org> hwc: mdpcomp: one full screen update in screen refresh

When screen refresh is triggered, make sure at least one
full screen update when partial update is enabled.
Screen refresh is requested after post processing has been
sent to kernel, full screen update is needed so that the
pp setting applies to the whole screen.

Change-Id: I7885c451a313666c1fcef8c3d55cb86b8479de1c
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
41ac35e73491eb7e3337abe257c042dac4ad2e1f 14-Aug-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Start with ROI set to destination

Some layers will not have surfaceDamage information,
like video and CPU rendered, so consider their destination
as the surfaceDamage. For other layers start with destination
will be calculated based on the surfaceDamage

Change-Id: Ic7308bf9dfb7d062596873963c738f644b1c1a84
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
298391fb24e1303c50b9d4172efe2bb9940114fa 10-Jul-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Fix ROI generation for source split

- When generating ROI for SourceSplit case, check if the display
is split and accordingly calculate right roi
- Assign correct lRoi and rRoi in hwc_commit

Change-Id: Ie41e1f08e8f039f3548fa12be695c807d77a0b2e
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
de608742bddfc2840f4d49932884e9e62a3b8f0d 29-May-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: mdpcomp: Add surfaceDamage calculation with SrcSplit.

Use surfaceDamage in calculating the final dirtyRect in
case of generating the ROI for SourceSplit

Change-Id: Ibe2347c49e07ec40a3369f6970371437b81874cd
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
72aecbe8c0c4398ea5c996b913cda6adf2e01659 29-May-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: use surfaceDamage to calculate the dirtyrect as per HWC 1.5

Update the HWC version to HWC 1.5

surfaceDamage is passed as part of the layer, use this information
to determine if the layer is changing and handle cache.

The total dirty rectangle for a given layer will be the sum of all
the damageRectangles, use that to calculate the ROI

Change-Id: Iddff278e716099d252e059aae02764f4b8630a6f
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
9f4ab24b0f20c60739a93172d548ece1f88f6f87 29-May-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Partial update support for ping pong split.

ping-pong split needs source split to be enabled to stage two
pipes of a layer in the same Z order. This change adds partial
update support to generate ROI when source split is enabled.
When configured, ping-pong-split splits the layer mixer output
equally across two DSI's. To meet this limitation, the generated
ROI is adjusted to have equal widths from the panel mid point.

Acked-by: Jeykumar Sankaran <jsanka@codeaurora.org>

Change-Id: Ic307a1d5b902af9e352b0dfc6f5ab474ecd9c8a4
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
4986a66403dd53ee83d1b58cfc2c0cfd95e73112 29-May-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Reset the refresh rate alone to avoid stack corruption.

In early return calls of prepare, reset the refresh rate
irrespective of layer properties to avoid stack corruption.

Acked-by: Praveena Pachipulusu<pveena@codeaurora.org>

Change-Id: I5a04e111b1f10a6cb807459c7693d049c454edaa
CRs-Fixed: 838902
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
3bc091ceb76fc796bb0264678db9b3c9479dadfb 24-Feb-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: mdpcomp: Remove the perf lock acquire log message

Perf lock acquire would fail during the boot up as the perfd
service is not up yet.
Its harmless to remove these logs which cause false alarm

Change-Id: Id305f3122a77ebe70819e4b3edfaf405c3a87d70
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
fb06969f70d5810f844f5a4682f42b602ed1a152 05-Feb-2015 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Use 1 pipe if rotator downscale reduces dimensions

If rotator downscale is able to reduce output dimensions below
MDP's pipe limits, then use only 1 pipe if possible in source split
cases.

Acked-by: Saurabh Shah <saurshah@codeaurora.org>

Change-Id: I6739a1fcd32b1047ce266d60c0123961c9daa657
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
a4a71c6d0a4553a9edbbd2398ea05032abe395d6 29-Jan-2015 Arun Kumar K.R <akumarkr@codeaurora.org> liboverlay: Fix pipe priority mismatch on new allocations

With source split enabled:
1) When both LEFT and RIGHT pipes gets reused pipes, we use their
pipe id's to compare their priority and swap them as needed.
2) When both LEFT and RIGHT pipes needs to be newly allocated, we
let driver take care of the priority as long as both pipes are
of same type. If different, we swap them according to the pipe
type priority.
3) When LEFT is reused and RIGHT needs new allocation, we swap
them only when they need same pipe type and LEFT has the
pipe with lowest priority.
4) When RIGHT is reused and LEFT needs new allocation, we swap
them only when they need same pipe type and RIGHT has the
pipe with highest priority.

Acked-by: Jeykumar Sankaran <jsanka@codeaurora.org>

Change-Id: I320285aaca7ffc032e3b3b0832380a9c705bc4fc
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp
054df959aef7dce630a7f41d4aba6626c130756b 12-Mar-2015 Patrick Tjin <pattjin@google.com> msm8994: import msm8994/msm8992 display code

AU_LINUX_ANDROID_LA.BF64.1.2.1_RB1.05.00.00.019.037

Change-Id: Ie94c9207ea736a114bfdf4f35d372ccc326d7207
Signed-off-by: Patrick Tjin <pattjin@google.com>
/hardware/qcom/display/msm8994/libhwcomposer/hwc_mdpcomp.cpp