History log of /hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c0b4a4f1a8b088964ded32dfee294b9199c71534 27-Sep-2013 Greg Hackmann <ghackmann@google.com> hwc: do not allow gsc downscaling by exactly max_downscale

The Gscaler registers do not have enough bits to represent downscaling
by exactly 16x

Bug: 10946861

Change-Id: I6a9921193d9188bca2344815c29863c550c5e3dd
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
fefc73707fc629740988404eb84c907be90e0789 24-Sep-2013 Jesse Hall <jessehall@google.com> Restore overlay support for RGB565 layers

This was accidentally removed by change-id
I2b0eb35344631d162b30dd22ee0ad7651f22e6fa
which removed HAL formats 5551 and 4444.

Bug: 10748683
Change-Id: Id610083732f0495a7c4a29660c7c2c8750929510
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
e8210a67695ab8abc48af9e0291971d37961291d 26-Jul-2013 Mathias Agopian <mathias@google.com> get rid of HAL pixelformats 5551 and 4444

Change-Id: I2b0eb35344631d162b30dd22ee0ad7651f22e6fa
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
aca2ba3f3d302e8e75b523e128607d131f4a76c2 06-Mar-2013 Greg Hackmann <ghackmann@google.com> hwc: remove obsolete check for HWC 1.0 composition target

Change-Id: Iba61c14c8dc238e5ff33c30e2739f61aaa103871
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
e94e7760b6b287daceefb9828bdaf9cec3d34147 19-Feb-2013 Greg Hackmann <ghackmann@google.com> hwc: is_offscreen() should look at display frame, not source crop

Change-Id: I8cde6d6086caaf9e1363f5b2532315da811a1ae9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
9d35e00164820884b0c3922478c09e04f3dd78e9 05-Dec-2012 Dima Zavin <dima@android.com> gralloc/hwc: read the screen res from the framebuffer modes list

Change-Id: Icd69c79b85ec5ce4a4ff444a98afc0da4e5c0a87
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
46a07295367fbfcaa485e71125d41f947c9be39b 05-Dec-2012 Dima Zavin <dima@android.com> hwc: do not require hdmi

Change-Id: I456d9ef6ea416a14b52b9e5548e9b469a2167696
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
c8a9913afea1419253f6948450275a48fffb5aee 28-Nov-2012 Benoit Goby <benoit@android.com> resolved conflicts for merge of 88f05e8d to master

Change-Id: Ib18aebd1c0f4f3ace3d7307109fcc6ae5c7a7d65
02893a485dfa8b9c98904794325ed0b467c40c4e 02-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: set retire fence fds

Change-Id: Iece6483e6402a9a425086b8ee8e67e17909b7d8a
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
18893a3d6f100040df0d2ca8b3570d729dc38475 31-Oct-2012 Benoit Goby <benoit@android.com> hwc: Hide layer1 if the FB_TAGET layer is not needed

Leave layer1 enabled but hide it when not needed because if both layers
get disabled, the hdmi mixer and phy will get powered off.

Bug: 7363167
Change-Id: I4a969be7fb7877b05e866488d71f478c8f1c0fb4
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
56208452f4f55fbb2b8e39355f5308fe08603e6e 24-Oct-2012 Benoit Goby <benoit@android.com> hwc: Add properties to control hdcp and color range

Bug: 7395373
Bug: 7259555
Change-Id: Ib8280a892bce123b165df51c5746775e2cf03bdf
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
92b0aadb2237196ee193c6500c6f864c8497c97a 18-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: adjust protected content scaling for gscaler width constraints

Protected content cannot be sent through the GPU. Instead slightly
over-scale to meet the Gscaler's 32-pixel alignment constraint and crop
back to the requested display frame.

Also move the minimum-width check to prevent a potential divide-by-zero
in the padding calculations.

Bug: 7365351
Change-Id: Ia0807fe6c4a6c25364fe08ed1f2eb223f3cb0d4e
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
5d99ec51e355e21a6c31c9a071f9eaf495a5acda 11-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: set Gscaler to narrow RGB for YUV surfaces

Bug: 7310985
Change-Id: I469c1de7503f53e6d8a4fecd224982547e5b9021
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
de6a087e62a263aab671034fb6f116c83c40a4cf 11-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: protect on-screen gscaler buffers

If the display pipeline gets too far ahead then it may try to reuse a
Gscaler destination buffer while it's still on-screen. Protect against
by setting the destination buffer's acquire fence, using the fence
obtained when it was sent on-screen.

Bug: 7319537
Change-Id: Ibac5da4b3e4b50c2413214a390abea64c9c56868
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a37db02bd1f444fc949270cd0f8d6a9d178b8965 08-Oct-2012 Benoit Goby <benoit@android.com> hwc: Call V4L2_CID_TV_UPDATE when mixer configuration is done

Bug: 7286984
Change-Id: I1e607d524dd96738a193e8fb40d30c38fe39e7f6
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
33aa35f1c81c92e5b44ddc898fed85ad39e1908b 06-Oct-2012 Dima Zavin <dima@android.com> libgscaler: enable/disable hardware content protection during drm playback

Bug: 7287429
Change-Id: Ife33062c8e1ee961139e8f3b50720ea43c2882e3
Signed-off-by: Dima Zavin <dima@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
cb4ed2fdb7e1242de8d61dba88ed23fe5f43a668 22-Sep-2012 Benoit Goby <benoit@android.com> hwc: Implement blank per display

Bug: 7286984
Change-Id: I7382ca332de3b4035573349227b06c43dee38f86
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
3f32ce537a7870cff6ca32e34a8d965d2fa85172 10-Oct-2012 Sanghee Kim <haya93@samsung.com> exynos5: hwc: add dst's crop size alignment.

Bug :7274341

Change-Id: Icc4b631e81ddfd432bbd7902fa033d4b187b9273
Signed-off-by: Sanghee Kim <haya93@samsung.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
ec13dead1baa6ffb18efd08f33aef9be52707b49 08-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: always make forward progress in fimd set()

If the FIMD's set() fails for any reason, post a black screen to ensure
forward progress, and try setting the HDMI contents anyway. If the
black screen fails something has gone horribly wrong, so terminate the
runtime.

Bug: 7304464
Change-Id: I6d7333574286e3a87c990c2476c5d987613067d8
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
181e92b2e10add197b4aa4efc01651e2cf164b94 05-Oct-2012 Benoit Goby <benoit@android.com> hwc: Use sync fences with m2m gscalers

Bug: 7286984
Change-Id: If714474ddb5093d4c2fe0bf35fb15ce612846664
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
7b4c1329920d7c9a804f70cca33285ed60ad284b 05-Oct-2012 Sanghee Kim <haya93@samsung.com> hardware: exynos5: hwc: add gsc's width alignment constraint.

1.M2M case
GSC's dst width should be aligned with 32 pixels in case of RGB888.

Bug: 7276111
Change-Id: I563f7367b7f368d24194d178c8b0ca3b445b6ec3
Signed-off-by: Sanghee Kim <haya93@samsung.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
89bb5743fcbcf78bbc517e5bd690de3996981fd4 04-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: don't logspam about unexpected formats

Bug: 7289360
Change-Id: Ib562e94ee127980a1910cbb2ce4ed206806a7c5d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
4eaff153ad2063203bb2a22be4cbf2e4fbb33c1a 04-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: keep gscaler streaming on between frames

Reconfiguring requires stopping and starting the stream, so only call
gsc_config_exclusive() when the configuration actually needs to be
changed. Use the new gsc_wait_exclusive() operation to wait every frame
but only stop on cleanup.

Bug: 7202379
Change-Id: I28fc9f33a9345c91aef3f82098aeb668893f620e
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
efd9853a27a57c13b90fd9c2871aea206d4d6338 02-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: reuse gscaler device between frames

The Gscaler device is cleaned up (along with the destination buffers) on
the first frame where it is not needed anymore.

Bug: 7202379
Change-Id: Icb9239a603b46ffb70ce2bba5dd8d998541cf0f5
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
d6743822496f732019c4c16db81e443598763500 03-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: reserve one gscaler each for FIMD and HDMI

Prevents FIMD and HDMI from stomping on each other's Gscaler devices
that have been left open

Bug: 7202379
Change-Id: I3f068810a747e45b7c0200bba34c232d9aa54431
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
d60d7b798d46f3b13122ce62256ff4b1c9536ec6 02-Oct-2012 Benoit Goby <benoit@android.com> hwc: Fix video layer colors

The HDMI mixer only supports RGB

Bug: 7123196
Change-Id: I09688589df50527ed95234d0e8f1afca2bd6c648
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
b550190b3a71c049d3091a67422cff0ca544cbc1 01-Oct-2012 Benoit Goby <benoit@android.com> hwc: Add support for video overlay

Graphic Layer 1 is always used for the FB layer and Graphic
Layer 0 for the Video layer

Bug: 7123196
Change-Id: Ia4d4bbb10598cd32beac44324025dcae7b6fac19
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
93f9f5db1b8ed79cac5abb62544f59c04fd49252 29-Sep-2012 Benoit Goby <benoit@android.com> hwc: Use graphic layer and no gscaler for FB TARGET

Bug: 7123196
Change-Id: I8fffd9c6896919b2d24192e90d5125d0976980d3
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
67b2c3161baa125ef239fabb49011f5218989aca 01-Oct-2012 Greg Hackmann <ghackmann@google.com> hwc: enforce minimum window width

Windows narrower than the FIMD's DMA burst length (128 bytes) are
rejected by the kernel because they may wedge the FIMD.

Bug: 7257993
Change-Id: I145db16940bd972e4197a0851bfc992ad4ecdf45
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a46f3ffc8589d99c6273ada37c90d6fcf68be70b 30-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: fix gscaler color order for 565 surfaces

Bug: 7257843
Change-Id: I8847cbd49d384238483c1494a1a777d8aef4cff0
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
45709e7bcbc0f8e73ca4251eb2d3c74341b8f72e 28-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: switch HDMI gscaler input to RGBX

Framebuffer format has changed to match mixer's RGB order

Bug: 7229550
Change-Id: Ibb8e9201f0b906ceb06e9fe1fe59e44d0e6e8724
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
70231568d9b3bfeed65d40f21aeadf5886292b6c 28-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: reduce blank ioctl EBUSY from error to info

EBUSY means the screen is already in the requested state. This happens
during normal initialization and isn't harmful in practice.

Bug: 7249087
Change-Id: Ic8b6078aadd48d776191523e9696455d68b6ac62
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
2a19eb169927b5669b2bc0adb96145b84ae49c6b 27-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: enforce X-coordinate alignment constraints

The FIMD requires buffers' X coordinates to be aligned to word
boundaries. Use a Gscaler to convert unaligned buffers to 32-bpp, which
have no alignment constraints (1 word == 1 pixel).

Bug: 7242154
Change-Id: I169f89d3eaff4d7694a1e7fc4696caaf4bbd512d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
9eb2a0209e821f702227c61ccf7dd18aca2a6d82 26-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: support HAL_PIXEL_FORMAT_BGRA_8888

Bug: 7229550
Change-Id: Idec29ccb8b84af52e7c4e7af613bfdde6a6cb011
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
105be0b2aac13c94567036612a9556aae34c1590 21-Sep-2012 Benoit Goby <benoit@android.com> hwc: Return a release fence for the FRAMEBUFFER_TARGET layer

Bug: 7123196
Change-Id: I2236b187dc6fa8e8504c667797bc73efe596dc05
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
4f4399698e74d09820621027cf0f0e001f1c064a 22-Sep-2012 Benoit Goby <benoit@android.com> hwc: Remove force_fb flag, there's always content for HDMI

Bug: 7123196
Change-Id: Id0327b5fd7d3a7777c2dc13a99e51d5b11864388
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
48a6954594cd33170a493b85a95246741cbd3ce6 22-Sep-2012 Benoit Goby <benoit@android.com> hwc: Ignore content for HDMI when it is not enabled

Bug: 7231798
Change-Id: I82d4baa3c1b84c2f16e6b633f4e1457730333124
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
09c45c25ba3f9782e440d53aaf52b548fb0775be 20-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: enable gscaler on RGBX surfaces

Bug: 6979023
Change-Id: I3df195443d547f3cd3d36089925dc5c9a135e261
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a93919cac5a432f8cfee6f2e3297bc8ebb192c04 21-Sep-2012 Benoit Goby <benoit@android.com> hwc: Call hotplug on HPD

Bug: 7123196
Change-Id: I982b6af991c9d6d2fb76a7984138b4f999eb61b0
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
922abbf42012f01c15f28eb4f994218b253f4ccd 20-Sep-2012 Benoit Goby <benoit@android.com> hwc: Implement prepare and set for HDMI

Bug: 7123196
Change-Id: I0ba82e8772adba8bc43fbfa329008e096bcecd0d
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
05cbd792101e9f4b58ae6a0b78e444c100d6b770 15-Sep-2012 Sanghee Kim <haya93@samsung.com> exynos5: libhwc: support the directFB for RGB565.

Gaia display controller supports RGB order each window.
Even if differet order of several formats are mixed,
can control RGB order each window.

Change-Id: Id4117d56f548af40579580632e83c140257d2d5d
Signed-off-by: Sanghee Kim <haya93@samsung.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
bb3bd9e63d6e35f7c2bcb069de6cfbd02b97776d 18-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: send non-gscaler fence fds to kernel

Waiting for the fences inside the kernel's worker thread (instead of
blocking in userspace) allows better pipelining. Gscaler support for
sync is not yet complete, so still wait for those buffers inside the
HWC.

Change-Id: I8f7fcf7c0d7f4d0bed622239e5fbe626444bf4d9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
54aa0d2841777939a8d4e7e6edcbda06f1e241c9 20-Sep-2012 Jesse Hall <jessehall@google.com> getDisplayAttributes now returns an error code

Change-Id: I79d2d38cc74fa5c4b3cc7d0538cef1c6d7f3e484
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
815751411da165d12de0b71190d0ded1bb84bff2 20-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: fixup windows configurations that extend past screen edge

Also warn on (and don't compose) completely off-screen surfaces, which
would be "fixed up" in nonsensical ways

Bug 7188695

Change-Id: If50df49c958a743783a5a3e8c616ba2d3b284461
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
6e0f76df403e85fef49a3c9ef40cb6b007f031ac 18-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: add system property to force gpu composition

Change-Id: I7cbe01109675d373ec6e55439020f0f926a9e5a9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
b0b3bdd5a1eee14d55f00054b60e3aa2163306a3 12-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: implement HWC HAL 1.1

Change-Id: I687dee326846e148f559556a4ba045601f362c27
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
0c1ba823fa2d24b931d44b4f96184379499fbb01 13-Sep-2012 Greg Hackmann <ghackmann@google.com> HACK: hwc: hard-code screen resolution

Change-Id: Id0e3d50e07f56395873e14286772e2b3f6497d4a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
d92fe2100aff8770bd7654e959a5832355218396 11-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: read display configuration directly from fb device

In preparation for framebuffer device going away in HWC 1.1

Change-Id: I6b5b3fcd521aa130343386487170bc8518ebf95a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
44a6d427028d87ddda7f2e50df675964f33f2d80 18-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: increase gscaler ring buffer size to 3

Fixes tearing reported in bug 7147037

Change-Id: I1b646b31fb23d1386c0cf48e2bfbfd3f1acc9378
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
7dddd2a7a02c1840eaed7dac79d048bacf14cd11 13-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: clear cached gscaler info after failed allocation

Prevents next allocation attempt from "re-using" NULL pointers

Change-Id: I380c37317a82fdead09ad48c7836ce0e795ee80d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
3088b9786a2496f92c321aeca641898ad14b446e 13-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: store gscaler configuration in correct slot

gsc_map is indexed by window #, not by layer #

Change-Id: I6f89e9b0de3787e0ab2aeb490bb6eb3c86bdcf8a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
f9509d3209f37beb28b74b4f5355bfa0162b1154 12-Sep-2012 Greg Hackmann <ghackmann@google.com> Revert "hwc: enforce bandwidth limitations on each memory interface"

This reverts commit aa14c9fba2a5790cfc249afe0cd361aef774d16b.
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
9e6b8ca0565679a6b1773d2e6e9472cb8eeb2a22 12-Sep-2012 Greg Hackmann <ghackmann@google.com> Revert "hwc: enable gscaler on RGBX8888 surfaces"

This reverts commit 36530ec6d52ee39c3755e1d26f6a9ead6b41e2bb.
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
23cd5951dcf20c282d91cd8e897f4e88c1cffcb2 12-Sep-2012 Rebecca Schultz Zavin <rebecca@android.com> Revert "hwc: rewrite supports_gscaler() to use libgscaler"

This reverts commit f3416d3fd62de43b5f15076957d94282e13b30ba.
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
aa14c9fba2a5790cfc249afe0cd361aef774d16b 30-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: enforce bandwidth limitations on each memory interface

The memory bandwidth is divided between two interfaces. Check this
after making an allocation, since it's tricky to account for during
allocation (anything involving the framebuffer can completely change the
bandwidth on each interface).

Change-Id: I17a4bc079fc24d924c3a1c2c651d1e544ebc4325
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
f3416d3fd62de43b5f15076957d94282e13b30ba 08-Sep-2012 Greg Hackmann <ghackmann@google.com> hwc: rewrite supports_gscaler() to use libgscaler

Change-Id: Ia9afc69b827a42199d2dba53245a9bf272f9aff1
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
36530ec6d52ee39c3755e1d26f6a9ead6b41e2bb 02-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: enable gscaler on RGBX8888 surfaces

Change-Id: I6985c89d93add9134135b4a900094dd5a529b2ea
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
6c195c5ad7988d10009162ed6738c42762ad6ec4 31-Aug-2012 Sanghee Kim <haya93@samsung.com> hwc: moved GSC dst's drmmode checking.

gsc_dst_cfg_changed() function check whether drmmode is changed.
so The checking code for drm mode should be located beforing
gsc_dst_cfg_changed().
Currently GSC dst's buffer property is same with GSC src's buffer
property related with drm mode.

Change-Id: Ib8c8b0f96d7e22c83d24ef9c77b3a0ff896dee9c
Signed-off-by: Sanghee Kim <haya93@samsung.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
f8c24e515ead420fa8dea96b87171447f5960e81 15-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: warn about unexpected formats

Change-Id: Id4f48dba0b8be40ac3bbb228234abb10bfb45ce5
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
4e0f168e3d62fd6d594c4015f2f3da4449fcbf19 31-Aug-2012 Benoit Goby <benoit@android.com> hwc: Fix booting with hdmi attached

Change-Id: Ie487ac413ec77b7a17c943ae51f854b0c67365e7
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
ad4e3589e43660981c09755f0535c393e31cef35 31-Aug-2012 Benoit Goby <benoit@android.com> hwc: Disable hdmi on blank

Change-Id: Ida919c7097c8a4f1aae11e05f6cbbcaa3ffbbfd6
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
8bad7e324e05d7246e3ed4c331060628fe753392 16-Aug-2012 Benoit Goby <benoit@android.com> hwc: Add full screen video support on HDMI

Stream a 1x1 pixels image under the video, so that we have something
to stream while reconfiguring the gscaler.

Don't force framebuffer composition if we have a layer to display on
HDMI.

Change-Id: I466637868497c9fa17311c6242b1b50beea2df24
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
7bd58627f6422d26e4a1d053a84aba8835bff359 09-Aug-2012 Sanghee Kim <haya93@samsung.com> hwc: support drm video play back.

In case of drm video play back, GSC's destination buffer
should be allocateed from reserved memory using protected flag
in gralloc.
If src buffer is protected buffer, dst buffer should be same.

Change-Id: I5eb2a698f2ca404a585c436d6536462580ca4ba6
Signed-off-by: Sanghee Kim <haya93@samsung.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
600867e7481266f7e3f227da275f544d3ff7d72a 23-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: implement dump() with last configuration accepted by fb driver

Change-Id: I592af8403d98a0d1a1907c44f7aa784e58a222b9
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
c853be7b9977a6a0402bd5a65c0c32ac9e2fde1d 23-Aug-2012 Rebecca Schultz Zavin <rebecca@android.com> Disambiguate framework formats from exynos formats

Previously exynos hal code was using the framework definitions
of YV12 and NV21 to describe custom exynos formats that are
similar but not the same. This patch defines new formats that
describe the custom formats that should be used instead.

Change-Id: I05f5c07d4ab77ef614c765f51fb7254b47005f79
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
da5a71d42af7add8e6ab5c56cf31e5dc89a80f6c 21-Aug-2012 Jesse Hall <jessehall@google.com> Update for cleanups in hwc interface

Change-Id: I8f43423df620bdeb1f7dd0a61d0222bf0c54f204
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
0fbe1706499c5d1c48b3c97669be79c5e6213cef 22-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: fix set() with zero layers

Initialization for the post callback should not be skipped, since set()
requires eglSwapBuffers() to be called even when there are zero layers

Change-Id: I624ef55e73b389aadf3516a6d2c541d67d398333
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
eba34a93004e81973d22d7523a0edf3eb79b8445 15-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: use vstride to determine gscaler support

Vertical stride was not exposed before, so height was used as a
pessimistic proxy.

Change-Id: I6b6aabbc45186905c7434fd1928a622cb126cc9a
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
2ddbc743328b3f4367599e8802934efcaa5e265d 18-Aug-2012 Greg Hackmann <ghackmann@google.com> HACK: hwc: reserve gscalers 1 & 2 for camera

Change-Id: Ie278cfa6dbd53f6776297727f41b5ee7c8dcf47b
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
77cbbd6fb8086c0e9f39781fcb883d5e5693f84d 18-Aug-2012 Greg Hackmann <ghackmann@google.com> Revert "HACK: hwc: reserve gscaler 2 for camera"

This reverts commit 49e5108eb6444e15edb323b957af9ae36c3e03b5.
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
90219f32a19cfaa1c24673452e9f33cccc092e21 17-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: fix source crop when using gscaler m2m

The source image has already been scaled and cropped, so adjust the
source crop accordingly

Change-Id: Ife09a8eecb4e20c60a8e8ef54164e1a14c5a2718
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
1cf195be9d313c1696a8617646bb1b3327dc4592 16-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: remove SKIP_LAYER check when reserving windows

Fixes a case where the HWC does not skip a window to hold the
framebuffer, causing one of the other overlays to vanish.

Change-Id: I8f48547b145162a523a624d59b4d166cea2e0df7
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
93cc5e7a6186155981ac10e8809de957d2fc1595 03-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: support blending

Also remove support for RGBA-4444 surfaces, since the blending hardware
must be configured with the same alpha width across all windows

Change-Id: I0b011d309e760c52355a2d3e20828cc74640c4c4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
d6bb7cef6f2325e7703704b3acbec99df2b6d381 10-Aug-2012 Benoit Goby <benoit@android.com> hwc: read hdmi resolution to properly configure gscaler

Change-Id: I3fb7741b3e51834206ee67ca3914bcaacad667b1
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
296668ec39f8e30a0aa652f6a99ebfd522fda864 15-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: fix colors on YCrCb surfaces

Change-Id: Iafabe17735811fe815ad80ae1c145e1e75b63ca4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
e94046d91136bbb2654ae197dc1782b7f11275d0 31-Jul-2012 Jesse Hall <jessehall@google.com> Minimal changes to support multi-display HWC

Change-Id: I8d95065f70c18356672cb3f3e5151d38408d09c0
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
227ae8aef6c88f5321dad4aeed230c43a39594ca 04-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: enforce gscaler limitations on scaling factor

Change-Id: I1e21da41883ba7c3d28c5ca73e288cd75ca8381c
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a00c043512babb1d6f48a0a505f30b906fac8066 01-Aug-2012 Greg Hackmann <ghackmann@google.com> hwc: set gscaler output to BGR32

Fixes swapped R/B colors on display

Change-Id: I030a653325ac1045efb13b07bb330a024317e994
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
b6e1fa0e07a63d8ec27f5dd197d2ecdee1326b76 31-Jul-2012 Jesse Hall <jessehall@google.com> Revert "Minimal changes to support multi-display HWC"

This reverts commit 57e4cb51f6a24378203e490888a3190cd744a264

Change-Id: Idc2e21c1e51f657284076a44b139f93431dc2772
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
49e5108eb6444e15edb323b957af9ae36c3e03b5 31-Jul-2012 Greg Hackmann <ghackmann@google.com> HACK: hwc: reserve gscaler 2 for camera

Change-Id: Ic4a2e430849431212322d2cf6c1ae0cf588186c3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
57e4cb51f6a24378203e490888a3190cd744a264 26-Jul-2012 Jesse Hall <jessehall@google.com> Minimal changes to support multi-display HWC

Change-Id: I05e56d287a658f1174104b81e1b5ee0b33944555
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
9130e706ff8bf69346d557aabc48080bee4be5cb 30-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: enable gscaler memory-to-memory

Performs color conversion, scaling, and translation for YUV surfaces.
To prevent allocating a new destination buffer every frame, buffers are
reused in alternate frames whenever the configuration in unchanged.

Change-Id: I9a9c1e64a6ffe156ed111265d7e44d9dac8cbdf3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
d82ad20ecb7f5873d2e743faac5211b953ed77c4 24-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: skip layers flagged with HWC_SKIP_LAYER

Change-Id: Ibaab3b002ee2e891a8fa8c43b88b06059d1e2a38
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
fbeb8534d8bbb60d39f9e62e3876c4b2da810972 26-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: fix reading vsync timestamps from sysfs

Per the recipe in kernel commit
4508a7a734b111b8b7e39986237d84acb1168dd0. Prevents a vsync timestamp
being delivered to SurfaceFlinger before it requests them.

Change-Id: I2185594c1d15ee13ff3f78779140e7655153b540
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
3777bbf2b00594bbc0823a78666445ddd0e89dc6 25-Jul-2012 Erik Gilling <konkers@android.com> hwc: remove include of unused ump.h

Change-Id: Ieadb77625be534795a3e8f9d01403bcd17a795e3
Signed-off-by: Erik Gilling <konkers@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a8b0b07d250370ddc8291b5853325693959b6861 26-Jun-2012 Rebecca Schultz Zavin <rebecca@android.com> Switch to dma_buf based gralloc

Change-Id: Id804e26df5d60a174bb3f83f997d0d015459f1b0
Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
2972485a91007a12d3ad1c6057601ccbf15f01ef 24-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: read vsync timestamps from sysfs

Change-Id: Ife094105b247f4cfd2edb148a1914c50f62873b4
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
3464b1dd35ad9c49f797e069922f22a788a8b440 24-Jul-2012 Greg Hackmann <ghackmann@google.com> Revert "hwc: read vsync timestamps from sysfs"

This reverts commit 34a653d2b78534ee5370a768eda9cad94c41b974.
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
34a653d2b78534ee5370a768eda9cad94c41b974 24-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: read vsync timestamps from sysfs

Change-Id: Ia360211a8b944c362f9d564abac91c363cef49fb
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
f6f2e546404d3fe17781ef7a13b29691f3025f42 17-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: fix formatting

Change-Id: I979a05d909528239c19cffcc8c0b419fbc0ac3fe
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
31991d5b23d9099b66a73fea7fc5cc9b05ff26a6 13-Jul-2012 Greg Hackmann <ghackmann@google.com> hwc: enable overlay support for all hardware windows

Change-Id: Ic154afc5e955275468f228a6a0a0f4cf02b99034
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
00359a8853031c94e4f7d5c8d79a44917de9842f 13-Jul-2012 Colin Cross <ccross@android.com> exynos5 hwc: add blank operation

Add a blank operation that will trigger the framebuffer blanking ioctl
when surfaceflinger blanks or unblanks the screen.

Change-Id: I4451317d882523ffaac39d107cfb5b5cad8b1bfa
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
a3e4958eff4f80139e68c334fe159f523011f4df 11-Jul-2012 Benoit Goby <benoit@android.com> libhwc: The gscaler -> mixer local output only supports YCbCr

Change-Id: I4e74b74b3b12fdcae2a1e0cd2b471e9d85c6b01a
Signed-off-by: Benoit Goby <benoit@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
cdd61b35ae02e1fe761815ad9bd166db4098ece2 09-Jul-2012 Benoit Goby <benoit@android.com> libhwc: Add support for hdmi mirroring

Change-Id: If9ff86c113e14cc62e74daeea957f3c3ee84604f
Signed-off-by: Benoit Goby <benoit@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
87e707ef7564de37b526a13f030e3c41673dd9c9 30-Jun-2012 Erik Gilling <konkers@android.com> hwc: update to api version 1

Adds proper handling of sync fences. Copies layer data on set() instead of
passing pointers to the callback.

Change-Id: I3149ca62836c157939712e69a630f69841f585a4
Signed-off-by: Erik Gilling <konkers@android.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
69fbbcf4ee9e10a6406a47d04cab2d297a4f434b 27-Jun-2012 Greg Hackmann <ghackmann@google.com> hwc: enable overlay support for 2 hardware windows

Change-Id: I71c61bc99f7f2eddf3f04dd7acfae25e32ad6c01
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
853a7f886465b773586c9ec4a8c6f07684ddf160 27-Jun-2012 Greg Hackmann <ghackmann@google.com> hwc: fix handling excessive overlays

Specifically, reserve a framebuffer window when all layers are otherwise
composable, but there aren't enough hardware windows to hold them

Change-Id: I37e776fe98fedb6b97e8af68ea869dc7517ac5b3
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
8a249a36470f71be0cb30ac3c137297ed1847436 27-Jun-2012 Greg Hackmann <ghackmann@google.com> hwc: update s3c-fb.h

RGB_888 is actually RGBX_8888 (display controller requires padding), BGR
modes are not supported, and background layers require position + size

Change-Id: I2d80bbb95ef236f0859c3381aa2d6830615cb236
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
f4cc0c30da5158aba393c5b3b566ad6f210072fc 30-May-2012 Greg Hackmann <ghackmann@google.com> hwc: implement sync support

Change-Id: I8e16a70c73207a365f7a6e1c7cd2e02c2822dad6
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp
86eb1c67dc9654aed754b3a74a0839a2a7c2f939 30-May-2012 Greg Hackmann <ghackmann@google.com> hwc: implement hwcomposer HAL

This is a preliminary implementation which uses the proper ioctls to
talk to the display controller, but currently places every layer in a
framebuffer.

Change-Id: I2847d3ed69e348c763ad974b2f0ab8133dd5d6cc
Signed-off-by: Greg Hackmann <ghackmann@google.com>
/hardware/samsung_slsi/exynos5/libhwc/hwc.cpp