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)
This commit is contained in:
Robert Noland 2008-10-27 21:16:07 +00:00
parent a3f027fa56
commit c85e91464a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=184373

View File

@ -914,7 +914,8 @@ static int i915_getparam(struct drm_device *dev, void *data,
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);