diff options
author | Rhys Kidd <[email protected]> | 2020-07-15 23:04:32 +1000 |
---|---|---|
committer | Rhys Kidd <[email protected]> | 2020-07-16 00:24:51 +1000 |
commit | a9c94861063d16bd6f1f71b4dda7ddd1d3438313 (patch) | |
tree | 3fb758dbfa2f5c54c6772e855cb896c43f15bf78 /src/gallium | |
parent | 0859dcb57c18905b2f30e78e1458fea36d111e20 (diff) |
nv50_2d: regenerate envytools-based rnndb headers
The headers hadn't been regenerated from envytools in a long time,
and there were a few minor divergences.
Based on envytools commit c20929ed0f3be18b8419f7332ee22d905feb6589
Among other things, rnndb has changed naming to G80/etc, for now
I've not tackled switching that over and replaced the nvidia
codenames back to the chip ids that mesa uses with the following:
$ sed -i 's/G80_2D/NV50_2D/g' rnndb/graph/g80_2d.xml.h
$ sed -i 's/GF100_2D/NVC0_2D/g' rnndb/graph/g80_2d.xml.h
No other modifications of the headergen'd headers was done, which
was helped by the differing #define's being unutilised presently.
Signed-off-by: Rhys Kidd <[email protected]>
Reviewed-by: Karol Herbst <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5920>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h b/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h index 31e7cf82233..475f8da63a8 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_2d.xml.h @@ -4,18 +4,18 @@ /* 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/ +https://github.com/envytools/envytools/ git clone https://github.com/envytools/envytools.git The rules-ng-ng source files this header was generated from are: -- rnndb/graph/g80_2d.xml ( 11440 bytes, from 2014-09-25 06:32:11) -- rnndb/copyright.xml ( 6452 bytes, from 2013-05-14 03:57:49) -- rnndb/fifo/nv_object.xml ( 15326 bytes, from 2014-09-25 06:32:11) -- rnndb/nvchipsets.xml ( 2759 bytes, from 2014-10-05 01:51:02) -- rnndb/g80_defs.xml ( 18175 bytes, from 2014-09-25 06:32:11) -- rnndb/nv_defs.xml ( 4399 bytes, from 2013-09-07 03:32:45) - -Copyright (C) 2006-2014 by the following authors: +- rnndb/graph/g80_2d.xml ( 11609 bytes, from 2020-07-15 13:41:28) +- rnndb/copyright.xml ( 6431 bytes, from 2020-07-11 09:17:41) +- rnndb/fifo/nv_object.xml ( 16105 bytes, from 2020-07-11 09:17:37) +- rnndb-generated/nvchipsets.xml ( 3335 bytes, from 2020-06-09 15:36:30) +- rnndb/g80_defs.xml ( 21768 bytes, from 2018-06-10 18:06:54) +- rnndb/nv_defs.xml ( 5388 bytes, from 2018-06-10 18:06:54) + +Copyright (C) 2006-2020 by the following authors: - Artur Huillet <[email protected]> (ahuillet) - Ben Skeggs (darktama, darktama_) - B. R. <[email protected]> (koala_br) @@ -27,13 +27,13 @@ Copyright (C) 2006-2014 by the following authors: - EdB <[email protected]> (edb_) - Erik Waling <[email protected]> (erikwaling) - Francisco Jerez <[email protected]> (curro) -- imirkin <[email protected]> (imirkin) +- Ilia Mirkin <[email protected]> (imirkin) - jb17bsome <[email protected]> (jb17bsome) - Jeremy Kolb <[email protected]> (kjeremy) - Laurent Carlier <[email protected]> (lordheavy) - Luca Barbieri <[email protected]> (lb, lb1) - Maarten Maathuis <[email protected]> (stillunknown) -- Marcin KoĆcielnicki <[email protected]> (mwk, koriakin) +- Marcelina KoĆcielnicka <[email protected]> (mwk) - Mark Carey <[email protected]> (careym) - Matthieu Castet <[email protected]> (mat-c) - nvidiaman <[email protected]> (nvidiaman) @@ -88,7 +88,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define NV50_2D_DST_LINEAR 0x00000204 -#define NV50_2D_DST_TILE_MODE 0x00000208 +#define NV50_2D_DST_BLOCK_DIMENSIONS 0x00000208 +#define NV50_2D_DST_BLOCK_DIMENSIONS_DEPTH__MASK 0x00000f00 +#define NV50_2D_DST_BLOCK_DIMENSIONS_DEPTH__SHIFT 8 +#define NV50_2D_DST_BLOCK_DIMENSIONS_HEIGHT__MASK 0x000000f0 +#define NV50_2D_DST_BLOCK_DIMENSIONS_HEIGHT__SHIFT 4 +#define NV50_2D_DST_BLOCK_DIMENSIONS_WIDTH__MASK 0x0000000f +#define NV50_2D_DST_BLOCK_DIMENSIONS_WIDTH__SHIFT 0 #define NV50_2D_DST_DEPTH 0x0000020c @@ -114,7 +120,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define NV50_2D_SRC_LINEAR 0x00000234 -#define NV50_2D_SRC_TILE_MODE 0x00000238 +#define NV50_2D_SRC_BLOCK_DIMENSIONS 0x00000238 +#define NV50_2D_SRC_BLOCK_DIMENSIONS_DEPTH__MASK 0x00000f00 +#define NV50_2D_SRC_BLOCK_DIMENSIONS_DEPTH__SHIFT 8 +#define NV50_2D_SRC_BLOCK_DIMENSIONS_HEIGHT__MASK 0x000000f0 +#define NV50_2D_SRC_BLOCK_DIMENSIONS_HEIGHT__SHIFT 4 +#define NV50_2D_SRC_BLOCK_DIMENSIONS_WIDTH__MASK 0x0000000f +#define NV50_2D_SRC_BLOCK_DIMENSIONS_WIDTH__SHIFT 0 #define NV50_2D_SRC_DEPTH 0x0000023c @@ -218,7 +230,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define NV50_2D_PATTERN_SELECT_BITMAP_1X64 0x00000002 #define NV50_2D_PATTERN_SELECT_COLOR 0x00000003 -#define NVC0_2D_SET_DST_COLOR_RENDER_TO_ZETA_SURFACE 0x000002b8 +#define NVC0_2D_SET_DST_COLOR_RENDER_TO_ZETA_SURFACE 0x000002b8 + +#define NVC0_2D_UNK02BC(i0) (0x000002bc + 0x4*(i0)) +#define NVC0_2D_UNK02BC__ESIZE 0x00000004 +#define NVC0_2D_UNK02BC__LEN 0x00000008 #define NVC0_2D_UNK2DC 0x000002dc |