Intel G33 and gtt_size

Andriy Gapon avg at icyb.net.ua
Fri Nov 7 09:50:01 PST 2008


on 07/11/2008 19:34 Andriy Gapon said the following:
> on 07/11/2008 18:13 Robert Noland said the following:
>> On Fri, 2008-11-07 at 13:43 +0200, Andriy Gapon wrote:
>>> Eric,
>>>
>>> I found this old message from you:
>>> http://lists.freebsd.org/pipermail/freebsd-stable/2008-January/039638.html
>>>
>>> Looking at the code in sys/pci/agp_i810.c I see that gtt_size is still
>>> calculated using CHIP_I965 path.
>>>
>>> So I would like to inquire if fixing that code is still needed and if
>>> simply setting gtt_size to zero for CHIP_G33 case would a sufficient and
>>>  correct patch.
>>> And, if patched this way, will it work with xf86-video-intel driver
>>> version 2.4.2 (from ports).
>> I think you are probably looking for me instead of anholt@ these days.
>> I think if you look at agp_i810.c from -CURRENT your issue is already
>> addressed.
> 
> Robert,
> 
> it seems that agp_i810.c in current (head) and in my releng/7 (r184741)
> are identical.

Oops, not true! I didn't notice that agp files in head live in a new
dedicated directory.
Please disregard my report.
I am fetching and trying the new file now.

> I tried using both svn version and my hacked version
> where gtt_size is forced to 0, but in both cases result is the same - X
> crash.
> Xorg.0.log files are the same too, as well as kernel messages.
> 
> Here's from Xorg.0.log:
> (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x006ff000 (pgoffset 1791)
> (WW) intel(0): xf86BindGARTMemory: binding of gart memory with key 1
>         at offset 0x6ff000 failed (Invalid argument)
> 
> Here's from dmesg:
> agp0: <Intel G33 SVGA controller> on vgapci0
> agp0: detected 7676k stolen memory
> agp0: aperture size is 256M
> ...
> agp0: trying to bind into stolen memory
> 
> I am attaching full Xorg log, just in case.
> 
> BTW, in BIOS settings for Video there is an option to select either
> "DVMT" or "Fixed", by default it has DVMT. Which one would be more
> convenient for our driver?
> 
> 


-- 
Andriy Gapon


More information about the freebsd-x11 mailing list