diff options
author | Eric Anholt <[email protected]> | 2014-10-14 11:21:04 +0100 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-12-17 16:07:01 -0800 |
commit | 39bc9360116e1c944c1d0d04f67a6ec5f010371f (patch) | |
tree | c241e633ec5bdbdf736b46db9e4b33faaac07e27 /src/gallium/auxiliary/target-helpers | |
parent | 113044e1b9d8f70a26f826f7c03adcbbc8ecb138 (diff) |
vc4: Add dmabuf support.
This gets DRI3 working on modesetting with glamor. It's not enabled under
simulation, because it looks like handing our dumb-allocated buffers off
to the server doesn't actually work for the server's rendering.
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-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 81649d42582..df818fed713 100644 --- a/src/gallium/auxiliary/target-helpers/inline_drm_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_drm_helper.h @@ -468,6 +468,11 @@ dd_configuration(enum drm_conf conf) return configuration_query(conf); else #endif +#if defined(GALLIUM_VC4) + if (strcmp(driver_name, "vc4") == 0) + return configuration_query(conf); + else +#endif return NULL; } #endif /* INLINE_DRM_HELPER_H */ |