From: Romain D. <do...@ir...> - 2001-06-13 14:25:46
|
Geert Uytterhoeven wrote: > Yes, by looking at the fb_var_screeninfo.{red,green,blue}.length fields. > > Cfb16 is the memory organization: packed 16 bits per pixel. How a pixel looks > like internally doesn't matter. So both RGB555 and RGB565 use fbcon-cfb16.c. How does the user tell the system what he wants, then ? Will fbset recognize both -depth 15 and -depth 16 and fill the fields properly ? Right now, pm3fb just disregard whatever is in the length fields and use RGB8888/RGB565/CI8 for 32/16/8bpp (shame on me). Is there any requirements on the userland/the kernel about what is acceptable ? One could require RGB10_10_10_2 or RG232 or RGB4444, what is the driver supposed to to in case it doesn't support the required mode : change to a similar mode, do nothing,... ? TIA -- DOLBEAU Romain | l'histoire est entierement vraie, puisque ENS Cachan / Ker Lann | je l'ai imaginee d'un bout a l'autre do...@ir... | -- Boris Vian |