aboutsummaryrefslogtreecommitdiffstats
path: root/libkms
diff options
context:
space:
mode:
authorEric Engestrom2018-01-26 10:21:30 -0600
committerEric Engestrom2018-01-29 09:41:52 -0600
commitee47329bef727a109418f7134638e0fe67210748 (patch)
tree076307c0601452c83752525a3b7c98dd0c0e3bfe /libkms
parent540827cc7da2228ae54947adcbf33555a48d0b1c (diff)
downloadexternal-libdrm-ee47329bef727a109418f7134638e0fe67210748.tar.gz
external-libdrm-ee47329bef727a109418f7134638e0fe67210748.tar.xz
external-libdrm-ee47329bef727a109418f7134638e0fe67210748.zip
meson,configure: always define HAVE_{INTEL,VMWGFX,NOUVEAU,EXYNOS,VC4,RADEON}
Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
Diffstat (limited to 'libkms')
-rw-r--r--libkms/linux.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libkms/linux.c b/libkms/linux.c
index 0b50777e..1431eb10 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -110,27 +110,27 @@ linux_from_sysfs(int fd, struct kms_driver **out)
110 if (ret) 110 if (ret)
111 return ret; 111 return ret;
112 112
113#ifdef HAVE_INTEL 113#if HAVE_INTEL
114 if (!strcmp(name, "intel")) 114 if (!strcmp(name, "intel"))
115 ret = intel_create(fd, out); 115 ret = intel_create(fd, out);
116 else 116 else
117#endif 117#endif
118#ifdef HAVE_VMWGFX 118#if HAVE_VMWGFX
119 if (!strcmp(name, "vmwgfx")) 119 if (!strcmp(name, "vmwgfx"))
120 ret = vmwgfx_create(fd, out); 120 ret = vmwgfx_create(fd, out);
121 else 121 else
122#endif 122#endif
123#ifdef HAVE_NOUVEAU 123#if HAVE_NOUVEAU
124 if (!strcmp(name, "nouveau")) 124 if (!strcmp(name, "nouveau"))
125 ret = nouveau_create(fd, out); 125 ret = nouveau_create(fd, out);
126 else 126 else
127#endif 127#endif
128#ifdef HAVE_RADEON 128#if HAVE_RADEON
129 if (!strcmp(name, "radeon")) 129 if (!strcmp(name, "radeon"))
130 ret = radeon_create(fd, out); 130 ret = radeon_create(fd, out);
131 else 131 else
132#endif 132#endif
133#ifdef HAVE_EXYNOS 133#if HAVE_EXYNOS
134 if (!strcmp(name, "exynos")) 134 if (!strcmp(name, "exynos"))
135 ret = exynos_create(fd, out); 135 ret = exynos_create(fd, out);
136 else 136 else