Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Dec 2005 12:38:44 +0200 (EET)
From:      Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>
To:        Max Laier <max@love2party.net>
Cc:        freebsd-current@freebsd.org, Norikatsu Shigemura <nork@freebsd.org>
Subject:   Re: vgapci doesn't want to attach agp on ASUS M5A
Message-ID:  <20051226121547.M46183@atlantis.atlantis.dp.ua>
In-Reply-To: <200512260055.07720.max@love2party.net>
References:  <20051225135216.Y1294@atlantis.atlantis.dp.ua> <20051226014329.152c6918.nork@FreeBSD.org> <200512260055.07720.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help

Hello!

On Mon, 26 Dec 2005, Max Laier wrote:
>> Dmitry Pryanishnikov <dmitry@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).
>>
>> # pciconf -lv | grep vgapci0
>> vgapci0@pci0:2:0:	class=0x030000 card=0x102913bd chip=0x35778086 rev=0x04
>> hdr=0x00
>> # pciconf -rb pci0:2:0 0x0000:0x00ff | manual-formating...
>
> /me too on a IBM X41, pciconf -lv and -rb 0x0000:0x00ff for both instances
> attached.  As well, only 0x01 capability set.

  According to Intel's Mobile 915 PM/GM/GMS and 910GML Express Chipset 
Datasheet, we'll get such a picture on every chipset from this product
line: they define power management capability (0x01) as the only one, see

7.2.29	PMCAPID - Power Management Capabilities ID

 	PCI Device:	2
 	Function:	0
 	Address Offset:	D0h
 	Default Value:	0001h
 	Access:		RO
 	Size:		16 bits

Bit	Access &			Description
 	Default

15:8	  RO		NEXT_PTR
 	  00h		This contains a pointer to next item in capabilities
 			list. This is the final capability in the list
 			and must be set to 00h.

  7:0      RO		CAP_ID.
 	  01h		SIG defines this ID is 01h for power management.





Sincerely, Dmitry
-- 
Atlantis ISP, System Administrator
e-mail:  dmitry@atlantis.dp.ua
nic-hdl: LYNX-RIPE



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