#ifndef NVE4_COMPUTE_XML #define NVE4_COMPUTE_XML /* Autogenerated file, DO NOT EDIT manually! This file was generated by the rules-ng-ng headergen tool in this git repository: http://0x04.net/cgit/index.cgi/rules-ng-ng git clone git://0x04.net/rules-ng-ng The rules-ng-ng source files this header was generated from are: - nve4_compute.xml ( 11117 bytes, from 2013-03-27 19:22:20) - copyright.xml ( 6452 bytes, from 2011-08-11 18:25:12) - nvchipsets.xml ( 3954 bytes, from 2013-03-26 01:26:43) - nv_object.xml ( 13792 bytes, from 2013-03-26 01:26:43) - nv_defs.xml ( 4437 bytes, from 2011-08-11 18:25:12) - nv50_defs.xml ( 7783 bytes, from 2013-03-08 12:42:29) Copyright (C) 2006-2013 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) - imirkin (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 NVE4_COMPUTE_UPLOAD_SIZE 0x00000180 #define NVE4_COMPUTE_UPLOAD_UNK0184 0x00000184 #define NVE4_COMPUTE_UPLOAD_ADDRESS_HIGH 0x00000188 #define NVE4_COMPUTE_UPLOAD_ADDRESS_LOW 0x0000018c #define NVE4_COMPUTE_UNK01A0 0x000001a0 #define NVE4_COMPUTE_UNK01A4 0x000001a4 #define NVE4_COMPUTE_UNK01A8 0x000001a8 #define NVE4_COMPUTE_UNK01AC 0x000001ac #define NVE4_COMPUTE_UPLOAD_EXEC 0x000001b0 #define NVE4_COMPUTE_UPLOAD_DATA 0x000001b4 #define NVE4_COMPUTE_SHARED_BASE 0x00000214 #define NVE4_COMPUTE_MEM_BARRIER 0x0000021c #define NVE4_COMPUTE_UNK0280 0x00000280 #define NVE4_COMPUTE_UNK02B0 0x000002b0 #define NVE4_COMPUTE_LAUNCH_DESC_ADDRESS 0x000002b4 #define NVE4_COMPUTE_LAUNCH_DESC_ADDRESS__SHR 8 #define NVE4_COMPUTE_UNK02B8 0x000002b8 #define NVE4_COMPUTE_LAUNCH 0x000002bc #define NVE4_COMPUTE_MP_TEMP_SIZE(i0) (0x000002e4 + 0xc*(i0)) #define NVE4_COMPUTE_MP_TEMP_SIZE__ESIZE 0x0000000c #define NVE4_COMPUTE_MP_TEMP_SIZE__LEN 0x00000002 #define NVE4_COMPUTE_MP_TEMP_SIZE_HIGH(i0) (0x000002e4 + 0xc*(i0)) #define NVE4_COMPUTE_MP_TEMP_SIZE_LOW(i0) (0x000002e8 + 0xc*(i0)) #define NVE4_COMPUTE_MP_TEMP_SIZE_MASK(i0) (0x000002ec + 0xc*(i0)) #define NVE4_COMPUTE_UNK0310 0x00000310 #define NVE4_COMPUTE_LOCAL_BASE 0x0000077c #define NVE4_COMPUTE_TEMP_ADDRESS_HIGH 0x00000790 #define NVE4_COMPUTE_TEMP_ADDRESS_LOW 0x00000794 #define NVE4_COMPUTE_WATCHDOG_TIMER 0x00000de4 #define NVE4_COMPUTE_LINKED_TSC 0x00001234 #define NVE4_COMPUTE_TSC_FLUSH 0x00001330 #define NVE4_COMPUTE_TSC_FLUSH_SPECIFIC 0x00000001 #define NVE4_COMPUTE_TSC_FLUSH_ENTRY__MASK 0x03fffff0 #define NVE4_COMPUTE_TSC_FLUSH_ENTRY__SHIFT 4 #define NVE4_COMPUTE_TIC_FLUSH 0x00001334 #define NVE4_COMPUTE_TIC_FLUSH_SPECIFIC 0x00000001 #define NVE4_COMPUTE_TIC_FLUSH_ENTRY__MASK 0x03fffff0 #define NVE4_COMPUTE_TIC_FLUSH_ENTRY__SHIFT 4 #define NVE4_COMPUTE_TEX_CACHE_CTL 0x00001338 #define NVE4_COMPUTE_TEX_CACHE_CTL_UNK0__MASK 0x00000007 #define NVE4_COMPUTE_TEX_CACHE_CTL_UNK0__SHIFT 0 #define NVE4_COMPUTE_TEX_CACHE_CTL_ENTRY__MASK 0x03fffff0 #define NVE4_COMPUTE_TEX_CACHE_CTL_ENTRY__SHIFT 4 #define NVE4_COMPUTE_COND_ADDRESS_HIGH 0x00001550 #define NVE4_COMPUTE_COND_ADDRESS_LOW 0x00001554 #define NVE4_COMPUTE_COND_MODE 0x00001558 #define NVE4_COMPUTE_COND_MODE_NEVER 0x00000000 #define NVE4_COMPUTE_COND_MODE_ALWAYS 0x00000001 #define NVE4_COMPUTE_COND_MODE_RES_NON_ZERO 0x00000002 #define NVE4_COMPUTE_COND_MODE_EQUAL 0x00000003 #define NVE4_COMPUTE_COND_MODE_NOT_EQUAL 0x00000004 #define NVE4_COMPUTE_TSC_ADDRESS_HIGH 0x0000155c #define NVE4_COMPUTE_TSC_ADDRESS_LOW 0x00001560 #define NVE4_COMPUTE_TSC_LIMIT 0x00001564 #define NVE4_COMPUTE_TIC_ADDRESS_HIGH 0x00001574 #define NVE4_COMPUTE_TIC_ADDRESS_LOW 0x00001578 #define NVE4_COMPUTE_TIC_LIMIT 0x0000157c #define NVE4_COMPUTE_CODE_ADDRESS_HIGH 0x00001608 #define NVE4_COMPUTE_CODE_ADDRESS_LOW 0x0000160c #define NVE4_COMPUTE_FLUSH 0x00001698 #define NVE4_COMPUTE_FLUSH_CODE 0x00000001 #define NVE4_COMPUTE_FLUSH_GLOBAL 0x00000010 #define NVE4_COMPUTE_FLUSH_UNK8 0x00000100 #define NVE4_COMPUTE_FLUSH_CB 0x00001000 #define NVE4_COMPUTE_QUERY_ADDRESS_HIGH 0x00001b00 #define NVE4_COMPUTE_QUERY_ADDRESS_LOW 0x00001b04 #define NVE4_COMPUTE_QUERY_SEQUENCE 0x00001b08 #define NVE4_COMPUTE_QUERY_GET 0x00001b0c #define NVE4_COMPUTE_QUERY_GET_MODE__MASK 0x00000003 #define NVE4_COMPUTE_QUERY_GET_MODE__SHIFT 0 #define NVE4_COMPUTE_QUERY_GET_MODE_WRITE 0x00000000 #define NVE4_COMPUTE_QUERY_GET_MODE_WRITE_INTR_NRHOST 0x00000003 #define NVE4_COMPUTE_QUERY_GET_INTR 0x00100000 #define NVE4_COMPUTE_QUERY_GET_SHORT 0x10000000 #define NVE4_COMPUTE_TEX_CB_INDEX 0x00002608 #define NVE4_COMPUTE_UNK260c 0x0000260c #define NVE4_COMPUTE_MP_PM_SET(i0) (0x0000335c + 0x4*(i0)) #define NVE4_COMPUTE_MP_PM_SET__ESIZE 0x00000004 #define NVE4_COMPUTE_MP_PM_SET__LEN 0x00000008 #define NVE4_COMPUTE_MP_PM_A_SIGSEL(i0) (0x0000337c + 0x4*(i0)) #define NVE4_COMPUTE_MP_PM_A_SIGSEL__ESIZE 0x00000004 #define NVE4_COMPUTE_MP_PM_A_SIGSEL__LEN 0x00000004 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_NONE 0x00000000 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_USER 0x00000001 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_LAUNCH 0x00000003 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_EXEC 0x00000004 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_ISSUE 0x00000005 #define NVE4_COMPUTE_MP_PM_A_SIGSEL_LDST 0x0000001b #define NVE4_COMPUTE_MP_PM_A_SIGSEL_BRANCH 0x0000001c #define NVE4_COMPUTE_MP_PM_B_SIGSEL(i0) (0x0000338c + 0x4*(i0)) #define NVE4_COMPUTE_MP_PM_B_SIGSEL__ESIZE 0x00000004 #define NVE4_COMPUTE_MP_PM_B_SIGSEL__LEN 0x00000004 #define NVE4_COMPUTE_MP_PM_B_SIGSEL_NONE 0x00000000 #define NVE4_COMPUTE_MP_PM_B_SIGSEL_WARP 0x00000002 #define NVE4_COMPUTE_MP_PM_B_SIGSEL_L1 0x00000010 #define NVE4_COMPUTE_MP_PM_B_SIGSEL_MEM 0x00000011 #define NVE4_COMPUTE_MP_PM_SRCSEL(i0) (0x0000339c + 0x4*(i0)) #define NVE4_COMPUTE_MP_PM_SRCSEL__ESIZE 0x00000004 #define NVE4_COMPUTE_MP_PM_SRCSEL__LEN 0x00000008 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP0__MASK 0x00000003 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP0__SHIFT 0 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG0__MASK 0x0000001c #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG0__SHIFT 2 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP1__MASK 0x00000060 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP1__SHIFT 5 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG1__MASK 0x00000380 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG1__SHIFT 7 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP2__MASK 0x00000c00 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP2__SHIFT 10 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG2__MASK 0x00007000 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG2__SHIFT 12 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP3__MASK 0x00018000 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP3__SHIFT 15 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG3__MASK 0x000e0000 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG3__SHIFT 17 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP4__MASK 0x00300000 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP4__SHIFT 20 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG4__MASK 0x01c00000 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG4__SHIFT 22 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP5__MASK 0x06000000 #define NVE4_COMPUTE_MP_PM_SRCSEL_GRP5__SHIFT 25 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG5__MASK 0x38000000 #define NVE4_COMPUTE_MP_PM_SRCSEL_SIG5__SHIFT 27 #define NVE4_COMPUTE_MP_PM_FUNC(i0) (0x000033bc + 0x4*(i0)) #define NVE4_COMPUTE_MP_PM_FUNC__ESIZE 0x00000004 #define NVE4_COMPUTE_MP_PM_FUNC__LEN 0x00000008 #define NVE4_COMPUTE_MP_PM_FUNC_MODE__MASK 0x0000000f #define NVE4_COMPUTE_MP_PM_FUNC_MODE__SHIFT 0 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_LOGOP 0x00000000 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_LOGOP_PULSE 0x00000001 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_B6 0x00000002 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_UNK3 0x00000003 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_LOGOP_B6 0x00000004 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_LOGOP_B6_PULSE 0x00000005 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_UNK6 0x00000006 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_UNK7 0x00000007 #define NVE4_COMPUTE_MP_PM_FUNC_MODE_UNK8 0x00000008 #define NVE4_COMPUTE_MP_PM_FUNC_FUNC__MASK 0x000ffff0 #define NVE4_COMPUTE_MP_PM_FUNC_FUNC__SHIFT 4 #define NVE4_COMPUTE_MP_PM_UNK33DC 0x000033dc #define NVE4_COMPUTE_LAUNCH_DESC__SIZE 0x00000100 #define NVE4_COMPUTE_LAUNCH_DESC_6 0x00000018 #define NVE4_COMPUTE_LAUNCH_DESC_6_NOTIFY__MASK 0x00000c00 #define NVE4_COMPUTE_LAUNCH_DESC_6_NOTIFY__SHIFT 10 #define NVE4_COMPUTE_LAUNCH_DESC_PROG_START 0x00000020 #define NVE4_COMPUTE_LAUNCH_DESC_12 0x00000030 #define NVE4_COMPUTE_LAUNCH_DESC_12_GRIDDIM_X__MASK 0x7fffffff #define NVE4_COMPUTE_LAUNCH_DESC_12_GRIDDIM_X__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_GRIDDIM_YZ 0x00000034 #define NVE4_COMPUTE_LAUNCH_DESC_GRIDDIM_YZ_Y__MASK 0x0000ffff #define NVE4_COMPUTE_LAUNCH_DESC_GRIDDIM_YZ_Y__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_GRIDDIM_YZ_Z__MASK 0xffff0000 #define NVE4_COMPUTE_LAUNCH_DESC_GRIDDIM_YZ_Z__SHIFT 16 #define NVE4_COMPUTE_LAUNCH_DESC_17 0x00000044 #define NVE4_COMPUTE_LAUNCH_DESC_17_SHARED_ALLOC__MASK 0x0000ffff #define NVE4_COMPUTE_LAUNCH_DESC_17_SHARED_ALLOC__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_18 0x00000048 #define NVE4_COMPUTE_LAUNCH_DESC_18_BLOCKDIM_X__MASK 0xffff0000 #define NVE4_COMPUTE_LAUNCH_DESC_18_BLOCKDIM_X__SHIFT 16 #define NVE4_COMPUTE_LAUNCH_DESC_BLOCKDIM_YZ 0x0000004c #define NVE4_COMPUTE_LAUNCH_DESC_BLOCKDIM_YZ_Y__MASK 0x0000ffff #define NVE4_COMPUTE_LAUNCH_DESC_BLOCKDIM_YZ_Y__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_BLOCKDIM_YZ_Z__MASK 0xffff0000 #define NVE4_COMPUTE_LAUNCH_DESC_BLOCKDIM_YZ_Z__SHIFT 16 #define NVE4_COMPUTE_LAUNCH_DESC_20 0x00000050 #define NVE4_COMPUTE_LAUNCH_DESC_20_CB_VALID__MASK 0x000000ff #define NVE4_COMPUTE_LAUNCH_DESC_20_CB_VALID__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_20_CACHE_SPLIT__MASK 0x60000000 #define NVE4_COMPUTE_LAUNCH_DESC_20_CACHE_SPLIT__SHIFT 29 #define NVE4_COMPUTE_LAUNCH_DESC_20_CACHE_SPLIT_16K_SHARED_48K_L1 0x20000000 #define NVE4_COMPUTE_LAUNCH_DESC_20_CACHE_SPLIT_32K_SHARED_32K_L1 0x40000000 #define NVE4_COMPUTE_LAUNCH_DESC_20_CACHE_SPLIT_48K_SHARED_16K_L1 0x60000000 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_0(i0) (0x00000074 + 0x8*(i0)) #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_0__ESIZE 0x00000008 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_0__LEN 0x00000008 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_0_ADDRESS_LOW__MASK 0xffffffff #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_0_ADDRESS_LOW__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1(i0) (0x00000078 + 0x8*(i0)) #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1__ESIZE 0x00000008 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1__LEN 0x00000008 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1_ADDRESS_HIGH__MASK 0x000000ff #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1_ADDRESS_HIGH__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1_SIZE__MASK 0xffff8000 #define NVE4_COMPUTE_LAUNCH_DESC_CB_CONFIG_1_SIZE__SHIFT 15 #define NVE4_COMPUTE_LAUNCH_DESC_45 0x000000b4 #define NVE4_COMPUTE_LAUNCH_DESC_45_LOCAL_POS_ALLOC__MASK 0x000fffff #define NVE4_COMPUTE_LAUNCH_DESC_45_LOCAL_POS_ALLOC__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_45_BARRIER_ALLOC__MASK 0xf8000000 #define NVE4_COMPUTE_LAUNCH_DESC_45_BARRIER_ALLOC__SHIFT 27 #define NVE4_COMPUTE_LAUNCH_DESC_46 0x000000b8 #define NVE4_COMPUTE_LAUNCH_DESC_46_LOCAL_NEG_ALLOC__MASK 0x000fffff #define NVE4_COMPUTE_LAUNCH_DESC_46_LOCAL_NEG_ALLOC__SHIFT 0 #define NVE4_COMPUTE_LAUNCH_DESC_46_GPR_ALLOC__MASK 0x3f000000 #define NVE4_COMPUTE_LAUNCH_DESC_46_GPR_ALLOC__SHIFT 24 #define NVE4_COMPUTE_LAUNCH_DESC_47 0x000000bc #define NVE4_COMPUTE_LAUNCH_DESC_47_WARP_CSTACK_SIZE__MASK 0x000fffff #define NVE4_COMPUTE_LAUNCH_DESC_47_WARP_CSTACK_SIZE__SHIFT 0 #endif /* NVE4_COMPUTE_XML */