Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 27 Nov 2001 06:44:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 27 Nov 2001 06:43:59 -0500 Received: from mail0.epfl.ch ([128.178.50.57]:28943 "HELO mail0.epfl.ch") by vger.kernel.org with SMTP id ; Tue, 27 Nov 2001 06:43:50 -0500 Message-ID: <3C037C73.3090003@epfl.ch> Date: Tue, 27 Nov 2001 12:43:47 +0100 From: Nicolas Aspert Organization: LTS-DE-EPFL User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.6) Gecko/20011120 X-Accept-Language: en-us MIME-Version: 1.0 To: Stephan von Krawczynski CC: Didier Moens , abraham@2d3d.co.za, linux-kernel@vger.kernel.org, Robert Love Subject: Re: [Fwd: Re: OOPS in agpgart (2.4.13, 2.4.15pre7)] In-Reply-To: <3C022BB4.7080707@epfl.ch> <1006808870.817.0.camel@phantasy> <3C02BF41.1010303@xs4all.be> <20011127101148.C5778@crystal.2d3d.co.za> <3C034CAE.2090103@dmb.rug.ac.be> <3C036F83.2000903@dmb.rug.ac.be> <20011127121228.0df6db46.skraw@ithnet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org > > Ok, since performance and detection seems just ok, I would suggest the attached > patch as a fix. Unlike Nicolas I don't see a need for an additional i830MP > patch, its only the correct detection of the different i830 setups that needs > to be done IMHO. > If there are no further complaints we should submit the patch. What do you > think Nicolas? > Well, I prefer my version on the patch (of course :-), and I find it cleaner. Let me explain why : by just adding the 'break', you will fall back to the generic initialization routines, which work in most of the cases. However, if you look deeper the code & the specs, they are not really that good. Esp., you will see that the APSIZE register is accessed through 16bit reads/writes, whereas the spec says this is a 8 bit register. I have been taught not to write where it is not explicitely allowed to. Moreover, the 'tlbflush' mechanism also writes over reserved bits when using the generic routine. My patch is just a adaptation of what had been done for the Intel 8xx routines (to which I have contributed), so my way is more consistent with what was previously done. However, before submitting the patch, I would like to hear from Didier about the X server stuff. Does it still hard-locks when you start it ? If testgart works (which seems to be the case... btw, yes the 8MB alloced by the program are normal) and X locks, this would look more like a DRI/X problem (I saw some problems w. Radeon cards on the dri-devel list, which do not seem to be fully solved yet) Best regards -- Nicolas Aspert Signal Processing Laboratory (LTS) Swiss Federal Institute of Technology (EPFL) - 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/