From 4df13f55b6c2cdda82b7909e1b089cc72f4c1151 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 23 Mar 2015 16:15:11 -0700 Subject: [PATCH] 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 df818fed713..54c1c6c3259 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; } -- 2.30.2