summaryrefslogtreecommitdiff
path: root/lib/mesa/src/util/register_allocate.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-01-08 05:41:41 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-01-08 05:41:41 +0000
commit28b1530fee42a3fea77d7918f5f612e2e052f659 (patch)
tree08a228d317d8f1d7fe500b868d3334e371cf3102 /lib/mesa/src/util/register_allocate.h
parente0bf2746b74787c4c07df1bb7b1585d70397b9cb (diff)
Revert to Mesa 13.0.6 again.
Corruption has again been reported on Intel hardware running Xorg with the modesetting driver (which uses OpenGL based acceleration instead of SNA acceleration the intel driver defaults to). Reported in various forms on Sandy Bridge (X220), Ivy Bridge (X230) and Haswell (X240). Confirmed to not occur with the intel driver but the xserver was changed to default to the modesetting driver on >= gen4 hardware (except Ironlake). One means of triggering this is to open a large pdf with xpdf on an idle machine and highlight a section of the document. There have been reports of gpu hangs on gen4 intel hardware (T500 with GM45, X61 with 965GM) when starting Xorg as well.
Diffstat (limited to 'lib/mesa/src/util/register_allocate.h')
-rw-r--r--lib/mesa/src/util/register_allocate.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/mesa/src/util/register_allocate.h b/lib/mesa/src/util/register_allocate.h
index 6abb4e04d..628d2bbbc 100644
--- a/lib/mesa/src/util/register_allocate.h
+++ b/lib/mesa/src/util/register_allocate.h
@@ -25,11 +25,9 @@
*
*/
-#ifndef REGISTER_ALLOCATE_H
-#define REGISTER_ALLOCATE_H
-
#include <stdbool.h>
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -91,5 +89,3 @@ int ra_get_best_spill_node(struct ra_graph *g);
#ifdef __cplusplus
} // extern "C"
#endif
-
-#endif /* REGISTER_ALLOCATE_H */