linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* LCD scaling type
@ 2003-01-10 19:42 Benjamin Herrenschmidt
  2003-01-11  6:58 ` Antonino Daplas
  0 siblings, 1 reply; 10+ messages in thread
From: Benjamin Herrenschmidt @ 2003-01-10 19:42 UTC (permalink / raw)
  To: Linux Fbdev development list

Hi !

When setting a mode on an LCD display that is not exactly the
native mode of that display, we can, on some chips, setup a
scaler. However, most of the time, we have 2 difference choices
for setting up this scaler: It can preserve or not preserve
the aspect ratio. A typical example is the titnium powerbook's 1152x768
mode. If I set it to 1024x768, I can get either horizontal scaling (not
preserving aspect ratio) or no scaling with black bars on left & right
(preserving aspect ratio).

While in most case you actually want to preserve the aspect ratio, it
would still I beleive make sense to let the user choose it. 

Could we define one of the reserved fields in fb_var_screeninfo as
beeing a "flags" field for such things ? There are a couple of other
things that we may want to stuff into such a bitfield later, I'd suggest
reserving one 32 bits field for such flags.

Ben.

-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-01-11 13:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-10 19:42 LCD scaling type Benjamin Herrenschmidt
2003-01-11  6:58 ` Antonino Daplas
2003-01-11  9:47   ` Benjamin Herrenschmidt
2003-01-11 10:16     ` Antonino Daplas
2003-01-11 11:08       ` Benjamin Herrenschmidt
2003-01-11 11:35         ` Antonino Daplas
2003-01-11 12:08           ` Benjamin Herrenschmidt
2003-01-11 12:42             ` Antonino Daplas
2003-01-11 13:29   ` Geert Uytterhoeven
2003-01-11 13:27     ` Antonino Daplas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).