[Nouveau] [PATCH] drm/nouveau/kms: Implement KDB debug hooks for nouveau KMS.
jason.wessel at windriver.com
Sun Sep 26 04:20:46 PDT 2010
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?
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.
More information about the Nouveau