summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_context.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-20 23:11:37 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitb701096ab9577527531db8ef0cdc1761bde4f21c (patch)
tree06335b38d975594a06653bef45b0942a635eaaf4 /src/gallium/drivers/iris/iris_context.c
parent64f043570da6c2293c056a12a8d439a370241f9f (diff)
iris: make iris_batch target a particular ring
Diffstat (limited to 'src/gallium/drivers/iris/iris_context.c')
-rw-r--r--src/gallium/drivers/iris/iris_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_context.c b/src/gallium/drivers/iris/iris_context.c
index ed8172ad441..a9a93c57ff4 100644
--- a/src/gallium/drivers/iris/iris_context.c
+++ b/src/gallium/drivers/iris/iris_context.c
@@ -28,6 +28,7 @@
#include "util/u_inlines.h"
#include "util/u_format.h"
#include "util/u_upload_mgr.h"
+#include "i915_drm.h"
#include "iris_context.h"
#include "iris_resource.h"
#include "iris_screen.h"
@@ -111,7 +112,7 @@ iris_create_context(struct pipe_screen *pscreen, void *priv, unsigned flags)
iris_init_program_cache(ice);
- iris_batch_init(&ice->render_batch, screen, &ice->dbg);
+ iris_init_batch(&ice->render_batch, screen, &ice->dbg, I915_EXEC_RENDER);
return ctx;
}