Re: [Dri-devel] i think i have a functioning FreeBSD SiS 630e/300 agp device. howdo i test it?

2002-01-24 Thread Jens Owen

John Utz wrote:
 
 hi;
 
 i have reason to suspect that i have successfully hooked up agp in my
 FreeBSD kernel.
 
 Why? because agp0 is now attached to a pci id that matches the one that
 http://www.yourvote.com/pci/vendors.txt asserts is the agp port on the
 SiS630
 
 agp0@pci1:0:0:  class=0x03 card=0x80351043 chip=0x63001039 rev=0x21
 hdr=0x00
 
 ('chip' is the way the pci id  called out in FreeBSD land)
 
 this was not the case when i started out on this adventure, so i've hit my
 first incremental milestone

Congradulations.
 
 ok dri guys, what's the most trivial piece of code that will tell me if
 this is actually functional and acting agp-ish?
 
 note that the answer to this question is an important bit of
 fundamental dri-porting wisdom!

I've seen this done in two ways in the past:

1) A test harness that just draws a simple box.  This was actually quite
difficult to implement--lot's of device specific setup had to be
reproduced from the 3D client side driver into the test harness.

2) Just try bringing up gears.  It's likely to break right away, in
initialization, if it's going to break, but pushing thrue the init
process, then the first frame rendering is how I've seen it done most
efficiently in the past.

Regards,
Jens

-- /\
 Jens Owen/  \/\ _
  [EMAIL PROTECTED]  /\ \ \   Steamboat Springs, Colorado

___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel



[Dri-devel] i think i have a functioning FreeBSD SiS 630e/300 agp device. howdo i test it?

2002-01-23 Thread John Utz

hi;

i have reason to suspect that i have successfully hooked up agp in my 
FreeBSD kernel.

Why? because agp0 is now attached to a pci id that matches the one that
http://www.yourvote.com/pci/vendors.txt asserts is the agp port on the 
SiS630

agp0@pci1:0:0:  class=0x03 card=0x80351043 chip=0x63001039 rev=0x21
hdr=0x00

('chip' is the way the pci id  called out in FreeBSD land)

this was not the case when i started out on this adventure, so i've hit my 
first incremental milestone

ok dri guys, what's the most trivial piece of code that will tell me if 
this is actually functional and acting agp-ish?

note that the answer to this question is an important bit of 
fundamental dri-porting wisdom!

tnx!

johnu

-- 

John L. Utz III
[EMAIL PROTECTED]

Idiocy is the Impulse Function in the Convolution of Life




___
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel