svn commit: r184373 - head/sys/dev/drm

Robert Noland rnoland at FreeBSD.org
Mon Oct 27 14:16:07 PDT 2008


Author: rnoland
Date: Mon Oct 27 21:16:07 2008
New Revision: 184373
URL: http://svn.freebsd.org/changeset/base/184373

Log:
  Don't report GEM capability until we actually have GEM support.
  
  This was causing the newer Intel video drivers to fail and abort X.
  
  Approved by:	jhb (mentor)

Modified:
  head/sys/dev/drm/i915_dma.c

Modified: head/sys/dev/drm/i915_dma.c
==============================================================================
--- head/sys/dev/drm/i915_dma.c	Mon Oct 27 21:06:16 2008	(r184372)
+++ head/sys/dev/drm/i915_dma.c	Mon Oct 27 21:16:07 2008	(r184373)
@@ -914,7 +914,8 @@ static int i915_getparam(struct drm_devi
 		value = dev->pci_device;
 		break;
 	case I915_PARAM_HAS_GEM:
-		value = 1;
+		/* We need to reset this to 1 once we have GEM */
+		value = 0;
 		break;
 	default:
 		DRM_ERROR("Unknown parameter %d\n", param->param);


More information about the svn-src-head mailing list