summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolai Hähnle <nicolai.haehnle@amd.com>2017-06-28 17:53:16 +0200
committerNicolai Hähnle <nicolai.haehnle@amd.com>2017-07-13 13:27:45 +0200
commitec50666cdfa077933e30179e8fa6ce134d9e69cd (patch)
tree20dd593b3824dd6d915e68868547bd7cd7cde7cc
parent9724f046b5ab77b506e23cbd0d34694896ff920f (diff)
st/drm: add DRM_CONF_XML_OPTIONS
Allow drivers to return the XML that describes the available config options.
-rw-r--r--src/gallium/include/state_tracker/drm_driver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/include/state_tracker/drm_driver.h b/src/gallium/include/state_tracker/drm_driver.h
index 4383276a4a..1ac0528448 100644
--- a/src/gallium/include/state_tracker/drm_driver.h
+++ b/src/gallium/include/state_tracker/drm_driver.h
@@ -63,6 +63,8 @@ enum drm_conf {
DRM_CONF_THROTTLE, /* DRM_CONF_INT. */
/* Can this driver, running on this kernel, import and export dma-buf fds? */
DRM_CONF_SHARE_FD, /* DRM_CONF_BOOL. */
+ /* XML string describing the available config options. */
+ DRM_CONF_XML_OPTIONS, /* DRM_CONF_POINTER */
DRM_CONF_MAX
};