Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging
Bernie Thompson 3e8f3d6fa6 Staging: udlfb: Support for fbdev mmap clients (defio)
Add support for fbdev mmap clients who don't send damage ioctls

Because DisplayLink devices are out on the other end of usb, their
"framebuffer" is just normal system memory. So memory mapped writes
don't automatically trigger anything. So up to this point, standard
fbdev clients who rely on mmap() will get an unchanging screen.

This patch makes udlfb a client of Jaya Kumar's defio framework - which sets
up page fault triggers, and those faults are accumulated and sent to udlfb
on a defferred basis, to process as damage notifications for the framebuffer.

Because this involves more overhead than a notification directly from
the application (e.g. just passing on X DAMAGE extension notifications),
a sysfs attribute is provided by udlfb to control defio support.

/sys/class/graphics/fb*/use_defio - writing a "0" to this file before
calling mmap() causes defio to not be initialized - instead udlfb
will rely on getting damage notifications directly through the damage ioctl.

There are unsolved rendering problems with defio (horizontal dead regions
on framebuffer, that accumulate over time) which still needs a fix.

Signed-off-by: Bernie Thompson <bernie@plugable.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-03 16:43:00 -08:00
..
arlan Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2009-12-08 07:55:01 -08:00
asus_oled staging: make USB device id constant 2010-03-03 16:42:42 -08:00
batman-adv Staging: batman-adv: Update the README for mainline usage. 2010-03-03 16:42:40 -08:00
comedi Staging: comedi: bracing fix to ni_atmio.c 2010-03-03 16:42:58 -08:00
crystalhd Staging: crystalhd: fix build on powerpc 2010-03-03 16:42:49 -08:00
cx25821 staging: cx25821: avoid NULL pointer dereference 2010-03-03 16:42:40 -08:00
dream staging: dream: more Code style fixes 2010-03-03 16:42:57 -08:00
dt3155 Staging: dt3155: fix coding style issues in dt3155_io.c 2010-03-03 16:42:56 -08:00
echo Staging: echo: coding style cleanups 2009-09-15 12:02:16 -07:00
et131x Staging: et131x_kill MAC_STAT_t 2010-03-03 16:42:52 -08:00
frontier staging: make USB device id constant 2010-03-03 16:42:42 -08:00
go7007 Staging: go7007: Eliminate useless code 2010-03-03 16:42:45 -08:00
hv Staging: hv: match on DMI values to know if we should run. 2010-03-03 16:42:37 -08:00
iio staging: iio: Fix incorrect existence check for a shared event pointer. 2010-03-03 16:42:42 -08:00
line6 staging: make USB device id constant 2010-03-03 16:42:42 -08:00
netwave Merge branch 'master' of /home/davem/src/GIT/linux-2.6/ 2009-12-05 15:22:26 -08:00
octeon Staging: octeon-ethernet: Convert to use PHY Abstraction Layer. 2009-12-17 01:57:00 +00:00
otus Staging: otus: fix memory leak 2010-03-03 16:42:53 -08:00
panel Staging: panel: Adjust range for PANEL_KEYPAD in Kconfig 2009-12-23 11:27:49 -08:00
phison staging: make PCI device id constant 2010-03-03 16:42:42 -08:00
poch Staging: poch: Add sample Rx code 2009-12-11 12:23:09 -08:00
pohmelfs Staging: Fixed pohmelfs regression because of per-bdi writeback. 2010-03-03 16:42:40 -08:00
quatech_usb2 staging: make USB device id constant 2010-03-03 16:42:42 -08:00
ramzswap Staging: ramzswap: Update copyright notice 2010-03-03 16:42:53 -08:00
rar_register Staging: rar_register: add suspend and resume functions 2010-03-03 16:42:57 -08:00
rt2860 Staging: rt2860: correct onstack wait_queue_head declaration 2010-03-03 16:42:55 -08:00
rt2870 Staging: rt{2860,2870}sta: Use request_firmware() to load firmware 2010-03-03 16:42:48 -08:00
rt3070 Staging: rt{2860,2870}sta: Use request_firmware() to load firmware 2010-03-03 16:42:48 -08:00
rtl8187se Staging: r8187se: Remove dead code from r8185b_init.c 2010-03-03 16:42:59 -08:00
rtl8192e Staging: rtl8192e: fix spacing style issues in r8180_93cx6.c 2010-03-03 16:42:55 -08:00
rtl8192su Staging: Fix continuation line formats 2010-03-03 16:42:55 -08:00
rtl8192u Staging: rtl8192u: ieee80211: CurrentMPDUDensity assigned to itself in HTUseDefaultSetting() 2010-03-03 16:42:44 -08:00
samsung-laptop Staging: samsung-laptop: fix coding style issues 2010-03-03 16:42:55 -08:00
sep Staging: Fix continuation line formats 2010-03-03 16:42:55 -08:00
serqt_usb2 Staging: serqt_usb2: Two branches the same in qt_set_termios() 2010-03-03 16:42:48 -08:00
slicoss Staging: Fix continuation line formats 2010-03-03 16:42:55 -08:00
sm7xx staging: sm7xx: remove the buggy 2D acceleration support 2010-03-03 16:42:44 -08:00
strip Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-11-09 11:17:24 -08:00
udlfb Staging: udlfb: Support for fbdev mmap clients (defio) 2010-03-03 16:43:00 -08:00
usbip Staging: usbip: Seperate usbip config debug from CONFIG_USB_DEBUG 2010-03-03 16:42:52 -08:00
vme Staging: vme/tsi148: Depend on VIRT_TO_BUS 2010-03-03 16:42:43 -08:00
vt6655 staging: vt6655: add missing curly braces 2010-03-03 16:42:58 -08:00
vt6656 Staging/vt66*: kconfig, depends on WLAN 2009-12-23 11:27:50 -08:00
wavelan Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2009-12-09 19:43:33 -08:00
winbond staging: make USB device id constant 2010-03-03 16:42:42 -08:00
wlags49_h2 staging: wlags49: don't use custom implementation of atoi() 2010-03-03 16:42:44 -08:00
wlags49_h25 Staging: wlags49: fix kconfigs dependancy 2009-12-11 12:23:10 -08:00
wlan-ng Staging: wlan-ng: multiple safe style cleanups 2010-03-03 16:42:58 -08:00
Kconfig Staging: rar_register: renaming directory to rar_register 2010-03-03 16:42:56 -08:00
Makefile Staging: rar_register: renaming directory to rar_register 2010-03-03 16:42:56 -08:00
staging.c