lkml.org 
[lkml]   [2009]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] ps3/block: Replace mtd/ps3vram by block/ps3vram
On 03/06/2009 04:54 AM, Geert Uytterhoeven wrote:
> 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.
>
> arch/powerpc/platforms/ps3/Kconfig | 7 +
> drivers/block/Makefile | 1 +
> drivers/block/ps3vram.c | 865 ++++++++++++++++++++++++++++++++++++
> drivers/mtd/devices/Kconfig | 7 -
> drivers/mtd/devices/Makefile | 1 -
> drivers/mtd/devices/ps3vram.c | 768 --------------------------------
> 6 files changed, 873 insertions(+), 776 deletions(-)
> create mode 100644 drivers/block/ps3vram.c
> delete mode 100644 drivers/mtd/devices/ps3vram.c

Looks good, certainly an improvement.

Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>



\
 
 \ /
  Last update: 2009-03-09 18:55    [W:0.036 / U:6.668 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site