| .. | .. |
|---|
| 1 | 1 | /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ |
|---|
| 2 | 2 | /* |
|---|
| 3 | 3 | * |
|---|
| 4 | | - * (C) COPYRIGHT 2014-2021 ARM Limited. All rights reserved. |
|---|
| 4 | + * (C) COPYRIGHT 2014-2022 ARM Limited. All rights reserved. |
|---|
| 5 | 5 | * |
|---|
| 6 | 6 | * This program is free software and is provided to you under the terms of the |
|---|
| 7 | 7 | * GNU General Public License version 2 as published by the Free Software |
|---|
| .. | .. |
|---|
| 28 | 28 | #define _BASE_HWCONFIG_FEATURES_H_ |
|---|
| 29 | 29 | |
|---|
| 30 | 30 | enum base_hw_feature { |
|---|
| 31 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 32 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 33 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 34 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 35 | | - BASE_HW_FEATURE_MRT, |
|---|
| 36 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 37 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 38 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 39 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 40 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 41 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 42 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 43 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 44 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 45 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 46 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 47 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 48 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 49 | 31 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 50 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 51 | 32 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 52 | 33 | BASE_HW_FEATURE_TLS_HASHING, |
|---|
| 53 | 34 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| .. | .. |
|---|
| 55 | 36 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 56 | 37 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 57 | 38 | BASE_HW_FEATURE_ASN_HASH, |
|---|
| 39 | + BASE_HW_FEATURE_GPU_SLEEP, |
|---|
| 40 | + BASE_HW_FEATURE_FLUSH_INV_SHADER_OTHER, |
|---|
| 41 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 42 | + BASE_HW_FEATURE_PBHA_HWU, |
|---|
| 43 | + BASE_HW_FEATURE_LARGE_PAGE_ALLOC, |
|---|
| 58 | 44 | BASE_HW_FEATURE_END |
|---|
| 59 | 45 | }; |
|---|
| 60 | 46 | |
|---|
| 61 | | -static const enum base_hw_feature base_hw_features_generic[] = { |
|---|
| 47 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_generic[] = { |
|---|
| 62 | 48 | BASE_HW_FEATURE_END |
|---|
| 63 | 49 | }; |
|---|
| 64 | 50 | |
|---|
| 65 | | -static const enum base_hw_feature base_hw_features_tMIx[] = { |
|---|
| 66 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 67 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 68 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 69 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 70 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 71 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 72 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 73 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 74 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 75 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 76 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 77 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 78 | | - BASE_HW_FEATURE_MRT, |
|---|
| 79 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 80 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 81 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 82 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 83 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 51 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tMIx[] = { |
|---|
| 84 | 52 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 85 | 53 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 86 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 87 | 54 | BASE_HW_FEATURE_END |
|---|
| 88 | 55 | }; |
|---|
| 89 | 56 | |
|---|
| 90 | | -static const enum base_hw_feature base_hw_features_tHEx[] = { |
|---|
| 91 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 92 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 93 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 94 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 95 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 96 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 97 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 98 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 99 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 100 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 101 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 102 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 103 | | - BASE_HW_FEATURE_MRT, |
|---|
| 104 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 105 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 106 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 107 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 108 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 57 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tHEx[] = { |
|---|
| 109 | 58 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 110 | 59 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 111 | 60 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 112 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 113 | 61 | BASE_HW_FEATURE_END |
|---|
| 114 | 62 | }; |
|---|
| 115 | 63 | |
|---|
| 116 | | -static const enum base_hw_feature base_hw_features_tSIx[] = { |
|---|
| 117 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 118 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 119 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 120 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 121 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 122 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 123 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 124 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 125 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 126 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 127 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 128 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 129 | | - BASE_HW_FEATURE_MRT, |
|---|
| 130 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 131 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 132 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 133 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 134 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 64 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tSIx[] = { |
|---|
| 135 | 65 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 136 | 66 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 137 | 67 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 138 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 139 | 68 | BASE_HW_FEATURE_END |
|---|
| 140 | 69 | }; |
|---|
| 141 | 70 | |
|---|
| 142 | | -static const enum base_hw_feature base_hw_features_tDVx[] = { |
|---|
| 143 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 144 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 145 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 146 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 147 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 148 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 149 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 150 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 151 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 152 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 153 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 154 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 155 | | - BASE_HW_FEATURE_MRT, |
|---|
| 156 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 157 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 158 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 159 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 160 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 71 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tDVx[] = { |
|---|
| 161 | 72 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 162 | 73 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 163 | 74 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 164 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 165 | 75 | BASE_HW_FEATURE_END |
|---|
| 166 | 76 | }; |
|---|
| 167 | 77 | |
|---|
| 168 | | -static const enum base_hw_feature base_hw_features_tNOx[] = { |
|---|
| 169 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 170 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 171 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 172 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 173 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 174 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 175 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 176 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 177 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 178 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 179 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 180 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 181 | | - BASE_HW_FEATURE_MRT, |
|---|
| 182 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 183 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 184 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 185 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 186 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 78 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tNOx[] = { |
|---|
| 187 | 79 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 188 | 80 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 189 | 81 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 190 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 191 | 82 | BASE_HW_FEATURE_TLS_HASHING, |
|---|
| 192 | 83 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 193 | 84 | BASE_HW_FEATURE_END |
|---|
| 194 | 85 | }; |
|---|
| 195 | 86 | |
|---|
| 196 | | -static const enum base_hw_feature base_hw_features_tGOx[] = { |
|---|
| 197 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 198 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 199 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 200 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 201 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 202 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 203 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 204 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 205 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 206 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 207 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 208 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 209 | | - BASE_HW_FEATURE_MRT, |
|---|
| 210 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 211 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 212 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 213 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 214 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 87 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tGOx[] = { |
|---|
| 215 | 88 | BASE_HW_FEATURE_THREAD_GROUP_SPLIT, |
|---|
| 216 | 89 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 217 | 90 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 218 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 219 | 91 | BASE_HW_FEATURE_TLS_HASHING, |
|---|
| 220 | 92 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 93 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 221 | 94 | BASE_HW_FEATURE_END |
|---|
| 222 | 95 | }; |
|---|
| 223 | 96 | |
|---|
| 224 | | -static const enum base_hw_feature base_hw_features_tTRx[] = { |
|---|
| 225 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 226 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 227 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 228 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 229 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 230 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 231 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 232 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 233 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 234 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 235 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 236 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 237 | | - BASE_HW_FEATURE_MRT, |
|---|
| 238 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 239 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 240 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 241 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 242 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 97 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tTRx[] = { |
|---|
| 243 | 98 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 244 | 99 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 245 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 246 | 100 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 247 | 101 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 102 | + BASE_HW_FEATURE_FLUSH_INV_SHADER_OTHER, |
|---|
| 248 | 103 | BASE_HW_FEATURE_END |
|---|
| 249 | 104 | }; |
|---|
| 250 | 105 | |
|---|
| 251 | | -static const enum base_hw_feature base_hw_features_tNAx[] = { |
|---|
| 252 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 253 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 254 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 255 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 256 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 257 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 258 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 259 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 260 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 261 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 262 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 263 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 264 | | - BASE_HW_FEATURE_MRT, |
|---|
| 265 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 266 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 267 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 268 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 269 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 106 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tNAx[] = { |
|---|
| 270 | 107 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 271 | 108 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 272 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 273 | 109 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 274 | 110 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 111 | + BASE_HW_FEATURE_FLUSH_INV_SHADER_OTHER, |
|---|
| 275 | 112 | BASE_HW_FEATURE_END |
|---|
| 276 | 113 | }; |
|---|
| 277 | 114 | |
|---|
| 278 | | -static const enum base_hw_feature base_hw_features_tBEx[] = { |
|---|
| 279 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 280 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 281 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 282 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 283 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 284 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 285 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 286 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 287 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 288 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 289 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 290 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 291 | | - BASE_HW_FEATURE_MRT, |
|---|
| 292 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 293 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 294 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 295 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 296 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 115 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tBEx[] = { |
|---|
| 297 | 116 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 298 | 117 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 299 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 300 | 118 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 301 | 119 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 302 | 120 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 121 | + BASE_HW_FEATURE_FLUSH_INV_SHADER_OTHER, |
|---|
| 303 | 122 | BASE_HW_FEATURE_END |
|---|
| 304 | 123 | }; |
|---|
| 305 | 124 | |
|---|
| 306 | | -static const enum base_hw_feature base_hw_features_tBAx[] = { |
|---|
| 307 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 308 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 309 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 310 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 311 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 312 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 313 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 314 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 315 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 316 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 317 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 318 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 319 | | - BASE_HW_FEATURE_MRT, |
|---|
| 320 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 321 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 322 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 323 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 324 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 125 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tBAx[] = { |
|---|
| 325 | 126 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 326 | 127 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 327 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 328 | 128 | BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 329 | 129 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 330 | 130 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 131 | + BASE_HW_FEATURE_FLUSH_INV_SHADER_OTHER, |
|---|
| 331 | 132 | BASE_HW_FEATURE_END |
|---|
| 332 | 133 | }; |
|---|
| 333 | 134 | |
|---|
| 334 | | -static const enum base_hw_feature base_hw_features_tDUx[] = { |
|---|
| 335 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 336 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 337 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 338 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 339 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 340 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 341 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 342 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 343 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 344 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 345 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 346 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 347 | | - BASE_HW_FEATURE_MRT, |
|---|
| 348 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 349 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 350 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 351 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 352 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 135 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tODx[] = { |
|---|
| 353 | 136 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 354 | 137 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 355 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 356 | | - BASE_HW_FEATURE_IDVS_GROUP_SIZE, |
|---|
| 357 | 138 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 358 | 139 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 359 | 140 | BASE_HW_FEATURE_END |
|---|
| 360 | 141 | }; |
|---|
| 361 | 142 | |
|---|
| 362 | | -static const enum base_hw_feature base_hw_features_tODx[] = { |
|---|
| 363 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 364 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 365 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 366 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 367 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 368 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 369 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 370 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 371 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 372 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 373 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 374 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 375 | | - BASE_HW_FEATURE_MRT, |
|---|
| 376 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 377 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 378 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 379 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 380 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 143 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tGRx[] = { |
|---|
| 381 | 144 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 382 | 145 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 383 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 384 | 146 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 385 | 147 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 148 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 386 | 149 | BASE_HW_FEATURE_END |
|---|
| 387 | 150 | }; |
|---|
| 388 | 151 | |
|---|
| 389 | | -static const enum base_hw_feature base_hw_features_tGRx[] = { |
|---|
| 390 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 391 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 392 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 393 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 394 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 395 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 396 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 397 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 398 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 399 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 400 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 401 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 402 | | - BASE_HW_FEATURE_MRT, |
|---|
| 403 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 404 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 405 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 406 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 407 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 152 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tVAx[] = { |
|---|
| 408 | 153 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 409 | 154 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 410 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 411 | 155 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 412 | 156 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 157 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 413 | 158 | BASE_HW_FEATURE_END |
|---|
| 414 | 159 | }; |
|---|
| 415 | 160 | |
|---|
| 416 | | -static const enum base_hw_feature base_hw_features_tVAx[] = { |
|---|
| 417 | | - BASE_HW_FEATURE_JOBCHAIN_DISAMBIGUATION, |
|---|
| 418 | | - BASE_HW_FEATURE_PWRON_DURING_PWROFF_TRANS, |
|---|
| 419 | | - BASE_HW_FEATURE_XAFFINITY, |
|---|
| 420 | | - BASE_HW_FEATURE_WARPING, |
|---|
| 421 | | - BASE_HW_FEATURE_INTERPIPE_REG_ALIASING, |
|---|
| 422 | | - BASE_HW_FEATURE_32_BIT_UNIFORM_ADDRESS, |
|---|
| 423 | | - BASE_HW_FEATURE_ATTR_AUTO_TYPE_INFERRAL, |
|---|
| 424 | | - BASE_HW_FEATURE_BRNDOUT_CC, |
|---|
| 425 | | - BASE_HW_FEATURE_BRNDOUT_KILL, |
|---|
| 426 | | - BASE_HW_FEATURE_LD_ST_LEA_TEX, |
|---|
| 427 | | - BASE_HW_FEATURE_LD_ST_TILEBUFFER, |
|---|
| 428 | | - BASE_HW_FEATURE_LINEAR_FILTER_FLOAT, |
|---|
| 429 | | - BASE_HW_FEATURE_MRT, |
|---|
| 430 | | - BASE_HW_FEATURE_MSAA_16X, |
|---|
| 431 | | - BASE_HW_FEATURE_NEXT_INSTRUCTION_TYPE, |
|---|
| 432 | | - BASE_HW_FEATURE_OUT_OF_ORDER_EXEC, |
|---|
| 433 | | - BASE_HW_FEATURE_T7XX_PAIRING_RULES, |
|---|
| 434 | | - BASE_HW_FEATURE_TEST4_DATUM_MODE, |
|---|
| 161 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tTUx[] = { |
|---|
| 435 | 162 | BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 436 | 163 | BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 437 | | - BASE_HW_FEATURE_COHERENCY_REG, |
|---|
| 438 | 164 | BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 439 | 165 | BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 166 | + BASE_HW_FEATURE_ASN_HASH, |
|---|
| 167 | + BASE_HW_FEATURE_GPU_SLEEP, |
|---|
| 168 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 169 | + BASE_HW_FEATURE_END |
|---|
| 170 | +}; |
|---|
| 171 | + |
|---|
| 172 | +__attribute__((unused)) static const enum base_hw_feature base_hw_features_tTIx[] = { |
|---|
| 173 | + BASE_HW_FEATURE_FLUSH_REDUCTION, |
|---|
| 174 | + BASE_HW_FEATURE_PROTECTED_DEBUG_MODE, |
|---|
| 175 | + BASE_HW_FEATURE_L2_CONFIG, |
|---|
| 176 | + BASE_HW_FEATURE_CLEAN_ONLY_SAFE, |
|---|
| 177 | + BASE_HW_FEATURE_ASN_HASH, |
|---|
| 178 | + BASE_HW_FEATURE_GPU_SLEEP, |
|---|
| 179 | + BASE_HW_FEATURE_CORE_FEATURES, |
|---|
| 180 | + BASE_HW_FEATURE_PBHA_HWU, |
|---|
| 440 | 181 | BASE_HW_FEATURE_END |
|---|
| 441 | 182 | }; |
|---|
| 442 | 183 | |
|---|