Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 21:16:07 +0000 (UTC)
From:      Robert Noland <rnoland@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r184373 - head/sys/dev/drm
Message-ID:  <200810272116.m9RLG7RR053330@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



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