usage of height and width in fb_var_screeninfo

3 messages, 3 authors, 2012-03-26 · open the first message on its own page

usage of height and width in fb_var_screeninfo

From: Jun Nie <hidden>
Date: 2012-03-22 11:52:59

Does anyone happen to know the usage of below member in
fb_var_screeninfo? I do not know whether mm stand for geometry size or
memory, can not find its usage in any driver neither. We considering
to use it as zoomed size.

struct fb_var_screeninfo {
        __u32 height;                   /* height of picture in mm    */
        __u32 width;                    /* width of picture in mm     */

Jun

Re: usage of height and width in fb_var_screeninfo

From: Geert Uytterhoeven <geert@linux-m68k.org>
Date: 2012-03-22 12:15:20

On Thu, Mar 22, 2012 at 12:52, Jun Nie [off-list ref] wrote:
Does anyone happen to know the usage of below member in
fb_var_screeninfo? I do not know whether mm stand for geometry size or
memory, can not find its usage in any driver neither. We considering
to use it as zoomed size.

struct fb_var_screeninfo {
       __u32 height;                   /* height of picture in mm    */
       __u32 width;                    /* width of picture in mm     */
They are both geometry sizes in millimeters.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

RE: usage of height and width in fb_var_screeninfo

From: Jingoo Han <hidden>
Date: 2012-03-26 08:15:17

On Thu, Mar 22, 2012 at 8:53, Jun Nie [off-list ref] wrote:
Does anyone happen to know the usage of below member in
fb_var_screeninfo? I do not know whether mm stand for geometry size or
memory, can not find its usage in any driver neither. We considering
to use it as zoomed size.

struct fb_var_screeninfo {
        __u32 height;                   /* height of picture in mm    */
        __u32 width;                    /* width of picture in mm     */
Yes, right. Both thins are geometry sizes of LCD panel in millimeters.
Some OS platform needs these parameters.
Good luck.

Best regards,
Jingoo Han

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help