diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-08 05:41:34 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2018-01-08 05:41:34 +0000 |
commit | c00801de923e125863aaf8180439d59d610b2517 (patch) | |
tree | e2896aa2785f3cf2151aeeb3c95fb5cc09a2fe02 /lib/mesa/src/glx/g_glxglvnddispatchfuncs.c | |
parent | be30e6efb92db21299b936c0e068e7088941e9c9 (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/glx/g_glxglvnddispatchfuncs.c')
-rw-r--r-- | lib/mesa/src/glx/g_glxglvnddispatchfuncs.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lib/mesa/src/glx/g_glxglvnddispatchfuncs.c b/lib/mesa/src/glx/g_glxglvnddispatchfuncs.c index 56d894eda..b5e33981a 100644 --- a/lib/mesa/src/glx/g_glxglvnddispatchfuncs.c +++ b/lib/mesa/src/glx/g_glxglvnddispatchfuncs.c @@ -4,7 +4,6 @@ */ #include <stdlib.h> -#include "glxclient.h" #include "glxglvnd.h" #include "glxglvnddispatchfuncs.h" #include "g_glxglvnddispatchindices.h" @@ -51,7 +50,6 @@ const char * const __glXDispatchTableStrings[DI_LAST_INDEX] = { __ATTRIB(GetCurrentDisplayEXT), // glXGetCurrentDrawable implemented by libglvnd // glXGetCurrentReadDrawable implemented by libglvnd - __ATTRIB(GetDriverConfig), // glXGetFBConfigAttrib implemented by libglvnd __ATTRIB(GetFBConfigAttribSGIX), __ATTRIB(GetFBConfigFromVisualSGIX), @@ -336,17 +334,6 @@ static Display *dispatch_GetCurrentDisplayEXT(void) -static const char *dispatch_GetDriverConfig(const char *driverName) -{ - /* - * The options are constant for a given driverName, so we do not need - * a context (and apps expect to be able to call this without one). - */ - return glXGetDriverConfig(driverName); -} - - - static int dispatch_GetFBConfigAttribSGIX(Display *dpy, GLXFBConfigSGIX config, int attribute, int *value_return) { @@ -952,7 +939,6 @@ const void * const __glXDispatchFunctions[DI_LAST_INDEX + 1] = { __ATTRIB(DestroyGLXPbufferSGIX), __ATTRIB(GetContextIDEXT), __ATTRIB(GetCurrentDisplayEXT), - __ATTRIB(GetDriverConfig), __ATTRIB(GetFBConfigAttribSGIX), __ATTRIB(GetFBConfigFromVisualSGIX), __ATTRIB(GetMscRateOML), |