On Tue, Dec 13, 2011 at 01:40, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: >> I think you also want to do something with red, green, blue, transp when >> entering FOURCC mode, at least setting them to zero or maybe even requiring >> that they are zero to enter FOURCC mode (as additional safety barrier). > > Agreed. The FOURCC mode documentation already requires those fields to be set > to 0 by applications. > > I'll enforce this in fb_set_var() if info->fix has the FB_CAP_FOURCC > capability flag set. So when info->fix has the FB_CAP_FOURCC capability flag set, you can no longer enter legacy mode? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html