Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2012 10:49:51 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        mexas@bristol.ac.uk
Cc:        freebsd-questions@freebsd.org
Subject:   Re: do I need agp(4) on my amd64 laptop
Message-ID:  <CAHHBGkoSdu4rXzggsxC-E362UgXk6LoH-6xyhhqQbfoZ-sJSXg@mail.gmail.com>
In-Reply-To: <201211251111.qAPBBZBT031088@mech-cluster241.men.bris.ac.uk>
References:  <CAHHBGkqXLog4FgWDSCsqosbVb=dK26G4z-shd73f26jp93QcuA@mail.gmail.com> <201211251111.qAPBBZBT031088@mech-cluster241.men.bris.ac.uk>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 25 November 2012 06:11, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
>         From illoai@gmail.com Sat Nov 24 16:09:29 2012
>         > On 22 November 2012 06:19, Anton Shterenlikht <mexas@bristol.ac.uk> wrote:
>         >> It is not clear for me from the agp(4) man page,
>         >> whether I need this device in the kernel or not.
...
>         >> hostb4@pci0:0:24:3:     class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
>         >>     vendor     = 'Advanced Micro Devices [AMD]'
>         >>     device     = 'K8 [Athlon64/Opteron] Miscellaneous Control'
>         >>     class      = bridge
>         >>     subclass   = HOST-PCI
>         >> vgapci0@pci0:1:5:0:     class=0x030000 card=0x30c2103c chip=0x791f1002 rev=0x00 hdr=0x00
>         >>     vendor     = 'Advanced Micro Devices [AMD] nee ATI'
>         >>     device     = 'RS690M [Radeon X1200 Series]'
>         >>     class      = display
>         >>     subclass   = VGA
>         >> bge0@pci0:16:0:0:       class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00
>         >>     vendor     = 'Broadcom Corporation'
>         >>     device     = 'NetLink BCM5906M Fast Ethernet PCI Express'
>         >>     class      = network
>         >>     subclass   = ethernet
>         >> siba_bwn0@pci0:48:0:0:  class=0x028000 card=0x1371103c chip=0x431214e4 rev=0x02 hdr=0x00
>         >>     vendor     = 'Broadcom Corporation'
>         >>     device     = 'BCM4311 802.11a/b/g'
>         >>     class      = network
>         >> cbb0@pci0:2:4:0:        class=0x060700 card=0x30c2103c chip=0x04761180 rev=0xb6 hdr=0x02
>         >>     vendor     = 'Ricoh Co Ltd'
>         >>     device     = 'RL5c476 II'
>         >>     class      = bridge
>         >>     subclass   = PCI-CardBus
>         >
>         > You bring up a good point.  Your laptop is almost the same as mine,
>         > & the graphics chip is connected via PCI Express.
>         > I should see if it builds & runs without agp.
>         >
>
>         Looks like drm requires agp for the kernel to link correctly.
>         Oh well.
>
>         ...
>         drm_agpsupport.o: In function `drm_agp_free_memory':
>         /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xcba):
>         undefined reference to `agp_fi
>         nd_device'
>         /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xcd4):
>         undefined reference to `agp_fr
>         ee_memory'
>         drm_agpsupport.o: In function `drm_agp_init':
>         /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xdb8):
>         undefined reference to `agp_fi
>         nd_device'
>         /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xe2f):
>         undefined reference to `agp_ge
>         t_info'
>         *** [kernel] Error code 1
>         ...
>
> ok, I get it. I think I built drm and agp
> together, hence I haven't encountered this
> error.
>
> Do you use radeon video driver?
> Do you use radeondrm device in kernel?
> This only place I see this is in
> src/sys/amd64/conf/NOTES.
> My understanding is that to get drm
> working with the radeon driver, I need
> to add radeondrm to the kernel, but again,
> I'm not sure.

Yes, I use the radeon driver in xorg, & I have
radeondrm in kernel.  I don't think you need to
build it in, as loading the module should work,
I just got in the habit a while back & can't seem
to quit now.

-- 
--



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CAHHBGkoSdu4rXzggsxC-E362UgXk6LoH-6xyhhqQbfoZ-sJSXg>