]> err.no Git - linux-2.6/commit
[PATCH] non-linear frame buffer read/write access
authorThomas Koeller <thomas@koeller.dyndns.org>
Tue, 10 Jan 2006 04:53:48 +0000 (20:53 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:52 +0000 (08:01 -0800)
commitcae8a12f49972f040bae6707b7707cd93fe9c9ab
treec898f9bcd31ba14d0f646e191525cb6ef6a09976
parent74b4f04231b9755106d803ef73b11c3cf6978bcd
[PATCH] non-linear frame buffer read/write access

While the code in fbmem.c allows for hooking read/write access to
non-linear frame buffers by means of fb_read and fb_write in struct fb_ops,
I could not find a way tho access the actual frame buffer memory from
within these routines.  I therefore had to patch fbmem.c, to be able to
retrieve a pointer to struct fb_info from the 'file' argument to these
functions.

The second hunk of the patch is not strictly required, I only did that for
symmetry reasons (and the code is somewhat shorter).

Signed-off-by: Thomas Koeller <thomas@koeller.dyndns.org>
Acked-by: "Antonino A. Daplas" <adaplas@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/fbmem.c