From owner-freebsd-x11@FreeBSD.ORG Thu Oct 2 15:21:25 2008 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B957A1065695 for ; Thu, 2 Oct 2008 15:21:25 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 6A7388FC18 for ; Thu, 2 Oct 2008 15:21:25 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.166.46] ([68.0.14.34]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id m92FKuOu042338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 2 Oct 2008 11:20:56 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Alex In-Reply-To: <48E4CC06.1070802@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-FhQNtBxQ1DoBOgG6/x+m" Organization: FreeBSD Date: Thu, 02 Oct 2008 11:20:50 -0400 Message-Id: <1222960850.12046.6.camel@squirrel.corp.cox.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Oct 2008 15:21:25 -0000 --=-FhQNtBxQ1DoBOgG6/x+m Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thu, 2008-10-02 at 23:26 +1000, Alex wrote: > Robert Noland wrote: >=20 > > Ok, can you guys give this patch a try? I think the memory failures ar= e > > un-related and we probably need to try and figure that out separately. > > This patch should be rejecting the second head during the probe phase, > > so drm should not report *anything* about it. > > > > One of you said something about X also reporting both heads? If that i= s > > true and remains so with this patch, could you send me X logs? I'll tr= y > > and get someone to look into the Intel 2d driver and see what is going > > on with it. > > > > This patch is against -CURRENT. If I need one for STABLE, let me know > > and I'll work out the difference. > > > > robert. > > =20 > >=20 > =20 > Hi Robert, >=20 > The patch did not apply cleanly. I cvsup'd my entire source tree to=20 > RELENG_7 and the patch still wouldn't apply, so had to resort to=20 > inserting the code myself (perhaps I need a patch for STABLE) >=20 > * Added >=20 > #include >=20 > to drmP.h >=20 > * Added the following code to drm_probe() in drm_drv.c >=20 > if (pci_get_class(dev) !=3D PCIC_DISPLAY > || pci_get_subclass(dev) !=3D PCIS_DISPLAY_VGA) > return ENXIO; >=20 >=20 > Kernel build is now broken, code in drm_drv.c throws undefined references= to=20 > PCIC_DISPLAY >=20 >=20 > Any ideas?=20 Patch against RELENG_7. http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch robert. --=-FhQNtBxQ1DoBOgG6/x+m Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk5tIACgkQM4TrQ4qfROOLqgCeJMmSYAAUfE7i0Ha+ovbJVCN4 sYkAn2pWc5iBTLfhSlg/Kd4siiJhONSm =5pyY -----END PGP SIGNATURE----- --=-FhQNtBxQ1DoBOgG6/x+m--