Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/b43390c40444
branches:  netbsd-9
changeset: 369759:b43390c40444
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Aug 30 15:37:27 2022 +0000

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

        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 0bf8b2360eb5 -r b43390c40444 external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile
--- a/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Mon Aug 29 16:22:05 2022 +0000
+++ b/external/mit/xorg/server/drivers/xf86-video-wsfb/Makefile Tue Aug 30 15:37:27 2022 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2018/08/03 02:26:00 kamil Exp $
+#      $NetBSD: Makefile,v 1.5.2.1 2022/08/30 15:37:27 martin Exp $
 
 DRIVER=                xf86-video-wsfb
 DRIVER_NAME=   wsfb_drv
@@ -11,3 +11,11 @@
 CWARNFLAGS.clang+=     -Wno-format
 
 .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