Re: [PATCH] Framebuffer: client notification mecanism & PM

From: Pavel Machek (pavel@ucw.cz)
Date: Tue Jul 29 2003 - 12:49:19 EST


Hi!

> There is room for improvement, but this is a first step that makes
> suspend/resume work more reliably on pmacs. I'll send aty128fb and
> radeonfb bits using this framework once it's merged.

> @@ -199,7 +199,8 @@
> if (!info || (info->cursor.rop == ROP_COPY))
> return;
> info->cursor.enable ^= 1;
> - info->fbops->fb_cursor(info, &info->cursor);
> + if (!info->suspended)
> + info->fbops->fb_cursor(info, &info->cursor);
> }
>
> y_break = p->vrows - p->yscroll;

Would not it be simpler to replace info->fbops with some dummy ones?

-- 
				Pavel
Written on sharp zaurus, because my Velo1 broke. If you have Velo you don't need...

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:44 EST