summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/state_tracker
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-06-28 17:53:16 +0200
committerNicolai Hähnle <[email protected]>2017-08-02 09:50:57 +0200
commit781375ac6f4025d8af729fc3886ea9995f184667 (patch)
tree79b1893979682e5379ec3bea637674add1a7de94 /src/gallium/include/state_tracker
parentbfc26c41208d0b9521c297bcee390e897e577204 (diff)
st/drm: add DRM_CONF_XML_OPTIONS
Allow drivers to return the XML that describes the available config options. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/include/state_tracker')
-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 4383276a4ad..1ac0528448b 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
};