]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ps3/block: Replace mtd/ps3vram by block/ps3vram
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Fri, 6 Mar 2009 02:54:09 +0000 (02:54 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 13 Mar 2009 05:07:19 +0000 (16:07 +1100)
commitf507cd22035fdadd5dbb476dd05e9e7ee21c3b84
tree6d152e75c9ae1ba59349c969ae4b96b1e9f61304
parent9ead64974b05501bbac0d63a47c99fa786d064ba
ps3/block: Replace mtd/ps3vram by block/ps3vram

Convert the PS3 Video RAM Storage Driver from an MTD driver to a plain block
device driver.

The ps3vram driver exposes unused video RAM on the PS3 as a block device
suitable for storage or swap.  Fast data transfer is achieved using a local
cache in system RAM and DMA transfers via the GPU.

The new driver is ca. 50% faster for reading, and ca. 10% for writing.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/ps3/Kconfig
drivers/block/Makefile
drivers/block/ps3vram.c [new file with mode: 0644]
drivers/mtd/devices/Kconfig
drivers/mtd/devices/Makefile
drivers/mtd/devices/ps3vram.c [deleted file]