2009-09-08 10:11:50

by Sergey Lapin

[permalink] [raw]
Subject: fbcon and framebuffer app

Hi, all!

I have special framebuffer device (128x128x2bpp display via external
framebuffer interface on OMAP3), which works quite well, switching off
backlight with fbcon on, and blanking. A problem is that I need
to run graphics application on a framebuffer. But I also need blanking
on inactivity. Application works perfectly until blanking occurs,
then display is zeroed-out and application still redraws regions it
changes. This is ok while not really clean, but also, when activity
is recieved, backlight is on, but screen is not redrawn, since
application is not aware of blanking, so I have to force it to readraw
all screen.
So, how this should be fixed? I want to keep fbcon
auto-blanking functionality and tty, so removing fbcon is not an option.

Thanks beforehand,
S.