Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261346AbVE2XA4 (ORCPT ); Sun, 29 May 2005 19:00:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261374AbVE2XA4 (ORCPT ); Sun, 29 May 2005 19:00:56 -0400 Received: from smtpout.mac.com ([17.250.248.86]:63197 "EHLO smtpout.mac.com") by vger.kernel.org with ESMTP id S261346AbVE2XAn (ORCPT ); Sun, 29 May 2005 19:00:43 -0400 In-Reply-To: References: <20050528215005.GA5990@redhat.com> <1FA58BE7-0EE6-432B-9383-F489F9854DBE@mac.com> Mime-Version: 1.0 (Apple Message framework v728) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <64148E06-2DFA-41A5-9D86-5F34DCAAF9F4@mac.com> Cc: Dave Airlie , Dave Jones , Andrew Morton , Linux Kernel Development , dri-devel@lists.sourceforge.net Content-Transfer-Encoding: 7bit From: Kyle Moffett Subject: Re: [PATCH] DRM depends on ??? Date: Sun, 29 May 2005 19:00:28 -0400 To: Geert Uytterhoeven X-Mailer: Apple Mail (2.728) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1530 Lines: 47 On May 29, 2005, at 15:58:10, Geert Uytterhoeven wrote: >> What Kyle said is the correct answer... we either keep this lovely >> construct (I'll add a comment for 2.6.13) or we go back to the old >> intermodule or module_get stuff... DRM built-in with modular AGP >> is always >> wrong... or at least I'll get a hundred e-mails less every month if I >> say it is .. > > And what if we don't have AGP at all? Or no PCI? Then DRM detects that at configure time and excludes the code that requires AGP. Basically, the following are valid configurations: DRM=y AGP=y # DRM will use AGP DRM=y AGP=n # DRM will not use AGP DRM=m AGP=y # DRM will use AGP DRM=m AGP=m # DRM will use AGP (DRM module depends on AGP module) DRM=m AGP=n # DRM will not use AGP DRM=n AGP=* # DRM isn't compiled and therefore doesn't care about AGP The only invalid configuration is DRM=y AGP=m, which seems silly, although theoretically in that case DRM should exclude AGP support. Cheers, Kyle Moffett -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCM/CS/IT/U d- s++: a18 C++++>$ UB/L/X/*++++(+)>$ P+++(++++)>$ L++++(+++) E W++(+) N+++(++) o? K? w--- O? M++ V? PS+() PE+(-) Y+ PGP+++ t+(+++) 5 X R? tv-(--) b++++(++) DI+ D+ G e->++++$ h!*()>++$ r !y?(-) ------END GEEK CODE BLOCK------ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/