diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-03-19 11:29:39 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-03-23 09:26:38 +0000 |
commit | 09f631d78710420d25fa0765772bef3ef37e78cb (patch) | |
tree | 314132411f4ee6b60953d9dfe0f6ba4179f615ba /src/plugins/platforms/eglfs | |
parent | 39636e38fe905ed4f256a447e3451a62624405cd (diff) |
eglfs: Unblank on startup
Like linuxfb does.
Change-Id: Icba224d710f241d9246450c7d112ce181b992d0e
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'src/plugins/platforms/eglfs')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp b/src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp index 2a46c87862..359b90f205 100644 --- a/src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp +++ b/src/plugins/platforms/eglfs/qeglfsdeviceintegration.cpp @@ -154,6 +154,10 @@ void QEGLDeviceIntegration::platformInit() qWarning("EGLFS: Failed to open %s", fbDev.constData()); qFatal("EGLFS: Can't continue without a display"); } + +#ifdef FBIOBLANK + ioctl(framebuffer, FBIOBLANK, VESA_NO_BLANKING); +#endif } void QEGLDeviceIntegration::platformDestroy() |