Date: Thu, 02 Oct 2008 11:20:50 -0400 From: Robert Noland <rnoland@FreeBSD.org> To: Alex <mailinglist@ahhyes.net> Cc: freebsd-x11@freebsd.org Subject: Re: DRI not working Message-ID: <1222960850.12046.6.camel@squirrel.corp.cox.com> In-Reply-To: <48E4CC06.1070802@ahhyes.net> References: <48E4CC06.1070802@ahhyes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Thu, 2008-10-02 at 23:26 +1000, Alex wrote: > Robert Noland wrote: > > > Ok, can you guys give this patch a try? I think the memory failures are > > 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 is > > true and remains so with this patch, could you send me X logs? I'll try > > 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. > > > > > > Hi Robert, > > The patch did not apply cleanly. I cvsup'd my entire source tree to > RELENG_7 and the patch still wouldn't apply, so had to resort to > inserting the code myself (perhaps I need a patch for STABLE) > > * Added > > #include <dev/pci/pcireg.h> > > to drmP.h > > * Added the following code to drm_probe() in drm_drv.c > > if (pci_get_class(dev) != PCIC_DISPLAY > || pci_get_subclass(dev) != PCIS_DISPLAY_VGA) > return ENXIO; > > > Kernel build is now broken, code in drm_drv.c throws undefined references to > PCIC_DISPLAY > > > Any ideas? Patch against RELENG_7. http://people.freebsd.org/~rnoland/i855-no-attach-sec-3.patch robert. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEABECAAYFAkjk5tIACgkQM4TrQ4qfROOLqgCeJMmSYAAUfE7i0Ha+ovbJVCN4 sYkAn2pWc5iBTLfhSlg/Kd4siiJhONSm =5pyY -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1222960850.12046.6.camel>
