aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/pvr/sgxerrata.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/pvr/sgxerrata.h')
-rw-r--r--drivers/gpu/pvr/sgxerrata.h154
1 files changed, 148 insertions, 6 deletions
diff --git a/drivers/gpu/pvr/sgxerrata.h b/drivers/gpu/pvr/sgxerrata.h
index ded7a524283..8d76618accb 100644
--- a/drivers/gpu/pvr/sgxerrata.h
+++ b/drivers/gpu/pvr/sgxerrata.h
@@ -68,6 +68,10 @@
68 #define FIX_HW_BRN_22934 68 #define FIX_HW_BRN_22934
69 #define FIX_HW_BRN_28889 69 #define FIX_HW_BRN_28889
70 #else 70 #else
71 #if SGX_CORE_REV == 1111
72 #define FIX_HW_BRN_22934
73 #define FIX_HW_BRN_28889
74 #else
71 #if SGX_CORE_REV == 120 75 #if SGX_CORE_REV == 120
72 #define FIX_HW_BRN_22934 76 #define FIX_HW_BRN_22934
73 #define FIX_HW_BRN_28889 77 #define FIX_HW_BRN_28889
@@ -88,6 +92,7 @@
88 #endif 92 #endif
89 #endif 93 #endif
90 #endif 94 #endif
95 #endif
91#endif 96#endif
92 #endif 97 #endif
93 98
@@ -240,15 +245,113 @@
240 #endif 245 #endif
241 246
242 #if SGX_CORE_REV == 113 247 #if SGX_CORE_REV == 113
248 #define FIX_HW_BRN_29954
249 #define FIX_HW_BRN_29997
243 #define FIX_HW_BRN_30954 250 #define FIX_HW_BRN_30954
251 #define FIX_HW_BRN_31093
252 #define FIX_HW_BRN_31195
253 #define FIX_HW_BRN_31278
254 #if defined(SGX_FEATURE_MP)
255 #define FIX_HW_BRN_31425
256 #endif
257 #define FIX_HW_BRN_31620
258 #define FIX_HW_BRN_31542
259 #define FIX_HW_BRN_32044
244 260
245 #else 261 #else
246 #if SGX_CORE_REV == 122 262 #if SGX_CORE_REV == 122
247 #define FIX_HW_BRN_30954 263 #define FIX_HW_BRN_29954
248 264 #define FIX_HW_BRN_29997
265 #define FIX_HW_BRN_30954
266 #define FIX_HW_BRN_31093
267 #define FIX_HW_BRN_31195
268 #define FIX_HW_BRN_31278
269 #if defined(SGX_FEATURE_MP)
270 #define FIX_HW_BRN_31425
271 #endif
272 #define FIX_HW_BRN_31620
273 #define FIX_HW_BRN_31542
274 #define FIX_HW_BRN_32044
275
276 #else
277 #if SGX_CORE_REV == 1221
278 #define FIX_HW_BRN_29954
279 #define FIX_HW_BRN_31195
280 #define FIX_HW_BRN_31278
281 #if defined(SGX_FEATURE_MP)
282 #define FIX_HW_BRN_31425
283 #endif
284 #define FIX_HW_BRN_31620
285 #define FIX_HW_BRN_31542
286 #define FIX_HW_BRN_32044
287
249 #else 288 #else
250 #if SGX_CORE_REV == 140 289 #if SGX_CORE_REV == 140
251 #define FIX_HW_BRN_30954 290 #define FIX_HW_BRN_29954
291 #define FIX_HW_BRN_30954
292 #define FIX_HW_BRN_31093
293 #define FIX_HW_BRN_31195
294 #define FIX_HW_BRN_31278
295 #if defined(SGX_FEATURE_MP)
296 #define FIX_HW_BRN_31425
297 #endif
298 #define FIX_HW_BRN_31620
299 #define FIX_HW_BRN_31542
300 #define FIX_HW_BRN_32044
301
302 #else
303 #if SGX_CORE_REV == 1401
304 #define FIX_HW_BRN_29954
305 #define FIX_HW_BRN_30954
306 #define FIX_HW_BRN_31195
307 #define FIX_HW_BRN_31278
308 #if defined(SGX_FEATURE_MP)
309 #define FIX_HW_BRN_31425
310 #endif
311 #define FIX_HW_BRN_31620
312 #define FIX_HW_BRN_31542
313 #define FIX_HW_BRN_32044
314
315 #else
316 #if SGX_CORE_REV == 141
317 #if defined(SGX_FEATURE_MP)
318 #define FIX_HW_BRN_31425
319 #endif
320 #define FIX_HW_BRN_32044
321
322 #else
323 #if SGX_CORE_REV == 211
324 #define FIX_HW_BRN_31093
325 #define FIX_HW_BRN_31195
326 #define FIX_HW_BRN_31278
327 #if defined(SGX_FEATURE_MP)
328 #define FIX_HW_BRN_31425
329 #endif
330 #define FIX_HW_BRN_31620
331 #define FIX_HW_BRN_31542
332 #define FIX_HW_BRN_32044
333
334 #else
335 #if SGX_CORE_REV == 2111
336 #define FIX_HW_BRN_31093
337 #define FIX_HW_BRN_31195
338 #define FIX_HW_BRN_31278
339 #if defined(SGX_FEATURE_MP)
340 #define FIX_HW_BRN_31425
341 #endif
342 #define FIX_HW_BRN_31620
343 #define FIX_HW_BRN_31542
344 #define FIX_HW_BRN_30970
345 #define FIX_HW_BRN_32044
346 #define FIX_HW_BRN_30982
347
348 #else
349 #if SGX_CORE_REV == 213
350 #if defined(SGX_FEATURE_MP)
351 #define FIX_HW_BRN_31425
352 #endif
353 #define FIX_HW_BRN_31542
354 #define FIX_HW_BRN_32044
252 355
253 #else 356 #else
254 #if SGX_CORE_REV == SGX_CORE_REV_HEAD 357 #if SGX_CORE_REV == SGX_CORE_REV_HEAD
@@ -259,6 +362,12 @@
259 #endif 362 #endif
260 #endif 363 #endif
261 #endif 364 #endif
365 #endif
366 #endif
367 #endif
368 #endif
369 #endif
370 #endif
262 371
263 #define SGX_CORE_DEFINED 372 #define SGX_CORE_DEFINED
264#endif 373#endif
@@ -272,7 +381,24 @@
272 #endif 381 #endif
273 382
274 #if SGX_CORE_REV == 100 383 #if SGX_CORE_REV == 100
275 384 #if defined(SGX_FEATURE_MP)
385 #define FIX_HW_BRN_31425
386 #endif
387 #else
388 #if SGX_CORE_REV == 102
389 #if defined(SGX_FEATURE_MP)
390 #define FIX_HW_BRN_31425
391 #endif
392 #else
393 #if SGX_CORE_REV == 103
394 #if defined(SGX_FEATURE_MP)
395 #define FIX_HW_BRN_31425
396 #endif
397 #else
398 #if SGX_CORE_REV == 105
399 #if defined(SGX_FEATURE_MP)
400 #define FIX_HW_BRN_31425
401 #endif
276 #else 402 #else
277 #if SGX_CORE_REV == SGX_CORE_REV_HEAD 403 #if SGX_CORE_REV == SGX_CORE_REV_HEAD
278 404
@@ -280,6 +406,9 @@
280 #error "sgxerrata.h: SGX544 Core Revision unspecified" 406 #error "sgxerrata.h: SGX544 Core Revision unspecified"
281 #endif 407 #endif
282 #endif 408 #endif
409 #endif
410 #endif
411 #endif
283 412
284 #define SGX_CORE_DEFINED 413 #define SGX_CORE_DEFINED
285#endif 414#endif
@@ -302,12 +431,13 @@
302 #if SGX_CORE_REV == 109 431 #if SGX_CORE_REV == 109
303 #define FIX_HW_BRN_29702 432 #define FIX_HW_BRN_29702
304 #define FIX_HW_BRN_29823 433 #define FIX_HW_BRN_29823
434 #define FIX_HW_BRN_31939
305 #else 435 #else
306 #if SGX_CORE_REV == 1012 436 #if SGX_CORE_REV == 1012
307 #define FIX_HW_BRN_29823 437 #define FIX_HW_BRN_31939
308 #else 438 #else
309 #if SGX_CORE_REV == 1013 439 #if SGX_CORE_REV == 1013
310 #define FIX_HW_BRN_29823 440 #define FIX_HW_BRN_31939
311 #else 441 #else
312 #if SGX_CORE_REV == SGX_CORE_REV_HEAD 442 #if SGX_CORE_REV == SGX_CORE_REV_HEAD
313 443
@@ -331,6 +461,16 @@
331 #endif 461 #endif
332 462
333 #if SGX_CORE_REV == 100 463 #if SGX_CORE_REV == 100
464 #if defined(SGX_FEATURE_MP)
465 #define FIX_HW_BRN_31425
466 #endif
467 #else
468 #if SGX_CORE_REV == 101
469 #if defined(SGX_FEATURE_MP)
470 #define FIX_HW_BRN_31425
471 #endif
472 #else
473 #if SGX_CORE_REV == 123
334 474
335 #else 475 #else
336 #if SGX_CORE_REV == SGX_CORE_REV_HEAD 476 #if SGX_CORE_REV == SGX_CORE_REV_HEAD
@@ -339,6 +479,8 @@
339 #error "sgxerrata.h: SGX554 Core Revision unspecified" 479 #error "sgxerrata.h: SGX554 Core Revision unspecified"
340 #endif 480 #endif
341 #endif 481 #endif
482 #endif
483 #endif
342 484
343 #define SGX_CORE_DEFINED 485 #define SGX_CORE_DEFINED
344#endif 486#endif