summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/board.h
diff options
context:
space:
mode:
authorHiroshi Doyu <hdoyu@nvidia.com>2012-11-29 15:47:45 +0200
committerMrutyunjay Sawant <msawant@nvidia.com>2012-12-04 22:23:24 -0800
commitd271477568cd7447f2a065d0792001df3a9f270e (patch)
tree8d28407a348eb7bb6dfbbdfc2f4bb8c28c013e28 /arch/arm/mach-tegra/board.h
parent7983049e7ca5b2b76548a07b3c1a2148dd795c57 (diff)
ARM: tegra: __tegra_move_framebuffer takes dev
For T30+ based boards, FB needs to create 1-1 linear mapping, which requires dma mapping API from device itself. Bug 1182882 Bug 1024594 Change-Id: Ifde49919de8c9a1a3ef918a5d531d15e815814c8 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/167310 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/board.h')
-rw-r--r--arch/arm/mach-tegra/board.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/board.h b/arch/arm/mach-tegra/board.h
index b51ffb0156f4..4c1d0a5d46ec 100644
--- a/arch/arm/mach-tegra/board.h
+++ b/arch/arm/mach-tegra/board.h
@@ -98,8 +98,14 @@ void __init tegra_reserve(unsigned long carveout_size, unsigned long fb_size,
void __init tegra_release_bootloader_fb(void);
void __init tegra_protected_aperture_init(unsigned long aperture);
int __init tegra_init_board_info(void);
-void tegra_move_framebuffer(unsigned long to, unsigned long from,
- unsigned long size);
+void __tegra_move_framebuffer(struct platform_device *pdev,
+ unsigned long to, unsigned long from,
+ unsigned long size);
+static inline void tegra_move_framebuffer(unsigned long to, unsigned long from,
+ unsigned long size)
+{
+ __tegra_move_framebuffer(NULL, to, from, size);
+}
bool is_tegra_debug_uartport_hs(void);
int get_tegra_uart_debug_port_id(void);
int arb_lost_recovery(int scl_gpio, int sda_gpio);