summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-04-10 01:23:15 -0700
committerKenneth Graunke <[email protected]>2018-04-30 11:34:19 -0700
commit0cc98522f9f15b32f28ae97c06a0dc40c4db5e79 (patch)
tree9033722b966dced048caf7cf50a903e9ee9040f2 /src/mesa/drivers
parent8ffc6ee251bdcf4a91916b73c1be71d58e680d34 (diff)
i965: Let batchbuffers be placed anywhere in the 48-bit address space.
We were trying to mark batch buffers with EXEC_OBJECT_CAPTURE, and accidentally stomped EXEC_OBJECT_SUPPORTS_48B_ADDRESS in the process. There's no reason to restrict batch buffers to the lower 4GB. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/intel_batchbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_batchbuffer.c b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
index a29159e41ba..d745c2a3113 100644
--- a/src/mesa/drivers/dri/i965/intel_batchbuffer.c
+++ b/src/mesa/drivers/dri/i965/intel_batchbuffer.c
@@ -191,7 +191,7 @@ recreate_growing_buffer(struct brw_context *brw,
struct brw_bufmgr *bufmgr = screen->bufmgr;
grow->bo = brw_bo_alloc(bufmgr, name, size);
- grow->bo->kflags = can_do_exec_capture(screen) ? EXEC_OBJECT_CAPTURE : 0;
+ grow->bo->kflags |= can_do_exec_capture(screen) ? EXEC_OBJECT_CAPTURE : 0;
grow->partial_bo = NULL;
grow->partial_bo_map = NULL;
grow->partial_bytes = 0;