<feed xmlns='http://www.w3.org/2005/Atom'>
<title>platform_external_minigbm/vc4.c, branch master</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>minigbm: vc4: Fix error log for DRM_IOCTL_VC4_CREATE_BO</title>
<updated>2020-07-27T22:24:20+00:00</updated>
<author>
<name>Ewan Roycroft</name>
<email>ewan.roycroft@bbc.co.uk</email>
</author>
<published>2020-07-23T15:08:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=65467ea25255106b579ba07d530ff06e75175aad'/>
<id>65467ea25255106b579ba07d530ff06e75175aad</id>
<content type='text'>
An ioctl call is made to DRM_IOCTL_VC4_CREATE_BO. On error, it
incorrectly reports that DRM_IOCTL_VC4_GEM_CREATE has failed. This fixes
the log message.

Change-Id: I1b817dba1feae370f5fecfd756595c436cc6d6c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2316159
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Ewan Roycroft &lt;ewan.roycroft@bbc.co.uk&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Commit-Queue: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An ioctl call is made to DRM_IOCTL_VC4_CREATE_BO. On error, it
incorrectly reports that DRM_IOCTL_VC4_GEM_CREATE has failed. This fixes
the log message.

Change-Id: I1b817dba1feae370f5fecfd756595c436cc6d6c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2316159
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Ewan Roycroft &lt;ewan.roycroft@bbc.co.uk&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Commit-Queue: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: vc4: add create_with_modifiers function</title>
<updated>2020-03-05T21:35:21+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2020-02-22T01:59:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=c5352e6b363e47e2f3ad6765ad95c94d4e9c7923'/>
<id>c5352e6b363e47e2f3ad6765ad95c94d4e9c7923</id>
<content type='text'>
Change-Id: Iedba297cbcf69e3c87165bd54fce316b75a7a530
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2068463
Reviewed-by: Ewan Roycroft &lt;ewan.roycroft@bbc.co.uk&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Commit-Queue: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iedba297cbcf69e3c87165bd54fce316b75a7a530
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2068463
Reviewed-by: Ewan Roycroft &lt;ewan.roycroft@bbc.co.uk&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Commit-Queue: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: factor out metadata from struct bo</title>
<updated>2019-09-24T17:23:42+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2019-09-19T16:55:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=298b7579139a5693096c00b794302df47f1bee6c'/>
<id>298b7579139a5693096c00b794302df47f1bee6c</id>
<content type='text'>
Generated using coccinelle:

@@
struct bo *B;
@@

- B-&gt;width
+ B-&gt;width

BUG=chromium:924405
TEST=compile

Change-Id: I4da1731a650d198ce7f2bda3031a47b2f9c3041c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/1815566
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Legacy-Commit-Queue: Commit Bot &lt;commit-bot@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Generated using coccinelle:

@@
struct bo *B;
@@

- B-&gt;width
+ B-&gt;width

BUG=chromium:924405
TEST=compile

Change-Id: I4da1731a650d198ce7f2bda3031a47b2f9c3041c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/1815566
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Legacy-Commit-Queue: Commit Bot &lt;commit-bot@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: Fix consistency in return values</title>
<updated>2019-03-26T11:43:19+00:00</updated>
<author>
<name>Stéphane Marchesin</name>
<email>marcheu@chromium.org</email>
</author>
<published>2019-03-21T19:23:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=6ac299f3d3fe2220a73442372616496dc97b652a'/>
<id>6ac299f3d3fe2220a73442372616496dc97b652a</id>
<content type='text'>
minigbm functions don't use errno; however drmIoctl does. So we need
to return -errno instead of returning exactly what drmIoctl returns.

BUG=none
TEST=builds

Change-Id: I20e00141782ac1407133ee72259fe43381954d26
Reviewed-on: https://chromium-review.googlesource.com/1534878
Commit-Ready: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Tested-by: Stéphane Marchesin &lt;marcheu@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>
minigbm functions don't use errno; however drmIoctl does. So we need
to return -errno instead of returning exactly what drmIoctl returns.

BUG=none
TEST=builds

Change-Id: I20e00141782ac1407133ee72259fe43381954d26
Reviewed-on: https://chromium-review.googlesource.com/1534878
Commit-Ready: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Tested-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: Enable vc4 driver</title>
<updated>2018-04-03T03:12:49+00:00</updated>
<author>
<name>Jeremy Grosser</name>
<email>jeremy@synack.me</email>
</author>
<published>2018-03-30T08:19:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=7cfcc285d943c7c9f33ad949922e370ede98ed50'/>
<id>7cfcc285d943c7c9f33ad949922e370ede98ed50</id>
<content type='text'>
BUG=None
TEST=graphics_Gbm on target board

Change-Id: Id92466354e644f9237f8c19aebd0534c1b23bbc0
Reviewed-on: https://chromium-review.googlesource.com/989301
Commit-Ready: Jeremy Grosser &lt;jeremy@synack.me&gt;
Tested-by: Jeremy Grosser &lt;jeremy@synack.me&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG=None
TEST=graphics_Gbm on target board

Change-Id: Id92466354e644f9237f8c19aebd0534c1b23bbc0
Reviewed-on: https://chromium-review.googlesource.com/989301
Commit-Ready: Jeremy Grosser &lt;jeremy@synack.me&gt;
Tested-by: Jeremy Grosser &lt;jeremy@synack.me&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Android log system in helpers.c.</title>
<updated>2018-03-22T06:23:37+00:00</updated>
<author>
<name>Alistair Strachan</name>
<email>astrachan@google.com</email>
</author>
<published>2018-03-19T21:03:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=0cfaaa5adb3e973a9ce5453b55a3177e3962c158'/>
<id>0cfaaa5adb3e973a9ce5453b55a3177e3962c158</id>
<content type='text'>
This code might be loaded by a daemonized process now, so the existing
logging to stderr goes nowhere. It's better to use the Android logger.

Change-Id: I19f088b8f049f07c9c6839038d2971fad1a0e852
Reviewed-on: https://chromium-review.googlesource.com/971360
Commit-Ready: Alistair Strachan &lt;astrachan@google.com&gt;
Tested-by: Alistair Strachan &lt;astrachan@google.com&gt;
Reviewed-by: Alistair Strachan &lt;astrachan@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>
This code might be loaded by a daemonized process now, so the existing
logging to stderr goes nowhere. It's better to use the Android logger.

Change-Id: I19f088b8f049f07c9c6839038d2971fad1a0e852
Reviewed-on: https://chromium-review.googlesource.com/971360
Commit-Ready: Alistair Strachan &lt;astrachan@google.com&gt;
Tested-by: Alistair Strachan &lt;astrachan@google.com&gt;
Reviewed-by: Alistair Strachan &lt;astrachan@google.com&gt;
Reviewed-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: make drv_add_combinations return nothing</title>
<updated>2017-11-16T21:52:02+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2017-11-04T00:18:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=d300145b093cf67277648a664d3748b881d4a315'/>
<id>d300145b093cf67277648a664d3748b881d4a315</id>
<content type='text'>
Two reasons for this:

	1) We can use drv_array for driver combinations (see next patch)
	2) It's less verbose.

BUG=chromium:764871
TEST=gbmtest passes

Change-Id: I39bea6e2e9e4c76d2ca78566926a79bdc17f11d0
Reviewed-on: https://chromium-review.googlesource.com/758148
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two reasons for this:

	1) We can use drv_array for driver combinations (see next patch)
	2) It's less verbose.

BUG=chromium:764871
TEST=gbmtest passes

Change-Id: I39bea6e2e9e4c76d2ca78566926a79bdc17f11d0
Reviewed-on: https://chromium-review.googlesource.com/758148
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: use struct vma for (*bo_map)/(*bo_unmap) callbacks</title>
<updated>2017-11-16T18:46:57+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2017-11-15T02:20:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=ee43c301c21976fb82538261c4e4288ffc754777'/>
<id>ee43c301c21976fb82538261c4e4288ffc754777</id>
<content type='text'>
This sets better expectations for what we expect from the
backends.

BUG=chromium:764871
TEST=mmap_test

Change-Id: I7fb815b58fae8e9fbd73bf7c0263c7db44488844
Reviewed-on: https://chromium-review.googlesource.com/770519
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Joe Kniss &lt;djmk@google.com&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This sets better expectations for what we expect from the
backends.

BUG=chromium:764871
TEST=mmap_test

Change-Id: I7fb815b58fae8e9fbd73bf7c0263c7db44488844
Reviewed-on: https://chromium-review.googlesource.com/770519
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Joe Kniss &lt;djmk@google.com&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: refactor and rename mapping struct</title>
<updated>2017-11-09T06:21:56+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2017-11-02T21:07:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=47e629b70ddec014c7691a48509ef437c57761bb'/>
<id>47e629b70ddec014c7691a48509ef437c57761bb</id>
<content type='text'>
Since some drivers (AMDGPU, Tegra) may have to do expensive tiling
and detiling operations, we should try to take advantage of the
access regions passed in by gralloc and gbm. Let's refactor struct
map_data so we can separate the actual mapping and access region.

Here is the Coccinelle rule used in this change:

@@ struct map_info *M; @@
-   (M)
+   M-&gt;vma

In addition, struct map_data was also renamed to struct mapping.

BUG=chromium:764871
TEST= mmap_test -g on Kevin

Change-Id: Idb094aa3b5f81e45ce3a2f4fb2d9bf8fba32bf29
Reviewed-on: https://chromium-review.googlesource.com/758144
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Joe Kniss &lt;djmk@google.com&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since some drivers (AMDGPU, Tegra) may have to do expensive tiling
and detiling operations, we should try to take advantage of the
access regions passed in by gralloc and gbm. Let's refactor struct
map_data so we can separate the actual mapping and access region.

Here is the Coccinelle rule used in this change:

@@ struct map_info *M; @@
-   (M)
+   M-&gt;vma

In addition, struct map_data was also renamed to struct mapping.

BUG=chromium:764871
TEST= mmap_test -g on Kevin

Change-Id: Idb094aa3b5f81e45ce3a2f4fb2d9bf8fba32bf29
Reviewed-on: https://chromium-review.googlesource.com/758144
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Joe Kniss &lt;djmk@google.com&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>minigbm: re-const-ify driver backends</title>
<updated>2017-11-08T23:10:09+00:00</updated>
<author>
<name>Gurchetan Singh</name>
<email>gurchetansingh@chromium.org</email>
</author>
<published>2017-10-31T17:36:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/AOSP/platform_external_minigbm/commit/?id=3e9d3830dce97cb0146b9f6e0f4942253f39ca69'/>
<id>3e9d3830dce97cb0146b9f6e0f4942253f39ca69</id>
<content type='text'>
minigbm driver creation needs to be re-entrant (see CL:674528). Let's
re-constify to make this behavior explicit.

BUG=none
TEST=emerge-eve {minigbm, arc-cros-gralloc}

Change-Id: I037966199d4aa6de60432127e10fea1fb602694b
Reviewed-on: https://chromium-review.googlesource.com/758142
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
minigbm driver creation needs to be re-entrant (see CL:674528). Let's
re-constify to make this behavior explicit.

BUG=none
TEST=emerge-eve {minigbm, arc-cros-gralloc}

Change-Id: I037966199d4aa6de60432127e10fea1fb602694b
Reviewed-on: https://chromium-review.googlesource.com/758142
Commit-Ready: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Tested-by: Gurchetan Singh &lt;gurchetansingh@chromium.org&gt;
Reviewed-by: Stéphane Marchesin &lt;marcheu@chromium.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
