fb_fix_screeninfo

Description

Defines the fixed screen information of the HiFB. This is the native structure of the Linux FrameBuffer.

Prototype

struct fb_fix_screeninfo {
    char id[16];            /* identification string eg "TT Builtin" */
    unsigned long smem_start;   /* Start of frame buffer mem */
                                /* (physical address) */
    __u32 smem_len;             /* Length of frame buffer mem */
    __u32 type;             /* see FB_TYPE_*        */
    __u32 type_aux;         /* Interleave for interleaved Planes */
    __u32 visual;           /* see FB_VISUAL_*      */ 
    __u16 xpanstep;         /* zero if no hardware panning  */
    __u16 ypanstep;         /* zero if no hardware panning  */
    __u16 ywrapstep;        /* zero if no hardware ywrap    */
    __u32 line_length;      /* length of a line in bytes    */
    unsigned long mmio_start;   /* Start of Memory Mapped I/O   */
                            /* (physical address) */
    __u32 mmio_len;         /* Length of Memory Mapped I/O  */
    __u32 accel;            /* Indicate to driver which */
                            /*  specific chip/card we have  */
    __u16 capabilities;     /* see FB_CAP_*         */
    __u16 reserved[2];      /* Reserved for future compatibility */
};

Members

Member

Description

id[16]

Device driver name.

smem_start

Start kernel-mode virtual address of the display buffer.

smem_len

Buffer size (in bytes)

type

Buffer type. Not supported in the current version.

type_aux

Additional type. Not supported in the current version.

visual

Color mode. Not supported in the current version.

xpanstep

Whether PAN display in the horizontal direction is supported.

  • 0: not supported.
  • Non-0: supported. In this case, the value indicates the pixels of each step in the horizontal direction.

It is not supported by the current version.

ypanstep

Whether PAN display in the vertical direction is supported.

  • 0: not supported.
  • Non-0: supported. In this case, the value indicates the pixels of each step in the vertical direction.

It is not supported by the current version.

ywrapstep

It is similar to ypanstep. The difference is that when the display starts at the bottom, the display can return to the start of the display buffer.

It is not supported by the current version.

line_length

Number of bytes in each line. Not supported in the current version.

mmio_start

Start user-mode virtual address of the display buffer.

mmio_len

Buffer size (in bytes)

accel

Displays the supported hardware acceleration devices. Not supported in the current version.

capabilities

Reserved and not supported by the current version.

reserved[2]

Reserved and not supported by the current version.