On Sunday 25 December 2005 11:43 am, Norikatsu Shigemura wrote: > On Sun, 25 Dec 2005 14:28:47 +0200 (EET) > > Dmitry Pryanishnikov <dmitry_at_atlantis.dp.ua> wrote: > > I've tried both to compile devices agp,drm,i915 to the kernel and load > > them via /boot/loader.conf - result with the stock kernel was the same: > > vgapci0: <VGA-compatible display> port 0xec00-0xec07 mem > > 0xfeb80000-0xfebfffff,0xd0000000-0xdfffffff,0xfeb40000-0xfeb7ffff irq > > 16 at device 2.0 on pci0 > > drm0: <Intel i915GM> on vgapci0 > > error: [drm:pid0:drm_load] *ERROR* Card isn't AGP, or couldn't initialize > > AGP. device_attach: drm0 attach returned 12 > > I had to hack /sys/dev/pci/vga_pci.c: > > I have same problem in my i830M, too and fixed Dmitry's patch. > According to my pciconf -rb, pci_find_extcap(dev, PCIY_AGP, NULL) > never find PCIY_AGP(because of 0x01). Ok, it looks like agp_i810.c doesn't actually look for the AGP cap either which is quite odd, but anyways. The best fix is to fix the AGP drivers to use identify routines and change the hostb and vgapci drivers to be dumber. Creating agp and drm devices in vgapci is a temporary hack anyway. -- John Baldwin <jhb_at_FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.orgReceived on Tue Dec 27 2005 - 17:05:49 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:49 UTC