diff options
author | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-06-28 17:53:16 +0200 |
---|---|---|
committer | Nicolai Hähnle <nicolai.haehnle@amd.com> | 2017-07-31 15:38:55 +0200 |
commit | d297591e79e6dc5f3f043b5cb83c5cb25b1856be (patch) | |
tree | 14939a1041fc70afe7372e5f8dc6ec7530681947 | |
parent | 389e2fa77c29cb5a93a2f7639d82b4d04062f013 (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 <marek.olsak@amd.com>
-rw-r--r-- | src/gallium/include/state_tracker/drm_driver.h | 2 |
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 }; |