Mesa (master): st/drm: add DRM_CONF_XML_OPTIONS
Nicolai Hähnle
nh at kemper.freedesktop.org
Wed Aug 2 07:59:35 UTC 2017
Module: Mesa
Branch: master
Commit: 781375ac6f4025d8af729fc3886ea9995f184667
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=781375ac6f4025d8af729fc3886ea9995f184667
Author: Nicolai Hähnle <nicolai.haehnle at amd.com>
Date: Wed Jun 28 17:53:16 2017 +0200
st/drm: add DRM_CONF_XML_OPTIONS
Allow drivers to return the XML that describes the available config
options.
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
---
src/gallium/include/state_tracker/drm_driver.h | 2 ++
1 file changed, 2 insertions(+)
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
};
More information about the mesa-commit
mailing list