History log of /hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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_utils.h
60712080d834941754dca8d34adac6bd355318ea 03-Jul-2014 Raj Kamal <rkamal@codeaurora.org> Revert "Set priority among various display devices"

* This reverts commit 52b4fdbdbd4b935c48164542cdd1f4a1292cb08a.

* Since DisplayDevices are not created for non-wfd virtual
displays(CTS/SR/SSD) anymore, we can remove these checks.

Change-Id: I9249a70c6d6f6b42f268e6ec8a28c0a86b954c4e
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
000cb84f08ff7034094a16e9514a67c9bc470c0c 25-Jun-2014 Naseer Ahmed <naseer@codeaurora.org> display: Dynamic debug logging via binder

Provides a way to enable/disable logs at runtime via binder.
The logs need to be enabled from a priviliged shell.

For example,
$ adb shell service call display.qservice 15 i32 0 i32 1

Here 15 is the integer code for DYNAMIC_DEBUG in IQService.h
The first parameter 0 is for DEBUG_ALL
The second parameter 1 is to enable.

Hence, this command enables all debug logs.

Another example - this command enables vsync logging
$ adb shell service call display.qservice 15 i32 2 i32 1

Change-Id: I13d5f397d9d03f0ac6a14d3a3c9098ed59fc62fd
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
392015f27bf5930ccb8b2c8955b28c2137b4c65b 03-Jun-2014 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: Extend PTOR feature for two layers

- Consider two smallest layers for PTOR feature which uses MDP comp.
- These two layers are rendered on a buffer and are queued to MDP
to acheive full MDP Composition
- This helps to acheive performance enhancement

Change-Id: I43d9306ff19cd2d7a410c885316523965a44cbd4
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
33f1ae81779c5b897987245cde0f498fd6192579 20-May-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Define binder interface to set view frame of a display

Define binder interface setViewFrame to set view frame information
of a display by surfaceflinger when projection for that display
changes.

Change-Id: If737b51ae0f04303a1a29c91a9703f64354b61fb
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
63cdccf247d3d0ac16f19f8f7bd1e3da5d7267d1 29-May-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: vds: Add support to dump layers, FB and WB output buffer

1. Add hook to dump the layers going to VDS based virtual display.

2. Furthermore, add utility function to dump the frame buffer and
WB output buffer. This will be enabled via a system property

debug.hwc.enable_vds_dump

Once dumping is enabled, the dumps can be extracted from

/data/vds.fb.FORMAT.XRESxYRES.raw
/data/vds.wb.FORMAT.XRESxYRES.raw

e.g. vds.fb.MDP_RGBA_8888.1152x1920.raw

Change-Id: I2435c5507961a52929411206892c005492d5c193
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
3b66cc8c40ba690452f2ea5f648b408d0164c423 29-May-2014 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Set GPU Hint from idlefallback state to GPU

Set the GPU hint to high from idlefallback to GPU state transition.

Change-Id: Ia8c2e44788e7131c4faf5fda32acf0c5b6000cdd
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
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_utils.h
5bbc98fa2dcc744a1943cc8c85ce74169fc8a044 08-May-2014 Jeykumar Sankaran <jsanka@codeaurora.org> hwc: Map dirtyRect to layer destination before using.

DirtyRect for a layer is generated w.r.t to its buffer
coordinates. It needs to be mapped for layer destination
(display) coordinates before using it to calculate the frame's
ROI.

Change-Id: Id86f495b2016da2cfd5aed4d86bff6d3035abf10
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
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_utils.h
c5ee4bd551fd15825770154947920733949f8811 27-Feb-2014 Jeykumar Sankaran <jsanka@codeaurora.org> hwc: Use layer dirty rect to calculate frame's updating ROI

Use layer dirty rect instead of display frame to calculate frame's ROI.

Change-Id: If5fe93da7815efdf9b44ed683a4d80b397921cf1
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
f2ecc8f4b92739fcb1a75089f8fe01db1f178adb 07-Mar-2014 Ramakant Singh <ramaka@codeaurora.org> HWC/Copybit :: Add swap rect feature in HAL for MDP3

We brings all swap rect level checks in HAL from surfaceflinger
for MDP3.
swap rect kicks in case of
1 Only one layer is updating.
2 No overlaypping layers.
3.Both src and dst has same value.(no scaling)
4.No video layer

Change-Id: I881958994e80b53d4969beaaf51518b727a8de78
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
a2b25afe2813c793161cc9fad657d9638e88aec4 01-Apr-2014 Raj kamal <rkamal@codeaurora.org> Display and wfd synchronization during teardown

* Provide a binder interface call for wfd module
to inform display about the start/stop/pause/resume
of wfd session.

* This is needed for wfd-hdmi synchronization in
case of v4l2 wfd solution. If hdmi is plugged
in during v4l2 wfd session, display-hal waits in
uevent thread for wfd teardown notification from
wfd module, before going ahead with configuring
external display.

* For VDS WFD solution, display-hal waits in uevent
thread for wfd-teardown to be signalled from
the composition thread.

Change-Id: I9514cb5bc7ff81de0b5dd4cdf66d8286a64ba094
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
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_utils.h
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_utils.h
1b9f24cfc5be6361faeb28976d720cf65a7f8285 05-Mar-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: Move aspect ratio helper function to qdutils

Move aspect ratio helper function to qdutils so it can be used
as a utility function in libvirtual and libexternal without
introducing a circular dependency.

Change-Id: Ib295c1d9f78bc8898b1aac9a443cdacf53150551
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
57ca59ccafa0efa6fb8f5684e90777bbeb6f92c7 21-Feb-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: Enable downscale feature through system property

Add support to turn the MDP downscale feature ON through the
use of a system property. 'sys.hwc.mdp_downscale_enabled' shall be
set to 'true' in build.prop file to enable this functionality.

This is required for OEMs that might have privacy concerns over panel
size information being exposed.

Change-Id: I354b25b1fdabe5786aed7552f2afccda35412467
/hardware/qcom/display/msm8226/libhwcomposer/hwc_utils.h
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_utils.h
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_utils.h
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_utils.h
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_utils.h
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_utils.h
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_utils.h