[Mesa-dev] [PATCH 2/2] vc4: Take precedence over ilo when in simulator mode.
Eric Anholt
eric at anholt.net
Sat Nov 21 18:47:23 PST 2015
They're exclusive at build time, but the ilo entry is always present, so
we'd try to use it and fail out.
---
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index b5dfc56..2f955e2 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -94,6 +94,14 @@ static const struct drm_driver_descriptor driver_descriptors[] = {
.create_screen = pipe_i915_create_screen,
.configuration = configuration_query,
},
+#ifdef USE_VC4_SIMULATOR
+ {
+ .name = "i965",
+ .driver_name = "vc4",
+ .create_screen = pipe_vc4_create_screen,
+ .configuration = configuration_query,
+ },
+#endif
{
.name = "i965",
.driver_name = "i915",
@@ -154,14 +162,6 @@ static const struct drm_driver_descriptor driver_descriptors[] = {
.create_screen = pipe_vc4_create_screen,
.configuration = configuration_query,
},
-#ifdef USE_VC4_SIMULATOR
- {
- .name = "i965",
- .driver_name = "vc4",
- .create_screen = pipe_vc4_create_screen,
- .configuration = configuration_query,
- },
-#endif
};
#endif
--
2.6.2
More information about the mesa-dev
mailing list