From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Wessel Subject: Re: [PATCH] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS. Date: Sun, 26 Sep 2010 06:20:46 -0500 Message-ID: <4C9F2C8E.5050700@windriver.com> References: <4C5ACF3F.8050409@windriver.com> <87eidsemcf.fsf@riseup.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kgdb-bugreport-bounces@lists.sourceforge.net To: Chris Ball Cc: David Airlie , kgdb-bugreport@lists.sourceforge.net, Francisco Jerez , Jesse Barnes , nouveau@lists.freedesktop.org List-Id: nouveau.vger.kernel.org On 08/23/2010 03:50 PM, Chris Ball wrote: > Hi Francisco, > > > There is a problem with this on pre-nv20 cards. Fbcon > > acceleration won't work properly with IRQs disabled because you > > miss the context switching interrupts: You'll get a locked up > > fbcon if you hit sysrq-g when there's some process using the GPU. > > > > I'd suggest disabling acceleration while in debug mode > > (e.g. using nouveau_fbcon_save_disable_accel()). That aside the > > patch looks good to me. > > Thanks very much for this. Here's a (only compile-tested) patch for > this, on top of jwessel's current kgdb-next branch. Jason, would you > mind testing on pre-nv20 and applying? > > Thanks Chris, This is applied to the kgdb tree, and I'll send the whole atomic modesetting series over to dri-devel as soon as it passes the regression tests as that should be the place it is merged from unless we receive sign-off from Jesse Barnes and Dave Airlie in which case I'll put it in a future pull request. It was pretty cool to see the kdb/kms feature finally working on the laptop I use the most. Thanks, Jason. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev