Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2012 13:58:08 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r236183 - head/sys/dev/drm2/i915
Message-ID:  <201205281358.q4SDw8Lq015072@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Mon May 28 13:58:08 2012
New Revision: 236183
URL: http://svn.freebsd.org/changeset/base/236183

Log:
  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

Modified:
  head/sys/dev/drm2/i915/i915_gem_execbuffer.c

Modified: head/sys/dev/drm2/i915/i915_gem_execbuffer.c
==============================================================================
--- head/sys/dev/drm2/i915/i915_gem_execbuffer.c	Mon May 28 13:55:49 2012	(r236182)
+++ head/sys/dev/drm2/i915/i915_gem_execbuffer.c	Mon May 28 13:58:08 2012	(r236183)
@@ -1090,7 +1090,7 @@ DRM_DEBUG("batchbuffer does not end by M
 	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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205281358.q4SDw8Lq015072>