<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/loader/loader.c, 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>loader: cleanup copyright section</title>
<updated>2016-10-18T16:06:32+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-09T15:28:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=47b5925d9bc5385b84fa4ccdeb35e424f98a306d'/>
<id>47b5925d9bc5385b84fa4ccdeb35e424f98a306d</id>
<content type='text'>
With previous patches nearly all the original code (as seen in the
various loaders) is gone.

Update the copyright/license section to reflect that.

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>
With previous patches nearly all the original code (as seen in the
various loaders) is gone.

Update the copyright/license section to reflect that.

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>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>loader: remove final sysfs codepath in loader_get_device_name_for_fd()</title>
<updated>2016-10-18T16:06:26+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-09T14:20:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=f9f7e44c94f7eee4778768adf7afffba6c0581e7'/>
<id>f9f7e44c94f7eee4778768adf7afffba6c0581e7</id>
<content type='text'>
Effectively everyone with actual hardware and/or requesting the
"device_name" requires a working libdrm. Thus they could/should already
be using the (now only) codepath.

Apart from the code simplification, we can slim down our configure.ac
even further. But that will be done in separate patch(es).

Cc: Gary Wong &lt;gtw@gnu.org&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.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>
Effectively everyone with actual hardware and/or requesting the
"device_name" requires a working libdrm. Thus they could/should already
be using the (now only) codepath.

Apart from the code simplification, we can slim down our configure.ac
even further. But that will be done in separate patch(es).

Cc: Gary Wong &lt;gtw@gnu.org&gt;
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.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>loader: remove libudev_get_device_name_for_fd and related code</title>
<updated>2016-10-18T16:06:10+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T17:44:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=1e2e625e306ea57575d5a89f7633e080ab045ec0'/>
<id>1e2e625e306ea57575d5a89f7633e080ab045ec0</id>
<content type='text'>
With this all the libudev related code is now gone.

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>
With this all the libudev related code is now gone.

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>loader: reimplement loader_get_user_preferred_fd via libdrm</title>
<updated>2016-10-18T16:06:10+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T17:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=fcdc02f5121823bb37588de507254c926471e28d'/>
<id>fcdc02f5121823bb37588de507254c926471e28d</id>
<content type='text'>
Currently not everyone has libudev and with follow-up patches we'll
completely remove the divergent codepaths.

Use the libdrm drm device API to construct the required ID_PATH_TAG-like
string, to preserve the current functionality for libudev users and
allow others to benefit from it as well.

v2: Drop ranty comments, pick the correct device
v3: \n -&gt; \0 in PCI_ID_PATH_TAG_LENGTH comment (Axel).
v4: Use snprintf (Nicolai)

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently not everyone has libudev and with follow-up patches we'll
completely remove the divergent codepaths.

Use the libdrm drm device API to construct the required ID_PATH_TAG-like
string, to preserve the current functionality for libudev users and
allow others to benefit from it as well.

v2: Drop ranty comments, pick the correct device
v3: \n -&gt; \0 in PCI_ID_PATH_TAG_LENGTH comment (Axel).
v4: Use snprintf (Nicolai)

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: annotate __driConfigOptionsLoader as static</title>
<updated>2016-10-18T16:06:07+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T15:38:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=82221006319e3d41f8ac672cb3cf846575ca22f3'/>
<id>82221006319e3d41f8ac672cb3cf846575ca22f3</id>
<content type='text'>
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>
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>loader: separate USE_DRICONF code into separate function</title>
<updated>2016-10-18T16:06:04+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T15:36:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=d561e064a8940e14901cadc4ca5b9e26ab1e7f0e'/>
<id>d561e064a8940e14901cadc4ca5b9e26ab1e7f0e</id>
<content type='text'>
Improves readability and allows us to do further cleanups a lot easier.

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>
Improves readability and allows us to do further cleanups a lot easier.

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>loader: slim down loader_get_pci_id_for_fd implementation(s)</title>
<updated>2016-10-18T16:06:04+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-09-07T15:04:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=be239326aa4f9317d42ee07f0f51179c8b3d5b22'/>
<id>be239326aa4f9317d42ee07f0f51179c8b3d5b22</id>
<content type='text'>
Currently mesa has three code paths in the loader - libudev, manual
sysfs and drm ioctl one.

Considering the issues we had with libudev - strip those down in favour
of the libdrm drm device API. The latter can be implemented in any way
depending on the platform and can be reused by others.

v2: Use correct message on drmGetDevice failure. (Nicolai)

Cc: Jonathan Gray &lt;jsg@jsg.id.au&gt;
Cc: Jean-Sébastien Pédron &lt;dumbbell@FreeBSD.org&gt;
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently mesa has three code paths in the loader - libudev, manual
sysfs and drm ioctl one.

Considering the issues we had with libudev - strip those down in favour
of the libdrm drm device API. The latter can be implemented in any way
depending on the platform and can be reused by others.

v2: Use correct message on drmGetDevice failure. (Nicolai)

Cc: Jonathan Gray &lt;jsg@jsg.id.au&gt;
Cc: Jean-Sébastien Pédron &lt;dumbbell@FreeBSD.org&gt;
Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Reviewed-by: Axel Davy &lt;axel.davy@ens.fr&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>loader: fix sysfs uevent file parsing</title>
<updated>2016-09-01T14:48:34+00:00</updated>
<author>
<name>Frank Binns</name>
<email>frank.binns@imgtec.com</email>
</author>
<published>2016-08-04T14:15:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=d5f65b8bf54574e45d73938702fb5505449c1b5d'/>
<id>d5f65b8bf54574e45d73938702fb5505449c1b5d</id>
<content type='text'>
When trying to get a device name for an fd using sysfs, it would always fail
as it was expecting key/value pairs to be delimited by '\0', which is not the
case.

Signed-off-by: Frank Binns &lt;frank.binns@imgtec.com&gt;
Reviewed-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>
When trying to get a device name for an fd using sysfs, it would always fail
as it was expecting key/value pairs to be delimited by '\0', which is not the
case.

Signed-off-by: Frank Binns &lt;frank.binns@imgtec.com&gt;
Reviewed-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>mesa: Use AC_HEADER_MAJOR to include correct header for major().</title>
<updated>2016-07-26T19:12:41+00:00</updated>
<author>
<name>Matt Turner</name>
<email>mattst88@gmail.com</email>
</author>
<published>2016-07-21T18:46:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=20553e4a2d952f6dc37f40f63d2c86b0718c58f9'/>
<id>20553e4a2d952f6dc37f40f63d2c86b0718c58f9</id>
<content type='text'>
Gentoo has been smoke testing an upcoming change to glibc.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=580392
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Gentoo has been smoke testing an upcoming change to glibc.

Bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=580392
</pre>
</div>
</content>
</entry>
</feed>
