forked from pool/xorg-x11-server
Stefan Dirsch
c8690bb170
This submit is just for preparing the final 13.0 release, please have a look at it and comment so i can fix things up until the final 13.0 release for 12.3! #3 OBS-URL: https://build.opensuse.org/request/show/131324 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=408
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
Index: hw/xfree86/fbdevhw/fbdevhw.c
|
|
===================================================================
|
|
--- hw/xfree86/fbdevhw/fbdevhw.c.orig
|
|
+++ hw/xfree86/fbdevhw/fbdevhw.c
|
|
@@ -858,9 +858,10 @@ fbdevHWDPMSSet(ScrnInfoPtr pScrn, int mo
|
|
return;
|
|
}
|
|
|
|
+ /* Novell Bug #146462 */
|
|
if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *) fbmode))
|
|
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
|
- "FBIOBLANK: %s\n", strerror(errno));
|
|
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
|
+ "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
|
|
}
|
|
|
|
Bool
|
|
@@ -875,9 +876,10 @@ fbdevHWSaveScreen(ScreenPtr pScreen, int
|
|
|
|
unblank = xf86IsUnblank(mode);
|
|
|
|
+ /* Novell Bug #146462 */
|
|
if (-1 == ioctl(fPtr->fd, FBIOBLANK, (void *) (1 - unblank))) {
|
|
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
|
|
- "FBIOBLANK: %s\n", strerror(errno));
|
|
+ xf86DrvMsg(pScrn->scrnIndex, X_INFO,
|
|
+ "FBIOBLANK: %s (Screen blanking not supported by vesafb of Linux Kernel)\n", strerror(errno));
|
|
return FALSE;
|
|
}
|
|
|