<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mesa.git, branch baserock/james/test</title>
<subtitle>gitlab.freedesktop.org: mesa/mesa.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/'/>
<entry>
<title>Revert "egl: remove egl_gallium from the loader"</title>
<updated>2015-05-01T15:20:48+00:00</updated>
<author>
<name>James Thomas</name>
<email>james.thomas@codethink.co.uk</email>
</author>
<published>2015-05-01T15:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=cf2fe3de1453c7c69ca107bfb98fdd750944f6c3'/>
<id>cf2fe3de1453c7c69ca107bfb98fdd750944f6c3</id>
<content type='text'>
This reverts commit 363b53f00069af718f64cf047f19ad5681a8bf6d.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 363b53f00069af718f64cf047f19ad5681a8bf6d.
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "configure.ac: remove enable flags for EGL and GBM Gallium state trackers"</title>
<updated>2015-05-01T15:20:04+00:00</updated>
<author>
<name>James Thomas</name>
<email>james.thomas@codethink.co.uk</email>
</author>
<published>2015-05-01T15:20:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=17cdfcc3ed5a0e92a3da51853674a9043c8336ea'/>
<id>17cdfcc3ed5a0e92a3da51853674a9043c8336ea</id>
<content type='text'>
This reverts commit c46c551c56f78c6bf9e63524c89478695fc4f525.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit c46c551c56f78c6bf9e63524c89478695fc4f525.
</pre>
</div>
</content>
</entry>
<entry>
<title>nvc0: create screen fence object with coherent attribute</title>
<updated>2015-04-27T10:57:16+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2014-12-05T06:02:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=d4407a29d0c64134999fed83dbbd8707ca449ce7'/>
<id>d4407a29d0c64134999fed83dbbd8707ca449ce7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nvc0: tune PREFER_BLIT_BASED_TEXTURE_TRANSFER capability</title>
<updated>2015-04-27T10:57:16+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2014-10-17T06:09:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=912480281354b34683a54c52b8bf20e515332525'/>
<id>912480281354b34683a54c52b8bf20e515332525</id>
<content type='text'>
Prefer blit-based texture transfers only if the chip declares to have
dedicated VRAM. For shared-memory systems if will be more efficient to
disable this capability.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reported-by: Ilia Mirkin &lt;imirkin@alum.mit.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prefer blit-based texture transfers only if the chip declares to have
dedicated VRAM. For shared-memory systems if will be more efficient to
disable this capability.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
Reported-by: Ilia Mirkin &lt;imirkin@alum.mit.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>gk20a: use NOUVEAU_BO_GART as VRAM domain</title>
<updated>2015-04-27T10:57:16+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2014-10-17T06:06:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=285536570423effc4a65a2abfb1ccf00473b09fb'/>
<id>285536570423effc4a65a2abfb1ccf00473b09fb</id>
<content type='text'>
GK20A does not have dedicated VRAM, therefore allocating in VRAM can be
sub-optimal and sometimes even harmful. Set its VRAM domain to
NOUVEAU_BO_GART so all objects are allocated in system memory.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
GK20A does not have dedicated VRAM, therefore allocating in VRAM can be
sub-optimal and sometimes even harmful. Set its VRAM domain to
NOUVEAU_BO_GART so all objects are allocated in system memory.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nvc0: use NV_VRAM_DOMAIN() macro</title>
<updated>2015-04-27T10:57:16+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2014-10-17T06:05:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=2c8b52b97998a865a43acbb2502e53cff9056681'/>
<id>2c8b52b97998a865a43acbb2502e53cff9056681</id>
<content type='text'>
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative
VRAM domains for chips that do not use dedicated video memory.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the newly-introduced NV_VRAM_DOMAIN() macro to support alternative
VRAM domains for chips that do not use dedicated video memory.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nouveau: support for custom VRAM domains</title>
<updated>2015-04-27T10:56:56+00:00</updated>
<author>
<name>Alexandre Courbot</name>
<email>acourbot@nvidia.com</email>
</author>
<published>2014-10-17T05:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=3a568e8b798d7c5e13ef5cd1568aa1bbdfe54ef4'/>
<id>3a568e8b798d7c5e13ef5cd1568aa1bbdfe54ef4</id>
<content type='text'>
Some NVIDIA chips (e.g. GK20A) do not embed VRAM of their own and have
complete shared access to system memory. For these systems, allocating
objects in VRAM might lead to unneeded copies and sub-optimal memory
management. It will also lead to errors if the kernel does not allow
VRAM objects allocations.

This patch adds a vram_domain member to struct nouveau_screen that can
optionally be initialized to an alternative domain to use for VRAM
allocations (most likely, NOUVEAU_BO_GART to allocate everything in
system memory). If not initialized, the default NOUVEAU_BO_VRAM domain
is used.

Code that allocates GPU objects is then expected to use the
NV_VRAM_DOMAIN() macro in place of NOUVEAU_BO_VRAM to ensure correct
behavior on VRAM-less chips.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Some NVIDIA chips (e.g. GK20A) do not embed VRAM of their own and have
complete shared access to system memory. For these systems, allocating
objects in VRAM might lead to unneeded copies and sub-optimal memory
management. It will also lead to errors if the kernel does not allow
VRAM objects allocations.

This patch adds a vram_domain member to struct nouveau_screen that can
optionally be initialized to an alternative domain to use for VRAM
allocations (most likely, NOUVEAU_BO_GART to allocate everything in
system memory). If not initialized, the default NOUVEAU_BO_VRAM domain
is used.

Code that allocates GPU objects is then expected to use the
NV_VRAM_DOMAIN() macro in place of NOUVEAU_BO_VRAM to ensure correct
behavior on VRAM-less chips.

Signed-off-by: Alexandre Courbot &lt;acourbot@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add release notes for the 10.5.4 release</title>
<updated>2015-04-24T21:27:09+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-04-24T21:27:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=ea0d1f575c214c09ba3df12644a960e86e031766'/>
<id>ea0d1f575c214c09ba3df12644a960e86e031766</id>
<content type='text'>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Update version to 10.5.4</title>
<updated>2015-04-24T21:22:47+00:00</updated>
<author>
<name>Emil Velikov</name>
<email>emil.l.velikov@gmail.com</email>
</author>
<published>2015-04-24T21:22:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=776e47a305d33ec04a05ac2d81691b884baa9e62'/>
<id>776e47a305d33ec04a05ac2d81691b884baa9e62</id>
<content type='text'>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Emil Velikov &lt;emil.l.velikov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>glsl: rewrite glsl_type::record_key_hash() to avoid buffer overflow</title>
<updated>2015-04-22T15:17:10+00:00</updated>
<author>
<name>Brian Paul</name>
<email>brianp@vmware.com</email>
</author>
<published>2015-04-16T21:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/mesa.git/commit/?id=e2dd5546517dd8d3b6790cea3c74c038629256b4'/>
<id>e2dd5546517dd8d3b6790cea3c74c038629256b4</id>
<content type='text'>
This should be more efficient than the previous snprintf() solution.
But more importantly, it avoids a buffer overflow bug that could result
in crashes or unpredictable results when processing very large interface
blocks.

For the app in question, key-&gt;length = 103 for some interfaces.  The check
if size &gt;= sizeof(hash_key) was insufficient to prevent overflows of the
hash_key[128] array because it didn't account for the terminating zero.
In this case, this caused the call to hash_table_string_hash() to return
different results for identical inputs, and then shader linking failed.

This new solution also takes all structure fields into account instead
of just the first 15 when sizeof(pointer)==8.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
(cherry picked from commit 31667e6237d30188d0b29e17f5b9892f10c0d83a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should be more efficient than the previous snprintf() solution.
But more importantly, it avoids a buffer overflow bug that could result
in crashes or unpredictable results when processing very large interface
blocks.

For the app in question, key-&gt;length = 103 for some interfaces.  The check
if size &gt;= sizeof(hash_key) was insufficient to prevent overflows of the
hash_key[128] array because it didn't account for the terminating zero.
In this case, this caused the call to hash_table_string_hash() to return
different results for identical inputs, and then shader linking failed.

This new solution also takes all structure fields into account instead
of just the first 15 when sizeof(pointer)==8.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Ian Romanick &lt;ian.d.romanick@intel.com&gt;
(cherry picked from commit 31667e6237d30188d0b29e17f5b9892f10c0d83a)
</pre>
</div>
</content>
</entry>
</feed>
