st/drm: add DRM_CONF_XML_OPTIONS
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 28 Jun 2017 15:53:16 +0000 (17:53 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 2 Aug 2017 07:50:57 +0000 (09:50 +0200)
Allow drivers to return the XML that describes the available config
options.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/include/state_tracker/drm_driver.h

index 4383276a4ad4f5a4bbefbe33f7262f8a6aed7435..1ac0528448bbd73836cc5edee49e7034aabe7372 100644 (file)
@@ -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
 };