diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-04-24 08:28:18 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-05-09 05:55:18 -0400 |
commit | 24f13a6679c9b75687f3ae48994e42071d4e9fce (patch) | |
tree | 95d18b3e6ce05a3250c2cfb42eaca216a4e4febf | |
parent | c84d95058a41445f8d8e6c23965f97a8445df978 (diff) |
video: omap2dss: fix LPAE warnings
If LPAE is enabled, dma_addr_t is 64 bit, so we have to
change a few type for everything in this driver to match
again.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | drivers/video/fbdev/omap2/dss/dispc.c | 6 | ||||
-rw-r--r-- | include/video/omapdss.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/video/fbdev/omap2/dss/dispc.c b/drivers/video/fbdev/omap2/dss/dispc.c index f18397c33e8f..4fe143166b74 100644 --- a/drivers/video/fbdev/omap2/dss/dispc.c +++ b/drivers/video/fbdev/omap2/dss/dispc.c | |||
@@ -2577,9 +2577,9 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi, | |||
2577 | 2577 | ||
2578 | channel = dispc_ovl_get_channel_out(plane); | 2578 | channel = dispc_ovl_get_channel_out(plane); |
2579 | 2579 | ||
2580 | DSSDBG("dispc_ovl_setup %d, pa %x, pa_uv %x, sw %d, %d,%d, %dx%d -> " | 2580 | DSSDBG("dispc_ovl_setup %d, pa %pad, pa_uv %pad, sw %d, %d,%d, %dx%d ->" |
2581 | "%dx%d, cmode %x, rot %d, mir %d, chan %d repl %d\n", | 2581 | " %dx%d, cmode %x, rot %d, mir %d, chan %d repl %d\n", |
2582 | plane, oi->paddr, oi->p_uv_addr, oi->screen_width, oi->pos_x, | 2582 | plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x, |
2583 | oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, | 2583 | oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height, |
2584 | oi->color_mode, oi->rotation, oi->mirror, channel, replication); | 2584 | oi->color_mode, oi->rotation, oi->mirror, channel, replication); |
2585 | 2585 | ||
diff --git a/include/video/omapdss.h b/include/video/omapdss.h index 6adb44534606..ded61a9e5219 100644 --- a/include/video/omapdss.h +++ b/include/video/omapdss.h | |||
@@ -388,8 +388,8 @@ struct omap_dss_cpr_coefs { | |||
388 | }; | 388 | }; |
389 | 389 | ||
390 | struct omap_overlay_info { | 390 | struct omap_overlay_info { |
391 | u32 paddr; | 391 | dma_addr_t paddr; |
392 | u32 p_uv_addr; /* for NV12 format */ | 392 | dma_addr_t p_uv_addr; /* for NV12 format */ |
393 | u16 screen_width; | 393 | u16 screen_width; |
394 | u16 width; | 394 | u16 width; |
395 | u16 height; | 395 | u16 height; |