Re: 2.6.10-mm2

From: Mike Werner
Date: Sat Jan 08 2005 - 13:31:50 EST


Dave Airlie wrote:
>
> > > >
> > > > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> > > >
> > > > [drm:drm_unlock] *ERROR* Process 10657 using kernel context 0
> > > >
> > >
> > > this looks like the agp backend isn't loading, Mike sent me parts of
> > > your .config but I lost the mail (don't drink and read e-mail...)
> > >
> >
>
> it looks like agp_backend_acquire is returning NULL in this case,
> [drm:drm_ioctl] pid=10587, cmd=0x6430, nr=0x30, dev 0xe200, auth=1
> [drm:drm_ioctl] ret = ffffffed
> is the agp acquire ioctl and the return is -ENODEV
>
> Any ideas Mike why that might happen?
>
> Dave.

If the bridge->agp_in_use is non-zero then drm_agp_acquire would return
-ENODEV.
Previously it would return -EBUSY in this case but agp_backend_acquire
now returns
a pointer to a bridge so there is no distinction made between existence
and busy.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/