aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2
diff options
context:
space:
mode:
authorDavid Sin <davidsin@ti.com>2011-12-16 14:10:00 +0800
committerAndy Green <andy.green@linaro.org>2011-12-26 22:32:47 +0800
commit8713b1a4e8cb8392d1e7aa6aaa562dad740a271e (patch)
tree57d95dc0210f5406830bde1bca8ad87b74570615 /arch/arm/mach-omap2
parent8a60931c76f1db3a0672915c90b740830c6c7ea4 (diff)
TILER: Correct rot/pack API mismatches; Add missing API prototypes
Signed-off-by: David Sin <davidsin@ti.com> TILER: Don't dereference sysptr in tiler_alloc_packed function Signed-off-by: David Sin <davidsin@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r--arch/arm/mach-omap2/include/mach/tiler.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/include/mach/tiler.h b/arch/arm/mach-omap2/include/mach/tiler.h
index e3ae1c14a10..b8adf1439b6 100644
--- a/arch/arm/mach-omap2/include/mach/tiler.h
+++ b/arch/arm/mach-omap2/include/mach/tiler.h
@@ -94,18 +94,23 @@ s32 tiler_alloc(enum tiler_fmt fmt, u32 width, u32 height, u32 *sys_addr);
*/
s32 tiler_free(u32 sys_addr);
+u32 tiler_reorient_addr(u32 tsptr, struct tiler_view_orient orient);
+
u32 tiler_get_natural_addr(void *sys_ptr);
-void tiler_rotate_view(struct tiler_view_orient *orient, u32 rotation);
+u32 tiler_reorient_topleft(u32 tsptr, struct tiler_view_orient orient,
+ u32 width, u32 height);
u32 tiler_stride(u32 tsptr);
-void tiler_alloc_packed_nv12(s32 *count, u32 width, u32 height, void **y_sysptr,
- void **uv_sysptr, void **y_allocptr,
- void **uv_allocptr, s32 aligned);
+void tiler_rotate_view(struct tiler_view_orient *orient, u32 rotation);
void tiler_alloc_packed(s32 *count, enum tiler_fmt fmt, u32 width, u32 height,
void **sysptr, void **allocptr, s32 aligned);
+void tiler_alloc_packed_nv12(s32 *count, u32 width, u32 height, void **y_sysptr,
+ void **uv_sysptr, void **y_allocptr,
+ void **uv_allocptr, s32 aligned);
+
#endif