mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
i965: Giant pile of flushing to track down SNB bringup issues.
This should go away before we push the code.
This commit is contained in:
parent
d512aa3d6d
commit
d971375bc1
5 changed files with 12 additions and 0 deletions
|
|
@ -273,6 +273,8 @@ static void upload_cc_state_pointers(struct brw_context *brw)
|
|||
OUT_RELOC(brw->cc.blend_state_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 1);
|
||||
OUT_RELOC(brw->cc.depth_stencil_state_bo, I915_GEM_DOMAIN_INSTRUCTION, 0, 1);
|
||||
ADVANCE_BATCH();
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -64,6 +64,8 @@ upload_clip_state(struct brw_context *brw)
|
|||
provoking);
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
}
|
||||
|
||||
const struct brw_tracked_state gen6_clip_state = {
|
||||
|
|
|
|||
|
|
@ -74,6 +74,8 @@ upload_gs_state(struct brw_context *brw)
|
|||
OUT_BATCH(0);
|
||||
OUT_BATCH(0);
|
||||
ADVANCE_BATCH();
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
}
|
||||
|
||||
const struct brw_tracked_state gen6_gs_state = {
|
||||
|
|
|
|||
|
|
@ -68,6 +68,8 @@ upload_urb(struct brw_context *brw)
|
|||
OUT_BATCH(((brw->urb.vs_size - 1) << GEN6_URB_GS_SIZE_SHIFT) |
|
||||
((brw->urb.nr_gs_entries) << GEN6_URB_GS_SIZE_SHIFT));
|
||||
ADVANCE_BATCH();
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
}
|
||||
|
||||
const struct brw_tracked_state gen6_urb = {
|
||||
|
|
|
|||
|
|
@ -59,6 +59,8 @@ upload_vs_state(struct brw_context *brw)
|
|||
GEN6_VS_STATISTICS_ENABLE);
|
||||
ADVANCE_BATCH();
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
|
||||
if (vp->use_const_buffer || nr_params == 0) {
|
||||
/* Disable the push constant buffers. */
|
||||
BEGIN_BATCH(5);
|
||||
|
|
@ -102,6 +104,8 @@ upload_vs_state(struct brw_context *brw)
|
|||
|
||||
drm_intel_bo_unreference(constant_bo);
|
||||
}
|
||||
|
||||
intel_batchbuffer_emit_mi_flush(intel->batch);
|
||||
}
|
||||
|
||||
const struct brw_tracked_state gen6_vs_state = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue