Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Kernels w/o DRM{,2} also missing support for "agpgart".



On Wed, 5 Nov 2014 13:23:45 +0000 (UTC), christos%astron.com@localhost (Christos
Zoulas) wrote:

> There is a problem with the agp config rules. This will perhaps fix
> it for you:

> Index: files.pci
> ===================================================================
> RCS file: /cvsroot/src/sys/arch/x86/pci/files.pci,v
> retrieving revision 1.18
> diff -u -r1.18 files.pci
> --- files.pci   18 Oct 2014 16:56:51 -0000      1.18
> +++ files.pci   5 Nov 2014 13:23:10 -0000
> @@ -12,7 +12,7 @@
>  define amdnb_miscbus {}
>  
>  # PCI-Host bridge chipsets
> -device pchb:   pcibus, agpbus
> +device pchb:   pcibus, agpbus, agp_x86
>  attach pchb at pci
>  file   arch/x86/pci/pchb.c             pchb            needs-flag

Yes, this produces a kernel with "agpgart" support without the unnecessary
overhead of "i915drmkms" (a savings of over 1MB in kernel size).

Thanks.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index