fbdev does not support OpenGL contexts so there is no need to implement
this function. Instead, we will provide blitting support later.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
return disp->fbdev.map;
}
-static int display_use(struct uterm_display *disp)
-{
- if (!disp->video || !video_is_awake(disp->video))
- return -EINVAL;
- if (!(disp->flags & DISPLAY_ONLINE))
- return -EINVAL;
-
- return 0;
-}
-
static int display_swap(struct uterm_display *disp)
{
struct fb_var_screeninfo *vinfo;
.activate = display_activate,
.deactivate = display_deactivate,
.set_dpms = display_set_dpms,
- .use = display_use,
+ .use = NULL,
.swap = display_swap,
};