fb_fix_screeninfo

Function

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

Definition

struct fb_fix_screeninfo {
    char id[16];
    unsigned long smem_start;

    __u32 smem_len;
    __u32 type;
    __u32 type_aux;
    __u32 visual;
    __u16 xpanstep;
    __u16 ypanstep;
    __u16 ywrapstep;
    __u32 line_length;
    unsigned long mmio_start;

    __u32 mmio_len;
    __u32 accel;

    __u16 capabilities;
    __u16 reserved[2];
};

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.
  • Other values: 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.
  • Other values: 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 goes to 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.