Chia-I Wu | 1d267e1 | 2014-08-05 12:13:22 +0800 | [diff] [blame] | 1 | #ifndef GEN_REGS_XML |
| 2 | #define GEN_REGS_XML |
| 3 | |
| 4 | /* Autogenerated file, DO NOT EDIT manually! |
| 5 | |
| 6 | This file was generated by the rules-ng-ng headergen tool in this git repository: |
| 7 | https://github.com/olvaffe/envytools/ |
| 8 | git clone https://github.com/olvaffe/envytools.git |
| 9 | |
| 10 | Copyright (C) 2014 by the following authors: |
| 11 | - Chia-I Wu <olvaffe@gmail.com> (olv) |
| 12 | |
| 13 | Permission is hereby granted, free of charge, to any person obtaining |
| 14 | a copy of this software and associated documentation files (the |
| 15 | "Software"), to deal in the Software without restriction, including |
| 16 | without limitation the rights to use, copy, modify, merge, publish, |
| 17 | distribute, sublicense, and/or sell copies of the Software, and to |
| 18 | permit persons to whom the Software is furnished to do so, subject to |
| 19 | the following conditions: |
| 20 | |
| 21 | The above copyright notice and this permission notice (including the |
| 22 | next paragraph) shall be included in all copies or substantial |
| 23 | portions of the Software. |
| 24 | |
| 25 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, |
| 26 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 27 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. |
| 28 | IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE |
| 29 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
| 30 | OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
| 31 | WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 32 | */ |
| 33 | |
| 34 | |
| 35 | #define GEN6_REG_MASK__MASK 0xffff0000 |
| 36 | #define GEN6_REG_MASK__SHIFT 16 |
| 37 | #define GEN6_REG__SIZE 0x400000 |
| 38 | #define GEN6_REG_HS_INVOCATION_COUNT 0x2300 |
| 39 | |
| 40 | #define GEN6_REG_DS_INVOCATION_COUNT 0x2308 |
| 41 | |
| 42 | #define GEN6_REG_IA_VERTICES_COUNT 0x2310 |
| 43 | |
| 44 | #define GEN6_REG_IA_PRIMITIVES_COUNT 0x2318 |
| 45 | |
| 46 | #define GEN6_REG_VS_INVOCATION_COUNT 0x2320 |
| 47 | |
| 48 | #define GEN6_REG_GS_INVOCATION_COUNT 0x2328 |
| 49 | |
| 50 | #define GEN6_REG_GS_PRIMITIVES_COUNT 0x2330 |
| 51 | |
| 52 | #define GEN6_REG_CL_INVOCATION_COUNT 0x2338 |
| 53 | |
| 54 | #define GEN6_REG_CL_PRIMITIVES_COUNT 0x2340 |
| 55 | |
| 56 | #define GEN6_REG_PS_INVOCATION_COUNT 0x2348 |
| 57 | |
| 58 | #define GEN6_REG_TIMESTAMP 0x2358 |
| 59 | |
| 60 | #define GEN6_REG_BCS_SWCTRL 0x22200 |
| 61 | #define GEN6_REG_BCS_SWCTRL_DST_TILING_Y (0x1 << 1) |
| 62 | #define GEN6_REG_BCS_SWCTRL_SRC_TILING_Y (0x1 << 0) |
| 63 | |
| 64 | |
| 65 | #endif /* GEN_REGS_XML */ |