<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/gallium/targets/dri, branch replicant-6.0-0003</title>
<subtitle>external/mesa3d
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/'/>
<entry>
<title>enable standalone build of llvmpipe for ARM</title>
<updated>2017-02-12T19:15:41+00:00</updated>
<author>
<name>Wolfgang Wiedmeyer</name>
<email>wolfgit@wiedmeyer.de</email>
</author>
<published>2017-02-12T19:15:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=bddbe95616987fe637a71616b5f9130160f1ea07'/>
<id>bddbe95616987fe637a71616b5f9130160f1ea07</id>
<content type='text'>
also add profiling flags

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
also add profiling flags

Signed-off-by: Wolfgang Wiedmeyer &lt;wolfgit@wiedmeyer.de&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: fix building errors on Android 7.0</title>
<updated>2016-11-01T19:42:00+00:00</updated>
<author>
<name>Chih-Wei Huang</name>
<email>cwhuang@linux.org.tw</email>
</author>
<published>2016-08-23T06:36:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=7bdb0a5b2acc8cff3f67e8d8932ee5f00b7bf136'/>
<id>7bdb0a5b2acc8cff3f67e8d8932ee5f00b7bf136</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>android: support swrast</title>
<updated>2016-11-01T19:41:59+00:00</updated>
<author>
<name>WuZhen</name>
<email>wuzhen@jidemail.com</email>
</author>
<published>2016-06-18T13:57:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=61025f0b269c8c31ec76dba5f72d98590d001949'/>
<id>61025f0b269c8c31ec76dba5f72d98590d001949</id>
<content type='text'>
System boots up with gles_mesa/softpipe/llvmpipe.

NO_REF_TASK
Tested: local run

Change-Id: I629ed0ca9fad12e32270eb8e8bfa9f7681b68474
Signed-off-by: Chih-Wei Huang &lt;cwhuang@linux.org.tw&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
System boots up with gles_mesa/softpipe/llvmpipe.

NO_REF_TASK
Tested: local run

Change-Id: I629ed0ca9fad12e32270eb8e8bfa9f7681b68474
Signed-off-by: Chih-Wei Huang &lt;cwhuang@linux.org.tw&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: print debug info to logcat</title>
<updated>2016-11-01T19:41:59+00:00</updated>
<author>
<name>WuZhen</name>
<email>wuzhen@jidemail.com</email>
</author>
<published>2016-01-20T07:52:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=8fc46649adfa99b1f316bd34555a0ac8dd99737d'/>
<id>8fc46649adfa99b1f316bd34555a0ac8dd99737d</id>
<content type='text'>
Redirect logs printed to stderr to logcat.

NO_REF_TASK
Tested: local run

Change-Id: I58e3966a608af361b86c54b4c95a92561b711968
Signed-off-by: Chih-Wei Huang &lt;cwhuang@linux.org.tw&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Redirect logs printed to stderr to logcat.

NO_REF_TASK
Tested: local run

Change-Id: I58e3966a608af361b86c54b4c95a92561b711968
Signed-off-by: Chih-Wei Huang &lt;cwhuang@linux.org.tw&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gallium: introduce load_pipe_screen()</title>
<updated>2016-11-01T19:41:59+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2016-02-10T22:56:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=7618870ed442a6b1f4fc60888403c0bbbbfa35b5'/>
<id>7618870ed442a6b1f4fc60888403c0bbbbfa35b5</id>
<content type='text'>
Introduce load_pipe_screen() public entry point for other code which
dlopen()'s gralloc_dri.so for purposes of loading a pipe_screen. This way
drm_gralloc can avoid static linking of each gallium winsys and driver,
and avoid duplicated logic to figure out which pipe driver to load.

This is based on Rob Clark's work. I moved it into pipe_loader which seems
to be a better spot.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce load_pipe_screen() public entry point for other code which
dlopen()'s gralloc_dri.so for purposes of loading a pipe_screen. This way
drm_gralloc can avoid static linking of each gallium winsys and driver,
and avoid duplicated logic to figure out which pipe driver to load.

This is based on Rob Clark's work. I moved it into pipe_loader which seems
to be a better spot.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: Export gallium_dri include files</title>
<updated>2016-11-01T19:41:59+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2015-12-17T14:18:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=6ba00e6acd0f9fa19fd240ddbc25bc656fbd7f17'/>
<id>6ba00e6acd0f9fa19fd240ddbc25bc656fbd7f17</id>
<content type='text'>
This doesn't work yet because the exported include files can't be picked
up by the android build system unless the library has a 'lib' prefix.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This doesn't work yet because the exported include files can't be picked
up by the android build system unless the library has a 'lib' prefix.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>android: add support for libmesa_amdgpu_addrlib</title>
<updated>2016-09-13T00:06:04+00:00</updated>
<author>
<name>Mauro Rossi</name>
<email>issor.oruam@gmail.com</email>
</author>
<published>2016-09-12T23:15:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=6b9d7e69ee7fd1162f7ac231a337630d859c493b'/>
<id>6b9d7e69ee7fd1162f7ac231a337630d859c493b</id>
<content type='text'>
Android porting of the following commits:

f1f1ba3 "radeonsi: move sid.h/r600d_common.h to a common place."
69fca64 "amd/addrlib: move addrlib from amdgpu winsys to common code"

This patch fixes android building errors

Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Android porting of the following commits:

f1f1ba3 "radeonsi: move sid.h/r600d_common.h to a common place."
69fca64 "amd/addrlib: move addrlib from amdgpu winsys to common code"

This patch fixes android building errors

Reviewed-by: Dave Airlie &lt;airlied@redhat.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gallium/dri: Add shared glapi to LIBADD on Android</title>
<updated>2016-07-20T14:10:33+00:00</updated>
<author>
<name>Tomasz Figa</name>
<email>tfiga@chromium.org</email>
</author>
<published>2016-07-13T03:29:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=70a28afb296de3e89248ad2a2bc0611e7afb762b'/>
<id>70a28afb296de3e89248ad2a2bc0611e7afb762b</id>
<content type='text'>
An earlier patch fixed the problem for classic drivers, however Gallium
was still left broken. This patch applies the same workaround to
Gallium, when compiled for Android. Following is a quote from the
original patch:

0cbc90c57cfc mesa: dri: Add shared glapi to LIBADD on Android

/system/vendor/lib/dri/*_dri.so actually depend on libglapi: without
this, loading the so file fails with:
cannot locate symbol "__emutls_v._glapi_tls_Context"

On non-Android (non-bionic) platform, EGL uses the following
workflow, which works fine:
  dlopen("libglapi.so", RTLD_LAZY | RTLD_GLOBAL);
  dlopen("dri/&lt;driver&gt;_dri.so", RTLD_NOW | RTLD_GLOBAL);

However, bionic does not respect the RTLD_GLOBAL flag, and the dri
library cannot find symbols in libglapi.so, so we need to link
to libglapi.so explicitly. Android.mk already does this.

Cc: "12.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Tomasz Figa &lt;tfiga@chromium.org&gt;
Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
An earlier patch fixed the problem for classic drivers, however Gallium
was still left broken. This patch applies the same workaround to
Gallium, when compiled for Android. Following is a quote from the
original patch:

0cbc90c57cfc mesa: dri: Add shared glapi to LIBADD on Android

/system/vendor/lib/dri/*_dri.so actually depend on libglapi: without
this, loading the so file fails with:
cannot locate symbol "__emutls_v._glapi_tls_Context"

On non-Android (non-bionic) platform, EGL uses the following
workflow, which works fine:
  dlopen("libglapi.so", RTLD_LAZY | RTLD_GLOBAL);
  dlopen("dri/&lt;driver&gt;_dri.so", RTLD_NOW | RTLD_GLOBAL);

However, bionic does not respect the RTLD_GLOBAL flag, and the dri
library cannot find symbols in libglapi.so, so we need to link
to libglapi.so explicitly. Android.mk already does this.

Cc: "12.0" &lt;mesa-stable@lists.freedesktop.org&gt;
Signed-off-by: Tomasz Figa &lt;tfiga@chromium.org&gt;
Signed-off-by: Nicolas Boichat &lt;drinkcat@chromium.org&gt;
Reviewed-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Android: move libdrm settings to top-level Android.common.mk</title>
<updated>2016-06-13T14:31:29+00:00</updated>
<author>
<name>Rob Herring</name>
<email>robh@kernel.org</email>
</author>
<published>2016-06-07T23:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=112e988329b6af817b4892b530f703e7997b1d7d'/>
<id>112e988329b6af817b4892b530f703e7997b1d7d</id>
<content type='text'>
Fix warnings like these due to HAVE_LIBDRM being inconsistently defined:

external/libdrm/include/drm/drm.h:839:30: warning: redefinition of typedef 'drm_clip_rect_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct drm_clip_rect drm_clip_rect_t;

HAVE_LIBDRM needs to be set project wide to fix this. This change also
harmlessly links libdrm with everything, but simplifies the makefiles a
bit.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix warnings like these due to HAVE_LIBDRM being inconsistently defined:

external/libdrm/include/drm/drm.h:839:30: warning: redefinition of typedef 'drm_clip_rect_t' is a C11 feature [-Wtypedef-redefinition]
typedef struct drm_clip_rect drm_clip_rect_t;

HAVE_LIBDRM needs to be set project wide to fix this. This change also
harmlessly links libdrm with everything, but simplifies the makefiles a
bit.

Signed-off-by: Rob Herring &lt;robh@kernel.org&gt;
Acked-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>scons: gallium: link against nir as needed</title>
<updated>2016-05-17T18:22:46+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.velikov@collabora.com</email>
</author>
<published>2016-05-16T17:55:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=52addd90d1406f9b156a384fe8b98dee27aeddf6'/>
<id>52addd90d1406f9b156a384fe8b98dee27aeddf6</id>
<content type='text'>
... otherwise we'll produce uncomplete binaries with introduction of NIR
as alternative IR with next commits.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Acked-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... otherwise we'll produce uncomplete binaries with introduction of NIR
as alternative IR with next commits.

Signed-off-by: Emil Velikov &lt;emil.velikov@collabora.com&gt;
Acked-by: Jose Fonseca &lt;jfonseca@vmware.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
