projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ba91b4
)
[intel] all flushing in intelEmitCopyBlit
author
Keith Packard
<keithp@keithp.com>
Mon, 26 May 2008 07:19:20 +0000
(
00:19
-0700)
committer
Keith Packard
<keithp@keithp.com>
Mon, 26 May 2008 07:19:20 +0000
(
00:19
-0700)
Add both MI_FLUSH and intel_batchbuffer_flush to intelEmitCopyBlit.
This ensures that the data are flushed *and* the gem kernel driver sees the
various memory domain transitions.
src/mesa/drivers/dri/intel/intel_blit.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_blit.c
b/src/mesa/drivers/dri/intel/intel_blit.c
index a1f499731262ee2be8df42b455525807475a66b5..e8d2ad0ae45e1999282c5d8ec184bd3ab2c06590 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_blit.c
+++ b/
src/mesa/drivers/dri/intel/intel_blit.c
@@
-375,6
+375,10
@@
intelEmitCopyBlit(struct intel_context *intel,
src_offset + src_y * src_pitch);
ADVANCE_BATCH();
}
+ BEGIN_BATCH(1, NO_LOOP_CLIPRECTS);
+ OUT_BATCH(MI_FLUSH);
+ ADVANCE_BATCH();
+ intel_batchbuffer_flush(intel->batch);
}