From: Kevin Hilman <khilman@mvista.com>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: Use of 'reserved' fields in var_screeninfo
Date: Mon, 14 Nov 2005 11:46:31 -0800 [thread overview]
Message-ID: <4378E997.50208@mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.62.0511142029340.15023@numbat.sonytel.be>
Geert Uytterhoeven wrote:
> On Mon, 14 Nov 2005, Kevin Hilman wrote:
>
>>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.
>
>
>>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
next prev parent reply other threads:[~2005-11-14 19:46 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-14 19:17 Use of 'reserved' fields in var_screeninfo Kevin Hilman
2005-11-14 19:30 ` Geert Uytterhoeven
2005-11-14 19:46 ` Kevin Hilman [this message]
2005-11-14 19:57 ` Kevin Hilman
2005-11-14 20:00 ` Geert Uytterhoeven
2005-11-14 20:04 ` Antonino A. Daplas
2005-11-14 20:14 ` Geert Uytterhoeven
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4378E997.50208@mvista.com \
--to=khilman@mvista.com \
--cc=linux-fbdev-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox