Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/external/mit/xorg/server/drivers/xf86-video-wsfb Pull up ...



details:   https://anonhg.NetBSD.org/src/rev/687731cc98bc
branches:  netbsd-8
changeset: 369761:687731cc98bc
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Aug 30 15:40:03 2022 +0000

description:
Pull up following revision(s) (requested by rin in ticket #1758):

        external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile: revision 1.6

wsfb: Disable broken DGA support:
  - dga(1) crashes X server since pScrn->AdjustFrame is NULL.
  - If nop is provided as pScrn->AdjustFrame, dga(1) crashes X server *AND*
    kernel. This is because DGA uses physical address of framebuffer via
    /dev/mem (oops!), but we provide only mmap(2)'ed virtual address.

diffstat:

 external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 1ec6329c38a0 -r 687731cc98bc external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Mon Aug 29 16:15:42 2022 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Tue Aug 30 15:40:03 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2009/06/12 01:59:04 mrg Exp $
+#      $NetBSD: Makefile,v 1.4.38.1 2022/08/30 15:40:03 martin Exp $
 
 DRIVER=                xf86-video-wsfb
 DRIVER_NAME=   wsfb_drv
@@ -9,3 +9,11 @@
 CPPFLAGS+=     -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
 
 .include "../Makefile.xf86-driver"
+
+# XXX
+# DGA support for this driver is broken:
+# - dga(1) crashes X server since pScrn->AdjustFrame is NULL.
+# - If nop is provided as pScrn->AdjustFrame, dga(1) crashes X server *AND*
+#   kernel. This is because DGA uses physical address of framebuffer via
+#   /dev/mem (oops!), but we provide only mmap(2)'ed virtual address.
+CPPFLAGS+=     -UXFreeXDGA



Home | Main Index | Thread Index | Old Index