[Cbe-oss-dev] powerpc/ps3: ps3vram driver for accessing video RAM as MTD
Geoff Levand
geoffrey.levand at am.sony.com
Wed Nov 5 07:43:18 EST 2008
Hi David,
Jim Paris wrote:
> Add ps3vram driver, which exposes unused video RAM on the PS3 as a MTD
> device suitable for storage or swap. Fast data transfer is achieved
> using a local cache in system RAM and DMA transfers via the GPU.
>
> Signed-off-by: Vivien Chappelier <vivien.chappelier at free.fr>
> CC: Geert Uytterhoeven <Geert.Uytterhoeven at sonycom.com>
> CC: Geoff Levand <geoffrey.levand at am.sony.com>
> Signed-off-by: Jim Paris <jim at jtan.com>
Acked-by: Geoff Levand <geoffrey.levand at am.sony.com>
> ---
> This version has been updated to work with PS3 firmware 2.50, and
> to use ps3_gpu_mutex.
>
> Please consider for 2.6.29.
>
> MAINTAINERS | 6
> arch/powerpc/include/asm/ps3.h | 1
> arch/powerpc/platforms/ps3/device-init.c | 37 +
> drivers/mtd/devices/Kconfig | 7
> drivers/mtd/devices/Makefile | 1
> drivers/mtd/devices/ps3vram.c | 776 +++++++++++++++++++++++++++++++
> 6 files changed, 828 insertions(+)
> create mode 100644 drivers/mtd/devices/ps3vram.c
I tested this on PS3 and it both fixes the memory corruption
problem and works with firmware 2.50, so I think it is ready
for 2.6.29.
David, please check the ps3vram mtd part and and give comments.
Since this patch is dependent on Geert's ps3_gpu_mutex patch
'powerpc/ps3: Replace the flip_ctl logic in ps3av and ps3fb by a mutex'
I recently posted to linuxppc-dev, I think just an Acked-by for the
mtd part is enough, and I can then repost this patch to linuxppc-dev
and ask Paul to merge it with the ps3_gpu_mutex patch.
-Geoff
More information about the cbe-oss-dev
mailing list