Mr. Vindenes,

--- "Ronny V. Vindenes" <[EMAIL PROTECTED]> wrote:
> On Wed, 2003-11-05 at 10:33, Bradley Chapman wrote: 
> > I'm having problems using te DRI radeon driver in the 2.6.0-test9-mm2
> > kernel tree. When X is started, the kernel outputs these messages:
> > 
> > [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> > [drm:radeon_unlock] *ERROR* Process 1083 using kernel context 0
> > 
> > The driver did not do this under 2.6.0-test9-mm1.
> 
> I see the same thing using dri cvs (both with 1.9.0 radeon (kernel) and
> 1.10.0 (dri cvs)) with 2.6.9-test9-mm2, plain -test9 works.
> 
> [drm] Initialized radeon 1.10.0 20020828 on minor 0: ATI Radeon If R250
> 9000
> [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> [drm:radeon_unlock] *ERROR* Process 2073 using kernel context 0
> 
> There's a patch in -mm2 that does something with drm/agp (haven't looked
> at it yet):
> 
> +drm-agp-module-dependency-fix.patch

And here it is:

diff -urN linux-2.6.0-test9-mm1/drivers/char/drm/drm_agpsupport.h
linux-2.6.0-test9-mm2/drivers/char/drm/drm_agpsupport.h
--- linux-2.6.0-test9-mm1/drivers/char/drm/drm_agpsupport.h     2003-10-17
22:42:52.000000000 +0100
+++ linux-2.6.0-test9-mm2/drivers/char/drm/drm_agpsupport.h     2003-11-05
08:45:46.000000000 +0000
@@ -37,8 +37,8 @@
 #if __REALLY_HAVE_AGP


-#define DRM_AGP_GET (drm_agp_t *)inter_module_get("drm_agp")
-#define DRM_AGP_PUT inter_module_put("drm_agp")
+#define DRM_AGP_GET symbol_get(agp_drm)
+#define DRM_AGP_PUT symbol_put(agp_drm)

 /**
  * Pointer to the drm_agp_t structure made available by the agpgart module.

> 
> Maybe fix DRM<->AGP module dependencies so things autoload nicely.

But how? Reverting the change would work, but is that right?

Brad

=====
Brad Chapman

Permanent e-mail: [EMAIL PROTECTED]

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to