diff options
Diffstat (limited to 'arch/arm/mach-omap2/include/mach/tiler.h')
-rw-r--r-- | arch/arm/mach-omap2/include/mach/tiler.h | 13 |
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 |