]> git.hungrycats.org Git - linux/commit
[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 12 Sep 2004 15:08:19 +0000 (08:08 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 12 Sep 2004 15:08:19 +0000 (08:08 -0700)
commite3e7f9145b2e3d58955c50a7650051c4b3501674
tree4fcb27bc8a870167a3ee87718346fa12e97ce1c6
parent358c65b2f9b92fcc0e93d35f3a52ef054ff206b2
[PATCH] fbdev/radeonfb: Remove bugus radeonfb_read/write

This patch kills the bogus radeonfb_read/write routines. In order to do so,
it adds a new member to fb_info, along with screen_base, which is screen_size,
indicating the mapped area. The default fb_read/write will now use that instead
of fix->smem_len if it is non-0, and radeonfb now sets it to the mapped size
of the framebuffer.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/aty/radeon_base.c
drivers/video/fbmem.c
include/linux/fb.h