From: Nicolai Hähnle Date: Wed, 28 Jun 2017 15:53:16 +0000 (+0200) Subject: st/drm: add DRM_CONF_XML_OPTIONS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=781375ac6f4025d8af729fc3886ea9995f184667;p=mesa.git st/drm: add DRM_CONF_XML_OPTIONS Allow drivers to return the XML that describes the available config options. Reviewed-by: Marek Olšák --- 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 };