diff options
Diffstat (limited to 'recipes-graphics/xorg-xserver/xserver-xorg/0001-modesetting-Fix-16-bit-depth-bpp-mode.patch')
-rw-r--r-- | recipes-graphics/xorg-xserver/xserver-xorg/0001-modesetting-Fix-16-bit-depth-bpp-mode.patch | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg/0001-modesetting-Fix-16-bit-depth-bpp-mode.patch b/recipes-graphics/xorg-xserver/xserver-xorg/0001-modesetting-Fix-16-bit-depth-bpp-mode.patch deleted file mode 100644 index 5f5f9df..0000000 --- a/recipes-graphics/xorg-xserver/xserver-xorg/0001-modesetting-Fix-16-bit-depth-bpp-mode.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 1bd53e69fbe9eb2f717c5f952a17cd706377876a Mon Sep 17 00:00:00 2001 -From: Stefan Agner <stefan@agner.ch> -Date: Thu, 22 Dec 2016 15:30:48 +0100 -Subject: [PATCH] modesetting: Fix 16 bit depth/bpp mode - -When setting DefaultDepth to 16 in the Screen section, the current -code requests a 32 bpp framebuffer, however the X-Server seems to -assumes 16 bpp. - -Fixes commit 21217d02168d ("modesetting: Implement 32->24 bpp -conversion in shadow update") - -Signed-off-by: Stefan Agner <stefan@agner.ch> ---- - hw/xfree86/drivers/modesetting/driver.c | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c -index 14f80b36c..45804df05 100644 ---- a/hw/xfree86/drivers/modesetting/driver.c -+++ b/hw/xfree86/drivers/modesetting/driver.c -@@ -832,7 +832,7 @@ PreInit(ScrnInfoPtr pScrn, int flags) - "Using 24bpp hw front buffer with 32bpp shadow\n"); - defaultbpp = 32; - } else { -- ms->drmmode.kbpp = defaultbpp; -+ ms->drmmode.kbpp = 0; - } - bppflags = PreferConvert24to32 | SupportConvert24to32 | Support32bppFb; - -@@ -852,6 +852,8 @@ PreInit(ScrnInfoPtr pScrn, int flags) - return FALSE; - } - xf86PrintDepthBpp(pScrn); -+ if (!ms->drmmode.kbpp) -+ ms->drmmode.kbpp = pScrn->bitsPerPixel; - - /* Process the options */ - xf86CollectOptions(pScrn, NULL); --- -2.11.0 - |