Disable end of buffer fixup by default. New DDX does not need this, and
since batch_len is unused by Linux driver, it seems that it is sometimes gets passed wrong. This causes command buffer corruption and GPU hung. Old GEMified DDX drivers that needs this workaround are not supported. MFC after: 1 month
This commit is contained in:
parent
886add7764
commit
46932515ac
@ -1090,7 +1090,7 @@ DRM_DEBUG("batchbuffer does not end by MI_BATCH_BUFFER_END, overwriting last bo
|
||||
pmap_unmapdev((vm_offset_t)mkva, 2 * PAGE_SIZE);
|
||||
}
|
||||
|
||||
int i915_fix_mi_batchbuffer_end = 1;
|
||||
int i915_fix_mi_batchbuffer_end = 0;
|
||||
|
||||
static int
|
||||
i915_reset_gen7_sol_offsets(struct drm_device *dev,
|
||||
|
Loading…
x
Reference in New Issue
Block a user