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)
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>

No differences found