iris: Actually describe bo_reuse driconf option
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Aug 2019 16:39:46 +0000 (09:39 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 29 Aug 2019 16:40:34 +0000 (09:40 -0700)
Otherwise it doesn't exist and can't be parsed, so everything dies at
screen init time.

Fixes: 6dc4ddc5f81 ("iris: use driconf for 'bo_reuse' parameter")
src/gallium/drivers/iris/driinfo_iris.h

index edfdde44028d5577444eb45ce1a3fac21531edc6..37190ad168ce661b93bd9684ca565b83f1cc0c1d 100644 (file)
@@ -3,3 +3,13 @@
 DRI_CONF_SECTION_DEBUG
    DRI_CONF_DUAL_COLOR_BLEND_BY_LOCATION("false")
 DRI_CONF_SECTION_END
+
+DRI_CONF_SECTION_PERFORMANCE
+
+//= BEGIN VERBATIM
+   DRI_CONF_OPT_BEGIN_V(bo_reuse, enum, 1, "0:1")
+      DRI_CONF_DESC(en, "Buffer object reuse")
+   DRI_CONF_OPT_END
+//= END VERBATIM
+
+DRI_CONF_SECTION_END