fb_fix_screeninfo
说明
定义HIFB的固定屏幕信息,此为Linux FrameBuffer结构体。
定义
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 */
};
成员
成员名称  | 
描述  | 
|---|---|
id[16]  | 
设备驱动名称。  | 
smem_start  | 
显存起始内核态虚拟地址。  | 
smem_len  | 
显存大小,单位:字节。  | 
type  | 
显存类型,当前版本不支持。  | 
type_aux  | 
附加类型,当前版本不支持。  | 
visual  | 
色彩模式,当前版本不支持。  | 
xpanstep  | 
支持水平方向上的PAN显示: 
 当前版本不支持。  | 
ypanstep  | 
支持垂直方向上的PAN显示: 
 当前版本不支持。  | 
ywrapstep  | 
类似于ypanstep,不同之处在于:当显示到底部时,能回到显存的开始处进行显示。 当前版本不支持。  | 
line_length  | 
每行字节数,当前版本不支持。  | 
mmio_start  | 
显存起始用户态虚拟地址。  | 
mmio_len  | 
显存大小,单位:字节。  | 
accel  | 
显示所支持的硬件加速设备,当前版本不支持。  | 
capabilities  | 
预留参数,当前版本不支持。  | 
reserved[2]  | 
预留参数,当前版本不支持。  | 
父主题: HIFB叠加图形层管理