|
[PATCH] DAC palette width retrieval: msg#00466grub-devel-gnu
When using packed color modes, Linux expects we fill the color sizes with the value obtained from the DAC. If we give it zeroes (like we currently do) it displays a blank screen. This can be reproduced by attempting to boot Linux with a 8-bit color mode (e.g. set gfxpayload=800x600x8). Now I'm not completely sure where does this belong. I think it's somewhat generic and we can reasonably expect other OSes to want this information too, but I'm not completely sure. An alternative would be to do this query in the Linux loader, but this has the disadvantage that we're putting backend-specific code in the loader which aims to be completely backend-independant someday. Also, tell me what you think about the "getset" hack. It looks like a clean way of providing both functions in less space, but then I'm not sure if we really want both functions. For now we only use the "set" one. Then again, once you have "set" getting "get" comes really cheap. -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."
Grub-devel mailing list Grub-devel@xxxxxxx http://lists.gnu.org/mailman/listinfo/grub-devel
|
|
||||||||||||||||||||||||||
|
|
|
| News | Mail Home | sitemap | FAQ | advertise |