device drm with PCIe?

O. Hartmann ohartman at mail.uni-mainz.de
Fri Dec 16 14:57:17 PST 2005


Jung-uk Kim wrote:

>On Friday 16 December 2005 01:44 pm, O. Hartmann wrote:
>  
>
>>Jung-uk Kim schrieb:
>>    
>>
>>>On Thursday 15 December 2005 07:36 am, O. Hartmann wrote:
>>>      
>>>
>>>>Normally 'device drm' is only useable in conjunction with 'device
>>>>agp'. A lot of amd64 based boxes now use PEG slots for their
>>>>graphics accelerators. Is it possible to utilize 'drm' with PCIe
>>>>devices?
>>>>        
>>>>
>>>Yes.  It should work, at least in theory. ;-)
>>>
>>>      
>>>
>>>>Does device agp has any effect on PCIe graphics accelerators?
>>>>        
>>>>
>>>No.  You don't need it for PCI-Express controller.
>>>      
>>>
>>Ok, but without AGP (device agp) in my kernel config file, I get a
>>lot of errors while linking the kernel of missing agp_xxxxx
>>routines (FreeBSD 6.0-STABLE/amd64). So, device drm alone seems to
>>be useless (although in conjunction with device pci).
>>    
>>
>
>Did you try 'make clean; make cleandepend; make depend; make'?
>  
>

Doesn't work without device agp in kernel config file!

linking kernel
drm_agpsupport.o(.text+0x22c): In function `drm_agp_info':
: undefined reference to `agp_get_info'
drm_agpsupport.o(.text+0x324): In function `drm_agp_acquire':
: undefined reference to `agp_acquire'
drm_agpsupport.o(.text+0x374): In function `drm_agp_release':
: undefined reference to `agp_release'
drm_agpsupport.o(.text+0x3cf): In function `drm_agp_enable':
: undefined reference to `agp_enable'
drm_agpsupport.o(.text+0x45b): In function `drm_agp_init':
: undefined reference to `agp_find_device'
drm_agpsupport.o(.text+0x4ed): In function `drm_agp_init':
: undefined reference to `agp_get_info'
drm_agpsupport.o(.text+0x534): In function `drm_agp_allocate_memory':
.
.
.
.
drm_agpsupport.o(.text+0xb66): In function `drm_agp_unbind_memory':
: undefined reference to `agp_unbind_memory'
*** Error code 1

Stop in /usr/obj/usr/src/sys/THOR.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

>Jung-uk Kim
>
>  
>
>>>Jung-uk Kim
>>>
>>>      
>>>
>>>>Thanks,
>>>>Oliver
>>>>        
>>>>



More information about the freebsd-amd64 mailing list