<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/gbm, branch replicant-6.0</title>
<subtitle>external/mesa3d
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/'/>
<entry>
<title>gbm: request correct version of the DRI2_FENCE extension</title>
<updated>2016-11-24T16:34:42+00:00</updated>
<author>
<name>Lucas Stach</name>
<email>l.stach@pengutronix.de</email>
</author>
<published>2016-11-22T10:12:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=c10e1fb4408317c15886c0dadc80d7dce7ab23ff'/>
<id>c10e1fb4408317c15886c0dadc80d7dce7ab23ff</id>
<content type='text'>
There is no version 2 of the DRI2_FENCE extension. So only a request
for version 1 has a chance to succeed.

Fixes: 74b1969d717f (gbm: wire up fence extension)
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
(cherry picked from commit d9a3ad94cac34c51603660af6647290d238f64bc)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is no version 2 of the DRI2_FENCE extension. So only a request
for version 1 has a chance to succeed.

Fixes: 74b1969d717f (gbm: wire up fence extension)
Cc: "13.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Lucas Stach &lt;l.stach@pengutronix.de&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
(cherry picked from commit d9a3ad94cac34c51603660af6647290d238f64bc)
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: remove loader_get_driver_for_fd() driver_type</title>
<updated>2016-10-18T16:06:29+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-12T16:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=af7abc512c422183a761ce3d687086abe282fa74'/>
<id>af7abc512c422183a761ce3d687086abe282fa74</id>
<content type='text'>
Reminiscent from the pre-loader days, were we had multiple instances of
the loader logic in separate places and one could build a "GALLIUM_ONLY"
version.

Since that is no longer the case and the loaders (glx/egl/gbm) do not
(and should not) require to know any classic/gallium specific we can
drop the argument and the related code.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reminiscent from the pre-loader days, were we had multiple instances of
the loader logic in separate places and one could build a "GALLIUM_ONLY"
version.

Since that is no longer the case and the loaders (glx/egl/gbm) do not
(and should not) require to know any classic/gallium specific we can
drop the argument and the related code.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: remove superfluous/incorrect udev comment</title>
<updated>2016-10-18T16:06:15+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T17:59:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=0607c5b1b051d32653f9ed91e109c08fbecfb4c1'/>
<id>0607c5b1b051d32653f9ed91e109c08fbecfb4c1</id>
<content type='text'>
The gbm_device_get_backend_name() provides an (somewhat) internal name
of the implementation/backend used. Is has nothing to do with the udev,
one cannot and should not attempt to derive the name from it.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The gbm_device_get_backend_name() provides an (somewhat) internal name
of the implementation/backend used. Is has nothing to do with the udev,
one cannot and should not attempt to derive the name from it.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
Reviewed-by: Nicolai Hähnle &lt;nicolai.haehnle@amd.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: add a couple missing includes</title>
<updated>2016-10-17T15:47:38+00:00</updated>
<author>
<name>Eric Engestrom</name>
<email>eric.engestrom@imgtec.com</email>
</author>
<published>2016-10-17T10:39:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=e9864f93c619a9e4c7c5c1eb40268e9241341d7d'/>
<id>e9864f93c619a9e4c7c5c1eb40268e9241341d7d</id>
<content type='text'>
Needed for memset() and drmIoctl().

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Edward O'Callaghan &lt;funfunctor@folklore1984.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Needed for memset() and drmIoctl().

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Edward O'Callaghan &lt;funfunctor@folklore1984.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: rename gbm_dri_device::{,loader_}extensions</title>
<updated>2016-10-14T11:45:54+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-08-24T23:42:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=d5342c6ff241419e287700e4c4e7c1043fd48ffc'/>
<id>d5342c6ff241419e287700e4c4e7c1043fd48ffc</id>
<content type='text'>
To align with the name used in the EGL and GLX loaders.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric@engestrom.ch&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To align with the name used in the EGL and GLX loaders.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Eric Engestrom &lt;eric@engestrom.ch&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: return appropriate error when queryImage() fails</title>
<updated>2016-09-27T12:37:21+00:00</updated>
<author>
<name>Nicholas Bishop</name>
<email>nbishop@neverware.com</email>
</author>
<published>2016-09-08T19:55:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=2d05ba2ca0af336ceae3167432d7df9df3366b74'/>
<id>2d05ba2ca0af336ceae3167432d7df9df3366b74</id>
<content type='text'>
Change gbm_dri_bo_get_fd to check the return value of queryImage and
return -1 (an invalid file descriptor) if an error occurs.

Update the comment for gbm_bo_get_fd to return -1, since (apart from the
above) we've already return -1 on error.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Nicholas Bishop &lt;nbishop@neverware.com&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt; (v1)
[Emil Velikov: Split from larger patch, polish coding style, cc stable]
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change gbm_dri_bo_get_fd to check the return value of queryImage and
return -1 (an invalid file descriptor) if an error occurs.

Update the comment for gbm_bo_get_fd to return -1, since (apart from the
above) we've already return -1 on error.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Nicholas Bishop &lt;nbishop@neverware.com&gt;
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt; (v1)
[Emil Velikov: Split from larger patch, polish coding style, cc stable]
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: remove left-over array</title>
<updated>2016-09-14T13:37:34+00:00</updated>
<author>
<name>Eric Engestrom</name>
<email>eric.engestrom@imgtec.com</email>
</author>
<published>2016-09-13T16:32:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=4bb9efb59290c77ef4acd4abab5729efa9bf4e24'/>
<id>4bb9efb59290c77ef4acd4abab5729efa9bf4e24</id>
<content type='text'>
e7c8c85785b3a8f29e3f ("gbm: Removed unused function.") forgot to remove
the global array used only by that function.

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
e7c8c85785b3a8f29e3f ("gbm: Removed unused function.") forgot to remove
the global array used only by that function.

Signed-off-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: fix potential NULL deref of mapImage/unmapImage.</title>
<updated>2016-09-12T15:52:55+00:00</updated>
<author>
<name>Chuanbo Weng</name>
<email>chuanbo.weng@intel.com</email>
</author>
<published>2016-09-06T09:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=9a1eb5423722955bee5c5b5f48fb058f0884fab0'/>
<id>9a1eb5423722955bee5c5b5f48fb058f0884fab0</id>
<content type='text'>
The mapImage/unmapImage functions of DRIimage extension can be NULL,
so we should add additional check for them.

Cc: &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Chuanbo Weng &lt;chuanbo.weng@intel.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mapImage/unmapImage functions of DRIimage extension can be NULL,
so we should add additional check for them.

Cc: &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Chuanbo Weng &lt;chuanbo.weng@intel.com&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: wire up fence extension</title>
<updated>2016-09-07T15:54:00+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2016-08-16T16:56:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=74b1969d717f2428f0b9dcaaea611e95736120a5'/>
<id>74b1969d717f2428f0b9dcaaea611e95736120a5</id>
<content type='text'>
v2: make fence extension optional to not break non-i965 classic
    drivers, and move __DRI2_FENCE into core extensions, based
    on comments from Emil

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
v2: make fence extension optional to not break non-i965 classic
    drivers, and move __DRI2_FENCE into core extensions, based
    on comments from Emil

Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gbm: add missing R8 and GR88 formats</title>
<updated>2016-09-07T15:30:41+00:00</updated>
<author>
<name>Rob Clark</name>
<email>robdclark@gmail.com</email>
</author>
<published>2016-09-03T12:49:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=b4e88b500c93d9728d2a3e30f6b0365bcb224b88'/>
<id>b4e88b500c93d9728d2a3e30f6b0365bcb224b88</id>
<content type='text'>
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Eric Engestrom &lt;eric.engestrom@imgtec.com&gt;
Signed-off-by: Rob Clark &lt;robdclark@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
