summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-08-29 09:39:46 -0700
committerKenneth Graunke <[email protected]>2019-08-29 09:40:34 -0700
commitfda9fb8dcd77930c4b7d258f629b5c5f4574a08b (patch)
tree8544409fe9e08b9f915eb8e5a0cb24102cba522c /src/gallium
parentaace7d35001aff38f8291f4b960389e88abb95ef (diff)
iris: Actually describe bo_reuse driconf option
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")
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/iris/driinfo_iris.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/driinfo_iris.h b/src/gallium/drivers/iris/driinfo_iris.h
index edfdde44028..37190ad168c 100644
--- a/src/gallium/drivers/iris/driinfo_iris.h
+++ b/src/gallium/drivers/iris/driinfo_iris.h
@@ -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