History log of /hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
641955a674bb1c2efd5a3c11156f702dcd6afe5d 26-Nov-2014 Naseer Ahmed <naseer@codeaurora.org> hwc: Add a padding round on virtual display connect

This makes sure pipes are detached from the primary display when
a virtual display comes in so that there is a chance of the
virtual display getting at least one pipe.

Bug: 18023015
Change-Id: I34e11a05385555ca18b7f2d16bd429819f4ca689
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
a7075caa2020c42d35d48ffa44302a4d92e5ab5a 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/msm8084/libhwcomposer/hwc_virtual.cpp
3d3705af561ebe7182b23fdc81e0b755d22b11eb 17-Feb-2014 Praveena Pachipulusu <pveena@codeaurora.org> hwc: Use proper typecasts.

- Remove compiler warnings
- Use proper typecasts

Change-Id: I7391f32ae31283239f5cebb93b02f3ce3a5c99f3
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
e21110177d7605c4668bad3e2de85c8bb2a531f7 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/msm8084/libhwcomposer/hwc_virtual.cpp
f1ea15e3c689d155626a56b870ee78cf4041b28d 12-Feb-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: Extend pause/resume functionality to VDS displays

Add support to handle pause/resume for virtual displays connected
either using VDS approach.

Change-Id: Iabd01c5597f2399ccc7f83712bda1a2c1103788d
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
a847f8ebd1e285cb1af1fee5b88c8465256b51cb 14-Feb-2014 Baldev Sahu <bsahu@codeaurora.org> Rely on list->outbuf rather on mVirtualonExtActive

* Rely on list->outbuf rather on mVirtualonExtActive
to determine a virtual display device

* This helps in cases where SSD/SR is started after
a non-Hybrid WFD session becomes active. We need
to update retireFenceFd of SSD/SR which used to not
happen since mVirtualonExtActive is set becomes of
an active non-Hybrid WFD session

Change-Id: Ib42af62e723b5f62f62a1a8d280f0c9af49683d7
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
23ce176960d3c46e3c9d089f334f1469ac052b28 11-Feb-2014 Manoj Kumar AVM <manojavm@codeaurora.org> hqd: Fix validate and prepare frame for virtual displays

Extend validate and prepare frame functionality for
virtual displays.

Change-Id: I266f35d8581ac2de04c5ce22e51b267a48955e46
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
4f5017a8743d5df912dfa5b5ea94dd97a6d95608 06-Feb-2014 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: vds: Display HAL changes for VDS based solution"
03eecbbb3ca36cdc08af64613db3f273380977fa 06-Feb-2014 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: vds: Configure WB as secure if output buf. handle is secure"
5542995aa26246053f5dd1d48f1d4c45098b32bf 15-Jan-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: vds: Display HAL changes for VDS based solution

1. Hard code the vsync for VDS during the first prepare call
with valid VDS display. We align the vsync period to that
of the primary display. Effectively, we produce at the at
the primary refresh rate and do not worry about the consumer.

2. Do not bail out on the first frame as it leads to showing empty
buffer. This leads to failures for some test cases such as those
run in CTS.

3. We need an FB layer handle check to cater for this usecase:
i. Video is playing in landscape on Primary
ii. Launch ScreenRecord app
In this scenario, the first VDS draw call will have HWC
composition and VDS does not involve GPU to get eglSwapBuffer
to get valid fb handle.

Change-Id: Idc7d989e244a83ad28ce730ecb12955bc249dc25
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
b3bdc6efe68ef2d0b13d33b6cc9cbf79148f13da 17-Jan-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: vds: Configure WB as secure if output buf. handle is secure

When we receive a buffer handle that is secure, we configure WB as
secure; otherwise we continue as normal.

Change-Id: I497e257352c103c5da7ac2dc3fd4d7fe0e0b3953
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
404047f2c61687024048b04374ea736285ddded1 22-Jan-2014 Arun Kumar K.R <akumarkr@codeaurora.org> hwc: resolve compiler warnings

- remove unused variables.
- fix incorrect castings.

Change-Id: I7661edb4539a3ffc7d4aedbb9f633bc5ba1dc149
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
5989998af7bd18e710a6a122c80fab40e3f397b2 30-Jan-2014 Linux Build Service Account <lnxbuild@localhost> Merge "hwc: Drop alpha from writeback"
c979900d0a5b6a94c2d1765b4c54c433bb27270a 30-Jan-2014 Linux Build Service Account <lnxbuild@localhost> Merge "Set priority among various display devices"
4c087a193c4d6e1b5e20aa8e561bf5eba4592856 27-Jan-2014 Raj Kamal <rkamal@codeaurora.org> Set priority among various display devices

* When a non-WFD virtual display device (SSD/
screenrecord) is active along with
non-hybrid WFD solution(WFD faked on
external), give preference to non-hybrid WFD
device over non-WFD virtual display device.

* This is needed only in cases when WFD is
enabled via v4l2 rather than using VDS api's.

Change-Id: I63e53baa214bdcdac19430ca30b939cdd7416cbb
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
f3d8323bcf014b74fcb9945cb1f22906ff7e0f6c 20-Jan-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: Drop alpha from writeback

The alpha in the writeback is unused right now. Force MDP to use
RGBX for composing writeback.

Change-Id: I3d92338ced8bb98fd0515107d84c306992a3c133
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
04e803bb62cd44fa2ef1df5d7875026ebde85cb9 20-Jan-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> hwc: virtual display: Use outbuf handle width to configure xres

Use outbuf handle width to configure display xres, since that would
have the necessary alignment. The outbuf is guaranteed to be valid
by the framework during hwc_prepare.

We use the framebuffer layer's display frame to obtain the actual
width. For example, the actual width could be 720 but the aligned
width would be 736.

Change-Id: I5afe38001be8116e1ad6a9f46c7ecaa50b5f25a2
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
d7118ba43609fd9fcc792c69f07c1464b276f2ad 17-Jan-2014 Tatenda Chipeperekwa <tatendac@codeaurora.org> Copy virtual display FB to outbuf even with no app layers

In the current composition strategy we bail out if there are no app
layers present. However, this leads to undesirable behaviour if the
FB contains valid data that is expected as output. In this patch we
copy the FB to the output buffer to satisfy this use case.

Change-Id: If905d8b0652faf73b9aecad1abc760f21967807f
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp
140ee6411106722dae886dc8c5b104b72d64dee0 31-Dec-2013 Ramkumar Radhakrishnan <ramkumar@codeaurora.org> hwc: Common Display HAL to support VDS & V4L2 WFD solutions

1. Define classes for VDS and V4L2 based WFD solutions.
2. Overload the functionalities for VDS and V4L2 WFD solutions.
3. Instantiate VDS object or V4L2 object during hwc init based on the
property persist.hwc.enable_vds set by the user.
4. VDS solution is not verified as it requires some dependent changes.

Change-Id: I74bf944d532da138c850d4ec0c20b4a881489efa
/hardware/qcom/display/msm8084/libhwcomposer/hwc_virtual.cpp