diff options
author | kib <kib@FreeBSD.org> | 2012-05-28 13:58:08 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2012-05-28 13:58:08 +0000 |
commit | d57cf5a8a07cc28b4bdbe58f60e8fa64a8a86ec9 (patch) | |
tree | 3c5725e0b43c03afb8f04d29df160555a4780ebc /sys/dev/drm2 | |
parent | 07bc41a97b279543e09a00b202498277a7d09145 (diff) | |
download | FreeBSD-src-d57cf5a8a07cc28b4bdbe58f60e8fa64a8a86ec9.zip FreeBSD-src-d57cf5a8a07cc28b4bdbe58f60e8fa64a8a86ec9.tar.gz |
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
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r-- | sys/dev/drm2/i915/i915_gem_execbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/drm2/i915/i915_gem_execbuffer.c b/sys/dev/drm2/i915/i915_gem_execbuffer.c index cea6970..dbd5c4e 100644 --- a/sys/dev/drm2/i915/i915_gem_execbuffer.c +++ b/sys/dev/drm2/i915/i915_gem_execbuffer.c @@ -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, |