summaryrefslogtreecommitdiff
path: root/lib/drmtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/drmtest.c')
-rw-r--r--lib/drmtest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/drmtest.c b/lib/drmtest.c
index 7b2227fe..60f2431e 100644
--- a/lib/drmtest.c
+++ b/lib/drmtest.c
@@ -183,6 +183,11 @@ void gem_quiescent_gpu(int fd)
gem_execbuf(fd, &execbuf);
}
+ if (gem_has_bsd2(fd)) {
+ execbuf.flags = I915_EXEC_BSD | (2 << 13);
+ gem_execbuf(fd, &execbuf);
+ }
+
if (gem_has_vebox(fd)) {
execbuf.flags = LOCAL_I915_EXEC_VEBOX;
gem_execbuf(fd, &execbuf);