1 From cffb4add03b1fc83026b06dc3664279cfbf70155 Mon Sep 17 00:00:00 2001
2 From: Jim Paris <jim@jtan.com>
3 Date: Tue, 6 Jan 2009 11:32:10 +0000
4 Subject: [PATCH] mtd/ps3vram: Add ps3vram driver for accessing video RAM as MTD
6 Add ps3vram driver, which exposes unused video RAM on the PS3 as a MTD
7 device suitable for storage or swap. Fast data transfer is achieved
8 using a local cache in system RAM and DMA transfers via the GPU.
10 Signed-off-by: Vivien Chappelier <vivien.chappelier@free.fr>
11 Signed-off-by: Jim Paris <jim@jtan.com>
12 Acked-by: Geoff Levand <geoffrey.levand@am.sony.com>
13 Acked-by: David Woodhouse <David.Woodhouse@intel.com>
14 Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
16 arch/powerpc/include/asm/ps3.h | 1 +
18 diff --git a/arch/powerpc/include/asm/ps3.h b/arch/powerpc/include/asm/ps3.h
19 index cff30c0..66b6505 100644
20 --- a/arch/powerpc/include/asm/ps3.h
21 +++ b/arch/powerpc/include/asm/ps3.h
22 @@ -320,6 +320,7 @@ enum ps3_match_id {
24 enum ps3_match_sub_id {
25 PS3_MATCH_SUB_ID_GPU_FB = 1,
26 + PS3_MATCH_SUB_ID_GPU_RAMDISK = 2,
29 #define PS3_MODULE_ALIAS_EHCI "ps3:1:0"