WSL2-Linux-Kernel/include/video
Michal Januszewski 8bdb3a2d7d uvesafb: the driver core
uvesafb is an enhanced version of vesafb.  It uses a userspace helper (v86d)
to execute calls to the x86 Video BIOS functions.  The driver is not limited
to any specific arch and whether it works on a given arch or not depends on
that arch being supported by the userspace daemon.  It has been tested on
x86_32 and x86_64.

A single BIOS call is represented by an instance of the uvesafb_ktask
structure.  This structure contains a buffer, a completion struct and a
uvesafb_task substructure, containing the values of the x86 registers, a flags
field and a field indicating the length of the buffer.  Whenever a BIOS call
is made in the driver, uvesafb_exec() builds a message using the uvesafb_task
substructure and the contents of the buffer.  This message is then assigned a
random ack number and sent to the userspace daemon using the connector
interface.

The message's sequence number is used as an index for the uvfb_tasks array,
which provides a mapping from the messages coming from userspace to the
in-kernel uvesafb_ktask structs.

The userspace daemon performs the requested operation and sends a reply in the
form of a uvesafb_task struct and, optionally, a buffer.  The seq and ack
numbers in the reply should be exactly the same as those in the request.

Each message from userspace is processed by uvesafb_cn_callback() and after
passing a few sanity checks leads to the completion of a BIOS call request.

Signed-off-by: Michal Januszewski <spock@gentoo.org>
Signed-off-by: Antonino Daplas <adaplas@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Paulo Marques <pmarques@grupopie.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-16 09:43:13 -07:00
..
Kbuild uvesafb: the driver core 2007-10-16 09:43:13 -07:00
atmel_lcdc.h atmel_lcdfb: AT91/AT32 LCD Controller framebuffer driver 2007-05-11 08:29:37 -07:00
aty128.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cirrus.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cvisionppc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cyblafb.h [PATCH] Update cyblafb driver 2006-01-09 10:00:36 -08:00
edid.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
epson1355.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gbe.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
iga.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
kyro.h [PATCH] fbdev: kyrofb: Driver cleanups 2006-01-10 08:01:45 -08:00
mach64.h atyfb: halve XCLK with Mobility and 32bit memory 2007-05-08 11:15:32 -07:00
maxinefb.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mbxfb.h [PATCH] mbxfb: Add YUV video overlay support 2006-12-08 08:29:06 -08:00
neomagic.h [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
newport.h [PATCH] include/video/newport.h: "extern inline" -> "static inline" 2006-01-10 08:01:50 -08:00
permedia2.h pm2fb: Permedia 2V memory clock setting 2007-05-08 11:15:32 -07:00
pm3fb.h pm3fb: Preliminary 2.4 to 2.6 port 2007-05-11 08:29:37 -07:00
pmag-ba-fb.h [PATCH] DEC PMAG BA frame buffer update 2005-09-05 00:06:03 -07:00
pmagb-b-fb.h [PATCH] DEC PMAGB B framebuffer update 2005-09-05 00:06:03 -07:00
radeon.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
s1d13xxxfb.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sgivw.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sisfb.h [PATCH] sisfb update 2005-09-09 13:58:01 -07:00
sstfb.h [PATCH] sstfb: add sysfs interface 2006-12-13 09:05:55 -08:00
tdfx.h [PATCH] fbdev: tdfxfb: Driver cleanups 2006-01-10 08:01:46 -08:00
tgafb.h tgafb: actually allocate memory for the pseudo_palette 2007-07-17 10:23:12 -07:00
trident.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
uvesafb.h uvesafb: the driver core 2007-10-16 09:43:13 -07:00
vga.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
w100fb.h [PATCH] SharpSL: Abstract c7x0 specifics from Corgi Touchscreen driver 2005-09-13 08:22:31 -07:00