# usage of height and width in fb\_var\_screeninfo

- List: linux-fbdev
- 3 messages, 3 authors
- Page: https://ratatoskr.run/linux-fbdev/2012/03/13462729/t

## usage of height and width in fb\_var\_screeninfo

- From: Jun Nie \<hidden\>
- Date: 2012-03-22 11:52:59 
- Message: https://ratatoskr.run/linux-fbdev/2012/03/13462729.md

```text
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 
- Message: https://ratatoskr.run/linux-fbdev/2012/03/13462730.md

```text
On Thu, Mar 22, 2012 at 12:52, Jun Nie [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 
- Message: https://ratatoskr.run/linux-fbdev/2012/03/13462731.md

```text
On Thu, Mar 22, 2012 at 8:53, Jun Nie [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


```
