1 diff --git a/src/gallium/frontends/dri/dri_util.c b/src/gallium/frontends/dri/dri_util.c
2 index 4c93d2e4194..8f03191c875 100644
3 --- a/src/gallium/frontends/dri/dri_util.c
4 +++ b/src/gallium/frontends/dri/dri_util.c
5 @@ -194,35 +194,6 @@ dri2CreateNewScreen(int scrn, int fd,
6 driver_configs, false, data);
10 -swkmsCreateNewScreen(int scrn, int fd,
11 - const __DRIextension **extensions,
12 - const __DRIconfig ***driver_configs, void *data)
14 - return driCreateNewScreen3(scrn, fd, extensions,
15 - dri_swrast_kms_driver_extensions,
16 - driver_configs, false, data);
19 -/** swrast driver createNewScreen entrypoint. */
21 -driSWRastCreateNewScreen(int scrn, const __DRIextension **extensions,
22 - const __DRIconfig ***driver_configs, void *data)
24 - return driCreateNewScreen3(scrn, -1, extensions,
25 - galliumsw_driver_extensions,
26 - driver_configs, false, data);
30 -driSWRastCreateNewScreen2(int scrn, const __DRIextension **extensions,
31 - const __DRIextension **driver_extensions,
32 - const __DRIconfig ***driver_configs, void *data)
34 - return driCreateNewScreen3(scrn, -1, extensions, driver_extensions,
35 - driver_configs, false, data);
39 driSWRastCreateNewScreen3(int scrn, const __DRIextension **extensions,
40 const __DRIextension **driver_extensions,
41 @@ -932,35 +903,8 @@ const __DRIdri2Extension driDRI2Extension = {
42 .createNewScreen3 = driCreateNewScreen3,
45 -const __DRIdri2Extension swkmsDRI2Extension = {
46 - .base = { __DRI_DRI2, 5 },
48 - .createNewScreen = swkmsCreateNewScreen,
49 - .createNewDrawable = driCreateNewDrawable,
50 - .createNewContext = driCreateNewContext,
51 - .getAPIMask = driGetAPIMask,
52 - .createNewContextForAPI = driCreateNewContextForAPI,
53 - .allocateBuffer = dri2AllocateBuffer,
54 - .releaseBuffer = dri2ReleaseBuffer,
55 - .createContextAttribs = driCreateContextAttribs,
56 - .createNewScreen2 = driCreateNewScreen2,
57 - .createNewScreen3 = driCreateNewScreen3,
62 -const __DRIswrastExtension driSWRastExtension = {
63 - .base = { __DRI_SWRAST, 5 },
65 - .createNewScreen = driSWRastCreateNewScreen,
66 - .createNewDrawable = driCreateNewDrawable,
67 - .createNewContextForAPI = driCreateNewContextForAPI,
68 - .createContextAttribs = driCreateContextAttribs,
69 - .createNewScreen2 = driSWRastCreateNewScreen2,
70 - .queryBufferAge = driSWRastQueryBufferAge,
71 - .createNewScreen3 = driSWRastCreateNewScreen3,
74 const __DRI2configQueryExtension dri2ConfigQueryExtension = {
75 .base = { __DRI2_CONFIG_QUERY, 2 },