October 2017
Intermediate to advanced
586 pages
14h 8m
English
In the struct fb_info structure, there is a .fbops field, which is an instance of the struct fb_ops structure. This structure contains a collection of functions that are needed to perform some operations on the framebuffer device. These are entry points for the fbdev and fbcon tools. Some methods in that structure are mandatory, the minimum required for a framebuffer to work, whereas others are optional, and depend on the features the driver needs to expose, assuming the device itself supports those features.
The following is the definition of the struct fb_ops structure:
struct fb_ops { /* open/release and usage marking */ struct module *owner; int (*fb_open)(struct fb_info *info, int user); int (*fb_release)(struct fb_info ...Read now
Unlock full access