Thread (7 messages) 7 messages, 3 authors, 2005-11-14

Re: Use of 'reserved' fields in var_screeninfo

From: Kevin Hilman <hidden>
Date: 2005-11-14 19:46:34

Geert Uytterhoeven wrote:
On Mon, 14 Nov 2005, Kevin Hilman wrote:
quoted
I've got a question about the purpose of the reserved fields in the
var_screeninfo struct:

struct fb_var_screeninfo {
[ ... ]
__u32 reserved[5];		/* Reserved for future compatibility */
};

What are these reserved for?  Is it appropriate for drivers to use these for

They are reserved for future expansion.

quoted
additional, HW-specific values that are then made available to the VSCREENINFO
ioctls?

Not really, only for generic info that's useful for multiple drivers.
What do you want to export there?
I'm just weighing the options of whether I should just add a new
device-specific ioctl, or try to export this as part of the var_screeninfo.

I've got some HW which has the ability display/blend up to 4 video/graphics
sources within a root display window.  I'd like to export this x,y offset
(which is independent of the xoffset,yoffset for the virtual/visual stuff).
Also, it has a per-source scaling factor I'd like to export.

Kevin




-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help