diff options
Diffstat (limited to 'include/video/sh_mobile_meram.h')
-rw-r--r-- | include/video/sh_mobile_meram.h | 21 |
1 files changed, 8 insertions, 13 deletions
diff --git a/include/video/sh_mobile_meram.h b/include/video/sh_mobile_meram.h index 29b2fd3b147e..8a5afaf2c6dc 100644 --- a/include/video/sh_mobile_meram.h +++ b/include/video/sh_mobile_meram.h | |||
@@ -41,19 +41,14 @@ struct sh_mobile_meram_cfg { | |||
41 | struct module; | 41 | struct module; |
42 | struct sh_mobile_meram_ops { | 42 | struct sh_mobile_meram_ops { |
43 | struct module *module; | 43 | struct module *module; |
44 | /* register usage of meram */ | 44 | |
45 | void *(*meram_register)(struct sh_mobile_meram_info *meram_dev, | 45 | /* LCDC cache management */ |
46 | const struct sh_mobile_meram_cfg *cfg, | 46 | void *(*cache_alloc)(struct sh_mobile_meram_info *meram_dev, |
47 | unsigned int xres, unsigned int yres, | 47 | const struct sh_mobile_meram_cfg *cfg, |
48 | unsigned int pixelformat, | 48 | unsigned int xres, unsigned int yres, |
49 | unsigned int *pitch); | 49 | unsigned int pixelformat, unsigned int *pitch); |
50 | 50 | void (*cache_free)(struct sh_mobile_meram_info *meram_dev, void *data); | |
51 | /* unregister usage of meram */ | 51 | void (*cache_update)(struct sh_mobile_meram_info *meram_dev, void *data, |
52 | void (*meram_unregister)(struct sh_mobile_meram_info *meram_dev, | ||
53 | void *data); | ||
54 | |||
55 | /* update meram settings */ | ||
56 | void (*meram_update)(struct sh_mobile_meram_info *meram_dev, void *data, | ||
57 | unsigned long base_addr_y, | 52 | unsigned long base_addr_y, |
58 | unsigned long base_addr_c, | 53 | unsigned long base_addr_c, |
59 | unsigned long *icb_addr_y, | 54 | unsigned long *icb_addr_y, |