Re: [PATCH] fb: Rework locking to fix lock ordering on takeover

From: Alan Cox
Date: Sat Jan 05 2013 - 07:01:09 EST

> So to add such an "I am crap" flag my idea would be to add an
> .fb_handle_damage to struct fb_ops and then call that (if exists)
> whenever something was changed.

I was thinking much higher level - ie at the printk kind of level

> My patch (for udlfb) follows as an reply to this message. If that patch
> is ok, it should be applied to smscufx too (I would make it). In regard
> to udl I don't know, I haven't had a deeper look at it nor used it up to
> now.

Looks pretty clean as a solution to me.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at