Mesa (master): vc4: Allow DRI3 on simulation, as well.

Eric Anholt anholt at kemper.freedesktop.org
Tue Mar 24 17:39:48 UTC 2015


Module: Mesa
Branch: master
Commit: 4df13f55b6c2cdda82b7909e1b089cc72f4c1151
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4df13f55b6c2cdda82b7909e1b089cc72f4c1151

Author: Eric Anholt <eric at anholt.net>
Date:   Mon Mar 23 16:15:11 2015 -0700

vc4: Allow DRI3 on simulation, as well.

The problem I'd seen before seems to be gone.

---

 src/gallium/auxiliary/target-helpers/inline_drm_helper.h |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
index df818fe..54c1c6c 100644
--- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h
@@ -472,6 +472,11 @@ dd_configuration(enum drm_conf conf)
    if (strcmp(driver_name, "vc4") == 0)
       return configuration_query(conf);
    else
+#if defined(USE_VC4_SIMULATOR)
+   if (strcmp(driver_name, "i965") == 0)
+      return configuration_query(conf);
+   else
+#endif
 #endif
       return NULL;
 }




More information about the mesa-commit mailing list