|
@@ -617,6 +617,12 @@ struct fb_ops {
|
|
|
|
|
|
/* perform fb specific mmap */
|
|
|
int (*fb_mmap)(struct fb_info *info, struct file *file, struct vm_area_struct *vma);
|
|
|
+
|
|
|
+ /* save current hardware state */
|
|
|
+ void (*fb_save_state)(struct fb_info *info);
|
|
|
+
|
|
|
+ /* restore saved state */
|
|
|
+ void (*fb_restore_state)(struct fb_info *info);
|
|
|
};
|
|
|
|
|
|
#ifdef CONFIG_FB_TILEBLITTING
|