diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-03-15 07:40:47 -0400 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-07-18 20:05:21 -0400 |
commit | 4a2371772146b30113c9c837eb32b64f18376c0d (patch) | |
tree | efb13c1f047b4a1cc6859fa93f74534d522aeb6a /include/video | |
parent | 6fcdbc0c3a683003a00f383fceac80da1b7852ff (diff) |
sh_mobile_meram: Rename operations to cache_[alloc|free|update]
The MERAM operations meram_register, meram_unregister and meram_update
handle LCDC cache. In preparation for "raw" MERAM allocation, rename
them to more appropriate names.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'include/video')
-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, |