summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/target-helpers
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-04-22 17:50:00 -0400
committerMarek Olšák <[email protected]>2019-04-23 21:20:26 -0400
commit8ae50e6004e6279493d7ea771f540cc871a90149 (patch)
tree802ab37e8ae8bf276ffc5534d7f8cc349833e4b3 /src/gallium/auxiliary/target-helpers
parente3841368f34afe844bab25010b89f497cacc1dad (diff)
gallium: replace DRM_CONF_SHARE_FD with PIPE_CAP_DMABUF
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/target-helpers')
-rw-r--r--src/gallium/auxiliary/target-helpers/drm_helper.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/gallium/auxiliary/target-helpers/drm_helper.h b/src/gallium/auxiliary/target-helpers/drm_helper.h
index a89c47e4861..101e0e2c22c 100644
--- a/src/gallium/auxiliary/target-helpers/drm_helper.h
+++ b/src/gallium/auxiliary/target-helpers/drm_helper.h
@@ -7,20 +7,9 @@
#include "state_tracker/drm_driver.h"
#include "util/xmlpool.h"
-static const struct drm_conf_ret share_fd_ret = {
- .type = DRM_CONF_BOOL,
- .val.val_bool = true,
-};
-
const struct drm_conf_ret *
pipe_default_configuration_query(enum drm_conf conf)
{
- switch (conf) {
- case DRM_CONF_SHARE_FD:
- return &share_fd_ret;
- default:
- break;
- }
return NULL;
}