"Fossies" - the Fresh Open Source Software Archive

Member "buildroot-2021.05/package/x11r7/xdriver_xf86-video-fbturbo/0003-Update-for-1.20-ABI.patch" (6 Jun 2021, 1115 Bytes) of package /linux/privat/buildroot-2021.05.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Diff source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 From 5112829fe3f9f4776276800a175bf460061f83b1 Mon Sep 17 00:00:00 2001
    2 From: Adam Jackson <ajax@redhat.com>
    3 Date: Wed, 30 May 2018 12:31:04 -0400
    4 Subject: [PATCH] Update for 1.20 ABI
    5 
    6 Signed-off-by: Adam Jackson <ajax@redhat.com>
    7 [Upstream https://gitlab.freedesktop.org/xorg/driver/xf86-video-fbdev/-/commit/67525c485f3b32ce0c9bff250d905852f75dfc1c
    8  ported to xf86-video-fbturbo]
    9 Signed-off-by: Peter Seiderer <ps.report@gmx.net>
   10 ---
   11  src/fbdev.c | 2 ++
   12  1 file changed, 2 insertions(+)
   13 
   14 diff --git a/src/fbdev.c b/src/fbdev.c
   15 index 81bd1fb..489a231 100644
   16 --- a/src/fbdev.c
   17 +++ b/src/fbdev.c
   18 @@ -1036,7 +1036,9 @@ FBDevScreenInit(SCREEN_INIT_ARGS_DECL)
   19       xf86DrvMsg(pScrn->scrnIndex, X_INFO, "display rotated; disabling DGA\n");
   20       xf86DrvMsg(pScrn->scrnIndex, X_INFO, "using driver rotation; disabling "
   21                             "XRandR\n");
   22 +#if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 24
   23       xf86DisableRandR();
   24 +#endif
   25       if (pScrn->bitsPerPixel == 24)
   26         xf86DrvMsg(pScrn->scrnIndex, X_WARNING, "rotation might be broken at 24 "
   27                                               "bits per pixel\n");
   28 -- 
   29 2.31.1
   30