<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_minigbm, branch o-iot-preview-5</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/'/>
<entry>
<title>Merge remote-tracking branch 'aosp/upstream-master' into HEAD</title>
<updated>2017-06-13T02:26:20+00:00</updated>
<author>
<name>Casey Dahlin</name>
<email>sadmac@google.com</email>
</author>
<published>2017-06-13T02:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=721abfd9a63126da3ae33af0a038a9dbd9cc54f4'/>
<id>721abfd9a63126da3ae33af0a038a9dbd9cc54f4</id>
<content type='text'>
Test: None
Bug: 37224300
Change-Id: Ie84cf493bacb6afe0eb1e647cb8d1b20fe92edd0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test: None
Bug: 37224300
Change-Id: Ie84cf493bacb6afe0eb1e647cb8d1b20fe92edd0
</pre>
</div>
</content>
</entry>
<entry>
<title>Initial empty repository</title>
<updated>2017-06-08T18:59:40+00:00</updated>
<author>
<name>kuantung</name>
<email>kuantung@google.com</email>
</author>
<published>2017-06-08T18:59:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=69c8992400c0ca2ef737635f8c3d4c2bfd508da4'/>
<id>69c8992400c0ca2ef737635f8c3d4c2bfd508da4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: amdgpu: enable handling of NV12 &amp; NV21 format</title>
<updated>2017-06-05T20:01:47+00:00</updated>
<author>
<name>Shirish S</name>
<email>shirish.s@amd.com</email>
</author>
<published>2017-04-18T10:51:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=df423df7f8f0c1a49fa8f0e5c9f67ee1527e2d3b'/>
<id>df423df7f8f0c1a49fa8f0e5c9f67ee1527e2d3b</id>
<content type='text'>
This patch does the below:
1. Adds DRM_FORMAT_NV12 &amp; DRM_FORMAT_NV21
   to the list of formats supported by amdgpu driver
2. bo_create() updates parameter's of video planes
   appropriately.
3. add DRM_FORMAT_NV21 in drv.c &amp; helpers.c

This patch is a step towards enabling overlay based video rendering
capability available in hardware.

BUG=b:37526302
TEST=emerge-kahlee media-libs/minigbm
TEST=Boots to UI on jadeite &amp; kahlee
TEST=With all the changes in kernel(not upstreamed) execute below:
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 500x500
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 1280x720
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 1366x768
     plane_test --format AR24 --size 500x50 -p --format NV21 --size 1366x768
TEST=displays same colored layers on video and RGB plane.

Change-Id: If75a4586b636b600a5b4b2d909f10bcf03613cc2
Signed-off-by: Shirish S &lt;shirish.s@amd.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/479043
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch does the below:
1. Adds DRM_FORMAT_NV12 &amp; DRM_FORMAT_NV21
   to the list of formats supported by amdgpu driver
2. bo_create() updates parameter's of video planes
   appropriately.
3. add DRM_FORMAT_NV21 in drv.c &amp; helpers.c

This patch is a step towards enabling overlay based video rendering
capability available in hardware.

BUG=b:37526302
TEST=emerge-kahlee media-libs/minigbm
TEST=Boots to UI on jadeite &amp; kahlee
TEST=With all the changes in kernel(not upstreamed) execute below:
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 500x500
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 1280x720
     plane_test --format AR24 --size 500x50 -p --format NV12 --size 1366x768
     plane_test --format AR24 --size 500x50 -p --format NV21 --size 1366x768
TEST=displays same colored layers on video and RGB plane.

Change-Id: If75a4586b636b600a5b4b2d909f10bcf03613cc2
Signed-off-by: Shirish S &lt;shirish.s@amd.com&gt;
Reviewed-on: https://chromium-review.googlesource.com/479043
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: cros_gralloc: fix incorrect handle calculations</title>
<updated>2017-05-31T09:15:28+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@google.com</email>
</author>
<published>2017-05-26T17:04:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=989873c44c6dff1a28b10e4c0dfb13d3e3defaa9'/>
<id>989873c44c6dff1a28b10e4c0dfb13d3e3defaa9</id>
<content type='text'>
We were including native handle size in our numInts calculations.
Fix this.

BUG=b:62060380
TEST=gralloc related ASAN errors go away

Change-Id: I9ae66655f9e40d82a9cd3fe91ddca9f300fda911
Reviewed-on: https://chromium-review.googlesource.com/517279
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Dominik Behr &lt;dbehr@chromium.org&gt;
Reviewed-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were including native handle size in our numInts calculations.
Fix this.

BUG=b:62060380
TEST=gralloc related ASAN errors go away

Change-Id: I9ae66655f9e40d82a9cd3fe91ddca9f300fda911
Reviewed-on: https://chromium-review.googlesource.com/517279
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Dominik Behr &lt;dbehr@chromium.org&gt;
Reviewed-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: remove BO_USE_RENDERING from certain formats</title>
<updated>2017-05-24T06:59:12+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@google.com</email>
</author>
<published>2017-05-15T16:34:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=8ac0c9a9550bd1fa57e49613fae45df9001f74fc'/>
<id>8ac0c9a9550bd1fa57e49613fae45df9001f74fc</id>
<content type='text'>
We can't use GR88, R8, YV12, NV12, UYVY, YUYV buffers as render
targets, so let's remove the BO_USE_RENDERING flag from these
formats. However, we can sample from these formats (though this
feature still needs to be enabled in our drivers), so the
BO_USE_TEXTURE flag remains set.

Also, change our interpretation of the GRALLOC_USAGE_HW_COMPOSER
flag such that it implies BO_USE_SCANOUT | BO_USE_TEXTURE. This
is because the OpenGL fallback textures from the buffer if
can't be scanned-out, not renders to it.

BUG=none
TEST=run Youtube app on Kevin

Change-Id: I9ea8452279e110bc1a9579f162abe1c72192eb40
Reviewed-on: https://chromium-review.googlesource.com/506812
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can't use GR88, R8, YV12, NV12, UYVY, YUYV buffers as render
targets, so let's remove the BO_USE_RENDERING flag from these
formats. However, we can sample from these formats (though this
feature still needs to be enabled in our drivers), so the
BO_USE_TEXTURE flag remains set.

Also, change our interpretation of the GRALLOC_USAGE_HW_COMPOSER
flag such that it implies BO_USE_SCANOUT | BO_USE_TEXTURE. This
is because the OpenGL fallback textures from the buffer if
can't be scanned-out, not renders to it.

BUG=none
TEST=run Youtube app on Kevin

Change-Id: I9ea8452279e110bc1a9579f162abe1c72192eb40
Reviewed-on: https://chromium-review.googlesource.com/506812
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: cros_gralloc: Do not lock gralloc_close</title>
<updated>2017-05-21T03:47:11+00:00</updated>
<author>
<name>Daniel Kurtz</name>
<email>djkurtz@chromium.org</email>
</author>
<published>2017-05-12T11:20:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=de558ae8a22cbd6c0b25691b56c6fd4884ec3ac5'/>
<id>de558ae8a22cbd6c0b25691b56c6fd4884ec3ac5</id>
<content type='text'>
cros_gralloc implements Gralloc Module API 0.2.  Android framework's
libui uses a Gralloc1On0Adapter adapter on top of gralloc modules &lt; 1.0.

The Gralloc1On0Adapter is a singleton object that calls gralloc_close in
its destructor.  cros_gralloc implements gralloc_close() as
cros_gralloc_close().

In other words cros_gralloc_close() is called at process exit during
__cxa_finalize, which is not a safe place to do std::mutex operations.
In fact, the lock_guard() sometimes hangs while trying to aquire the
lock resulting in a non-responsive app.

Fix this by removing the lock_guard in cros_gralloc_close().

Signed-off-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;

BUG=b/38016927
TEST=Use cherry to run 1 dEQP test.
 =&gt; No anr crash after 30 seconds in com.drawelements.deqp:testercore

Change-Id: I469516b8b3a7d8ac6b89e571f137935f097c9af9
Reviewed-on: https://chromium-review.googlesource.com/504429
Commit-Ready: Ilja H. Friedel &lt;ihf@chromium.org&gt;
Tested-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cros_gralloc implements Gralloc Module API 0.2.  Android framework's
libui uses a Gralloc1On0Adapter adapter on top of gralloc modules &lt; 1.0.

The Gralloc1On0Adapter is a singleton object that calls gralloc_close in
its destructor.  cros_gralloc implements gralloc_close() as
cros_gralloc_close().

In other words cros_gralloc_close() is called at process exit during
__cxa_finalize, which is not a safe place to do std::mutex operations.
In fact, the lock_guard() sometimes hangs while trying to aquire the
lock resulting in a non-responsive app.

Fix this by removing the lock_guard in cros_gralloc_close().

Signed-off-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;

BUG=b/38016927
TEST=Use cherry to run 1 dEQP test.
 =&gt; No anr crash after 30 seconds in com.drawelements.deqp:testercore

Change-Id: I469516b8b3a7d8ac6b89e571f137935f097c9af9
Reviewed-on: https://chromium-review.googlesource.com/504429
Commit-Ready: Ilja H. Friedel &lt;ihf@chromium.org&gt;
Tested-by: Daniel Kurtz &lt;djkurtz@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: fix typo in PRESUBMIT.cfg</title>
<updated>2017-05-20T10:55:21+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@google.com</email>
</author>
<published>2017-05-15T21:33:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=cb1471bc69300f5203aa79b179a861c56c5c569f'/>
<id>cb1471bc69300f5203aa79b179a861c56c5c569f</id>
<content type='text'>
Now clang-format will be run everytime a committer runs repo upload
with the --no-verify option. The committer will have to resolve
differences, i.e:

1) add clang-format off / clang-format on.
2) change files such that clang-format does not complain.

Since our version of clang-format was updated (in the LLVM ebuild), I had to
resolve a few conflicts in rockchip.c and tegra.c.

BUG=none
TEST=none

Change-Id: Ia32d3c47243957f2d674f142bda9daf7917aab0b
Reviewed-on: https://chromium-review.googlesource.com/506508
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now clang-format will be run everytime a committer runs repo upload
with the --no-verify option. The committer will have to resolve
differences, i.e:

1) add clang-format off / clang-format on.
2) change files such that clang-format does not complain.

Since our version of clang-format was updated (in the LLVM ebuild), I had to
resolve a few conflicts in rockchip.c and tegra.c.

BUG=none
TEST=none

Change-Id: Ia32d3c47243957f2d674f142bda9daf7917aab0b
Reviewed-on: https://chromium-review.googlesource.com/506508
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: cros_gralloc: Use pkg-config for LIBS</title>
<updated>2017-05-19T20:57:42+00:00</updated>
<author>
<name>Tomasz Figa</name>
<email>tfiga@chromium.org</email>
</author>
<published>2017-05-09T14:07:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=51de1f529fe40254cabab671b99be2e9d9630bd5'/>
<id>51de1f529fe40254cabab671b99be2e9d9630bd5</id>
<content type='text'>
This changes the Makefile to use pkg-config to query for necessary
library paths and names instead of hardcoding -ldrm.

BUG=b:36540057
TEST=emerge-reef arc-cros-gralloc with multilib patches
CQ-DEPEND=CL:505794

Change-Id: Id223203506d71b3966e9730f92badb461eb6cb1b
Reviewed-on: https://chromium-review.googlesource.com/499971
Commit-Ready: Tomasz Figa &lt;tfiga@chromium.org&gt;
Tested-by: Tomasz Figa &lt;tfiga@chromium.org&gt;
Reviewed-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Reviewed-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This changes the Makefile to use pkg-config to query for necessary
library paths and names instead of hardcoding -ldrm.

BUG=b:36540057
TEST=emerge-reef arc-cros-gralloc with multilib patches
CQ-DEPEND=CL:505794

Change-Id: Id223203506d71b3966e9730f92badb461eb6cb1b
Reviewed-on: https://chromium-review.googlesource.com/499971
Commit-Ready: Tomasz Figa &lt;tfiga@chromium.org&gt;
Tested-by: Tomasz Figa &lt;tfiga@chromium.org&gt;
Reviewed-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Reviewed-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: cros_gralloc: Use pkg-config</title>
<updated>2017-05-08T19:40:51+00:00</updated>
<author>
<name>Luis Hector Chavez</name>
<email>lhchavez@google.com</email>
</author>
<published>2017-05-03T22:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=5272e812b594d10232826c4bded9c6ad7d77469a'/>
<id>5272e812b594d10232826c4bded9c6ad7d77469a</id>
<content type='text'>
This change uses pkg-config to find the libdrm headers instead of
relying on the arc-toolchain sysroot.

BUG=b:26864637
TEST=reef compiles, surfaceflinger is happy
CQ-DEPEND=CL:494886

Change-Id: Ic6142424ff5593ab5552dd61b8ae4b7dc38497fc
Reviewed-on: https://chromium-review.googlesource.com/495267
Commit-Ready: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Tested-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This change uses pkg-config to find the libdrm headers instead of
relying on the arc-toolchain sysroot.

BUG=b:26864637
TEST=reef compiles, surfaceflinger is happy
CQ-DEPEND=CL:494886

Change-Id: Ic6142424ff5593ab5552dd61b8ae4b7dc38497fc
Reviewed-on: https://chromium-review.googlesource.com/495267
Commit-Ready: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Tested-by: Luis Hector Chavez &lt;lhchavez@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add HAL_PIXEL_FORMAT_BLOB format in cros gralloc</title>
<updated>2017-05-03T05:50:31+00:00</updated>
<author>
<name>Heng-Ruey Hsu</name>
<email>henryhsu@chromium.org</email>
</author>
<published>2017-04-27T03:33:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=f4b7b8da0da92291007d5b14097992f23420b98d'/>
<id>f4b7b8da0da92291007d5b14097992f23420b98d</id>
<content type='text'>
We convert HAL_PIXEL_FORMAT_BLOB to DRM_FORMAT_R8 for camera picture
taking. Choose DRM_FORMAT_R8 because &lt;system/graphics.h&gt; requires the
buffers with a format HAL_PIXEL_FORMAT_BLOB have a height of 1, and
width equal to their size in bytes.

BUG=b:37692495
TEST=open camera app and take a picture.

Change-Id: I11a82b057b7c1174dd946e0b7d3cbde9c1d630d9
Reviewed-on: https://chromium-review.googlesource.com/487552
Commit-Ready: Heng-ruey Hsu &lt;henryhsu@google.com&gt;
Tested-by: Heng-ruey Hsu &lt;henryhsu@google.com&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We convert HAL_PIXEL_FORMAT_BLOB to DRM_FORMAT_R8 for camera picture
taking. Choose DRM_FORMAT_R8 because &lt;system/graphics.h&gt; requires the
buffers with a format HAL_PIXEL_FORMAT_BLOB have a height of 1, and
width equal to their size in bytes.

BUG=b:37692495
TEST=open camera app and take a picture.

Change-Id: I11a82b057b7c1174dd946e0b7d3cbde9c1d630d9
Reviewed-on: https://chromium-review.googlesource.com/487552
Commit-Ready: Heng-ruey Hsu &lt;henryhsu@google.com&gt;
Tested-by: Heng-ruey Hsu &lt;henryhsu@google.com&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
