From: Daniel Vetter Subject: [PATCH 0/2] split up intel-agp into an agp and a gtt part Date: Thu, 22 Apr 2010 16:28:33 +0200 Message-ID: <1271946515-5272-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail.ffwll.ch (cable-static-49-187.intergga.ch [157.161.49.187]) by gabe.freedesktop.org (Postfix) with ESMTP id 4D82D9F327 for ; Thu, 22 Apr 2010 07:27:52 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces@lists.freedesktop.org Errors-To: intel-gfx-bounces@lists.freedesktop.org To: eric@anholt.net Cc: Daniel Vetter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Hi all, These are the last two patches of my original series. I've re-rechecked, and contrary to what I've said on irc, the linux build system can't cope with a module that consists of multiple source files, one of which is named identical (minus suffix) to the module. I nicely barfs while compiling with the following error: make[3]: Circular drivers/char/agp/intel-agp.o <- drivers/char/agp/intel-agp.o dependency dropped. So yes, kbuild is indeed "a pile of failure". Instead of moving around intel-agp.c (which creates unnecessary merge conflicts), I've decided to create a new modules for intel-gtt.c. Changes boot-tested on my i855. Patches rebased against drm-next due to conflicts with Dave's small fix to the probe code. Please review and merge. Thanks, Daniel Daniel Vetter (2): agp/intel: split out gmch/gtt probe, part 2 agp/intel: make intel-gtt.c into a real source file drivers/char/agp/Makefile | 1 + drivers/char/agp/intel-agp.c | 181 ++++++------------------------------------ drivers/char/agp/intel-agp.h | 4 + drivers/char/agp/intel-gtt.c | 128 +++++++++++++++++++++++++++++ 4 files changed, 156 insertions(+), 158 deletions(-)