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.
This commit is contained in:
parent
8bc6221bad
commit
8de68ddd0b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.5 2018/08/03 02:26:00 kamil Exp $
|
||||
# $NetBSD: Makefile,v 1.6 2022/08/20 01:02:44 rin Exp $
|
||||
|
||||
DRIVER= xf86-video-wsfb
|
||||
DRIVER_NAME= wsfb_drv
|
||||
|
@ -11,3 +11,11 @@ CPPFLAGS+= -DHAVE_CONFIG_H -I${X11SRCDIR.${DRIVER}}/../include
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue