From: Geert U. <ge...@li...> - 2001-06-15 07:51:58
|
On Thu, 14 Jun 2001, James Simmons wrote: > > Vesafb should return the 1280x1024x32 mode. > > But only if the asked mode is "smaller" than the defualt mode. Yes. > > > I agree. This will especially be true when we support i2c to get monitor > > > info. Here will will be fudging the hslen etc for the best fit. > > > > Sounds reasonable. The question is: will it break many things? > > I don't see why it would. You ask for a mode. The monitor can't handle it > so we return -EINVAL. If the mode can be rounded up to something that the ^^^^^^^^^^^^^^^^^ > monitor can support than we return the var in fb_set_var. Ah, here you say `rounded up'. In the mail I replied to you (and Petr) were talking about finding suitable color bitfield lengths, allowing rounding down as well. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... 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 |