On 02/15/2010 05:41 PM, Chris Ball wrote:
> Hi,
>
> Here's a first crack at radeon support for kdb/kms. It's working here
> on a Mobility FireGL V5200 running Fedora 13/Rawhide on a Thinkpad T60p.
> The patch applies to the kgdb-next branch of ~jwessel/linux-2.6-kgdb.
>
>
Hi Chris,
Did you want to have another go at this patch?
The latest version of the KDB / KMS integrations solves all the problems
we previously had where there was calls into mutexes while atomics.
The code is in the kgdb-next branch if you would like to try it again.
I don't know if this applies to your driver or not, but the i915 had one
additional change because the .fb_debug_enter and .fb_debug_leave call
backs must be implemented in the new atomic mode setting API.
========Example============
diff --git a/drivers/gpu/drm/i915/intel_fb.c
b/drivers/gpu/drm/i915/intel_fb.c
index 3e18c9e..54acd8b 100644
--- a/drivers/gpu/drm/i915/intel_fb.c
+++ b/drivers/gpu/drm/i915/intel_fb.c
@@ -61,6 +61,8 @@ static struct fb_ops intelfb_ops = {
.fb_pan_display = drm_fb_helper_pan_display,
.fb_blank = drm_fb_helper_blank,
.fb_setcmap = drm_fb_helper_setcmap,
+ .fb_debug_enter = drm_fb_helper_debug_enter,
+ .fb_debug_leave = drm_fb_helper_debug_leave,
};
static int intelfb_create(struct intel_fbdev *ifbdev,
==========================
Jason.
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport