Re: [Nouveau] [PATCH 1/5] hwdefs: update nvc0_3d, add gm107_texture for new TIC format

2016-10-17 Thread Emil Velikov
On 16 October 2016 at 20:14, Ilia Mirkin  wrote:
> These are copied directly from the mesa repository.
>
> Signed-off-by: Ilia Mirkin 
> ---
>  src/hwdefs/gm107_texture.xml.h | 365 +
>  src/hwdefs/nvc0_3d.xml.h   | 867 
> +
>  2 files changed, 892 insertions(+), 340 deletions(-)
>  create mode 100644 src/hwdefs/gm107_texture.xml.h
Add this one to the EXTRA_DIST list in src/Makefile.am or it will be
missing in the release tarball.

-Emil
___
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau


Re: [Nouveau] [PATCH 1/5] hwdefs: update nvc0_3d, add gm107_texture for new TIC format

2016-10-17 Thread Samuel Pitoiset

Acked-by: Samuel Pitoiset 

On 10/16/2016 09:14 PM, Ilia Mirkin wrote:

These are copied directly from the mesa repository.

Signed-off-by: Ilia Mirkin 
---
 src/hwdefs/gm107_texture.xml.h | 365 +
 src/hwdefs/nvc0_3d.xml.h   | 867 +
 2 files changed, 892 insertions(+), 340 deletions(-)
 create mode 100644 src/hwdefs/gm107_texture.xml.h

diff --git a/src/hwdefs/gm107_texture.xml.h b/src/hwdefs/gm107_texture.xml.h
new file mode 100644
index 000..a4bc380
--- /dev/null
+++ b/src/hwdefs/gm107_texture.xml.h
@@ -0,0 +1,365 @@
+#ifndef GM107_TEXTURE_XML
+#define GM107_TEXTURE_XML
+
+/* Autogenerated file, DO NOT EDIT manually!
+
+This file was generated by the rules-ng-ng headergen tool in this git 
repository:
+http://github.com/envytools/envytools/
+git clone https://github.com/envytools/envytools.git
+
+The rules-ng-ng source files this header was generated from are:
+- /home/skeggsb/git/envytools/rnndb/../rnndb/graph/gm107_texture.xml (  22057 
bytes, from 2016-02-12 03:01:43)
+- /home/skeggsb/git/envytools/rnndb/copyright.xml(   6456 
bytes, from 2015-09-10 02:57:40)
+- /home/skeggsb/git/envytools/rnndb/nvchipsets.xml   (   2908 
bytes, from 2016-02-04 22:19:11)
+- /home/skeggsb/git/envytools/rnndb/g80_defs.xml (  21739 
bytes, from 2016-02-04 00:29:42)
+
+Copyright (C) 2006-2016 by the following authors:
+- Artur Huillet  (ahuillet)
+- Ben Skeggs (darktama, darktama_)
+- B. R.  (koala_br)
+- Carlos Martin  (carlosmn)
+- Christoph Bumiller  (calim, chrisbmr)
+- Dawid Gajownik  (gajownik)
+- Dmitry Baryshkov
+- Dmitry Eremin-Solenikov  (lumag)
+- EdB  (edb_)
+- Erik Waling  (erikwaling)
+- Francisco Jerez  (curro)
+- Ilia Mirkin  (imirkin)
+- jb17bsome  (jb17bsome)
+- Jeremy Kolb  (kjeremy)
+- Laurent Carlier  (lordheavy)
+- Luca Barbieri  (lb, lb1)
+- Maarten Maathuis  (stillunknown)
+- Marcin Koƛcielnicki  (mwk, koriakin)
+- Mark Carey  (careym)
+- Matthieu Castet  (mat-c)
+- nvidiaman  (nvidiaman)
+- Patrice Mandin  (pmandin, pmdata)
+- Pekka Paalanen  (pq, ppaalanen)
+- Peter Popov  (ironpeter)
+- Richard Hughes  (hughsient)
+- Rudi Cilibrasi  (cilibrar)
+- Serge Martin
+- Simon Raffeiner
+- Stephane Loeuillet  (leroutier)
+- Stephane Marchesin  (marcheu)
+- sturmflut  (sturmflut)
+- Sylvain Munaut 
+- Victor Stinner  (haypo)
+- Wladmir van der Laan  (miathan6)
+- Younes Manton  (ymanton)
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice (including the
+next paragraph) shall be included in all copies or substantial
+portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+*/
+
+
+#define GM107_TIC2__SIZE   0x0020
+#define GM107_TIC2_0   0x
+#define GM107_TIC2_0_COMPONENTS_SIZES__MASK0x007f
+#define GM107_TIC2_0_COMPONENTS_SIZES__SHIFT   0
+#define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32_B32_A32  0x0001
+#define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32_B32  0x0002
+#define GM107_TIC2_0_COMPONENTS_SIZES_R16_G16_B16_A16  0x0003
+#define GM107_TIC2_0_COMPONENTS_SIZES_R32_G32  0x0004
+#define GM107_TIC2_0_COMPONENTS_SIZES_R32_B24G8
0x0005
+#define GM107_TIC2_0_COMPONENTS_SIZES_X8B8G8R8 0x0007
+#define GM107_TIC2_0_COMPONENTS_SIZES_A8B8G8R8 0x0008
+#define GM107_TIC2_0_COMPONENTS_SIZES_A2B10G10R10  0x0009
+#define GM107_TIC2_0_COMPONENTS_SIZES_R16_G16  0x000c
+#define GM107_TIC2_0_COMPONENTS_SIZES_G8R240x000d
+#define GM107_TIC2_0_COMPONENTS_SIZES_G24R80x000e
+#define GM107_TIC2_0_COMPONENTS_SIZES_R32  0x000f
+#define GM107_TIC2_0_COMPONENTS_SIZES_A4B4G4R4 0x0012
+#define GM107_TIC2_0_COMPONENTS_SIZES_A5B5G5R1 0x0013
+#define GM107_TIC2_0_COMPONENTS_SIZES_A1B5G5R5 0x0014
+#define GM107_TIC2_0_COMPONE