diff options
author | Eric Anholt <[email protected]> | 2015-03-23 16:15:11 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2015-03-24 10:39:12 -0700 |
commit | 4df13f55b6c2cdda82b7909e1b089cc72f4c1151 (patch) | |
tree | 79b0b00919be996494031da8fc8e627e98ad9280 | |
parent | 7f797e3d173c7a84aa5d231a1c173b00e84ea44f (diff) |
vc4: Allow DRI3 on simulation, as well.
The problem I'd seen before seems to be gone.
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_drm_helper.h | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |