svn commit: r257311 - stable/10/sys/dev/drm2/i915

Konstantin Belousov kib at FreeBSD.org
Tue Oct 29 07:35:19 UTC 2013


Author: kib
Date: Tue Oct 29 07:35:19 2013
New Revision: 257311
URL: http://svnweb.freebsd.org/changeset/base/257311

Log:
  MFC r256848:
  Use plain register read for waiting of the reset completion
  notification, to avoid gt_lock recursion.
  
  Approved by:	re (glebius)

Modified:
  stable/10/sys/dev/drm2/i915/i915_drv.c
Directory Properties:
  stable/10/sys/   (props changed)

Modified: stable/10/sys/dev/drm2/i915/i915_drv.c
==============================================================================
--- stable/10/sys/dev/drm2/i915/i915_drv.c	Tue Oct 29 07:33:55 2013	(r257310)
+++ stable/10/sys/dev/drm2/i915/i915_drv.c	Tue Oct 29 07:35:19 2013	(r257311)
@@ -685,7 +685,7 @@ gen6_do_reset(struct drm_device *dev, u8
 
 	/* Spin waiting for the device to ack the reset request */
 	ret = _intel_wait_for(dev,
-	    (I915_READ(GEN6_GDRST) & GEN6_GRDOM_FULL) == 0,
+	    (I915_READ_NOTRACE(GEN6_GDRST) & GEN6_GRDOM_FULL) == 0,
 	    500, 1, "915rst");
 
 	/* If reset with a user forcewake, try to restore, otherwise turn it off */


More information about the svn-src-all mailing list