public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* GART_IOMMU without AGP
@ 2009-07-22 15:26 Pavel Vasilyev
  2009-07-22 21:37 ` Dave Jones
  0 siblings, 1 reply; 10+ messages in thread
From: Pavel Vasilyev @ 2009-07-22 15:26 UTC (permalink / raw)
  To: linux-kernel

In the kernel configuration, if I choose x86_64 and PCI, then choose the item
"Garth IOMMU support", which, in turn, chooses not to switch off, support for
AGP. But many IOMMU system does not have AGP bus.

diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 738bdc6..410369d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -585,7 +585,6 @@ config GART_IOMMU
 	bool "GART IOMMU support" if EMBEDDED
 	default y
 	select SWIOTLB
-	select AGP
 	depends on X86_64 && PCI
 	---help---
 	  Support for full DMA access of devices with 32bit memory access only

Signed-off-by: Pavel Vasilyev <pavel@pavlinux.ru>


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* Re: GART_IOMMU without AGP
@ 2009-07-22 23:15 Pavel Vasilyev
  0 siblings, 0 replies; 10+ messages in thread
From: Pavel Vasilyev @ 2009-07-22 23:15 UTC (permalink / raw)
  To: linux-kernel

On Thursday 23 July 2009 02:17:38 you wrote:
> On Wed, 22 Jul 2009 17:37:46 -0400
>
> Dave Jones <davej@redhat.com> wrote:
> > On Wed, Jul 22, 2009 at 07:26:49PM +0400, Pavel Vasilyev wrote:
> >  > In the kernel configuration, if I choose x86_64 and PCI, then choose
> >  > the item "Garth IOMMU support", which, in turn, chooses not to switch
> >  > off, support for AGP. But many IOMMU system does not have AGP bus.
> >
> > The lack of AGP slots doesn't mean a lack of AGP bus.
> > It's part of the K8 on-CPU northbridge.
>
> And the user is selecting CONFIG_AGP to select AGP devices rather than to
> demonstrate their deep guru grade knowledge of K8 northbridges. Not only
> that but CONFIG_AGP controls the display of AGP video card options so it
> is a selection for offered devices not really an internal detail.
>
> So I think Pavel is right here.


May be  next logic 

 IF  ( GART_IOMMU  == TRUE )  
    THEN  
            IF ( AGP == TRUE ) 
               THEN 
                        AGP_AMD64 = TRUE;
           FI
FI 

Now 

 IF  ( GART_IOMMU  == TRUE )  
    THEN  
              AGP = TRUE;'
	AGP_AMD64 = TURE;
FI
 

And in bytes is 

-rw-r--r-- 1 root root 54322 Jul 23 01:21 agpgart.ko
-rw-r--r-- 1 root root 19745 Jil 23 01:21  amd64-agp.ko 

 is  74067 bytes  :)


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-07-22 23:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-22 15:26 GART_IOMMU without AGP Pavel Vasilyev
2009-07-22 21:37 ` Dave Jones
2009-07-22 21:58   ` Pavel Vasilyev
2009-07-22 22:25     ` Dave Jones
2009-07-22 22:44       ` Alan Cox
2009-07-22 22:17   ` Alan Cox
2009-07-22 22:28     ` Dave Jones
2009-07-22 23:05       ` Pavel Vasilyev
2009-07-22 22:34   ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2009-07-22 23:15 Pavel Vasilyev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox