]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
video: omap2dss: fix LPAE warnings
authorArnd Bergmann <arnd@arndb.de>
Thu, 24 Apr 2014 12:28:18 +0000 (13:28 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 9 May 2014 09:55:18 +0000 (12:55 +0300)
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>
drivers/video/fbdev/omap2/dss/dispc.c
include/video/omapdss.h

index f18397c33e8fed7e948f085d25862e95ecf02548..4fe143166b74ddccc2e5f1e113bc902664744eed 100644 (file)
@@ -2577,9 +2577,9 @@ int dispc_ovl_setup(enum omap_plane plane, const struct omap_overlay_info *oi,
 
        channel = dispc_ovl_get_channel_out(plane);
 
-       DSSDBG("dispc_ovl_setup %d, pa %x, pa_uv %x, sw %d, %d,%d, %dx%d -> "
-               "%dx%d, cmode %x, rot %d, mir %d, chan %d repl %d\n",
-               plane, oi->paddr, oi->p_uv_addr, oi->screen_width, oi->pos_x,
+       DSSDBG("dispc_ovl_setup %d, pa %pad, pa_uv %pad, sw %d, %d,%d, %dx%d ->"
+               " %dx%d, cmode %x, rot %d, mir %d, chan %d repl %d\n",
+               plane, &oi->paddr, &oi->p_uv_addr, oi->screen_width, oi->pos_x,
                oi->pos_y, oi->width, oi->height, oi->out_width, oi->out_height,
                oi->color_mode, oi->rotation, oi->mirror, channel, replication);
 
index 6adb445346064e815bb5fbccc030a9d56e63c6c0..ded61a9e521944a94faa64a4bb88bd26823f0384 100644 (file)
@@ -388,8 +388,8 @@ struct omap_dss_cpr_coefs {
 };
 
 struct omap_overlay_info {
-       u32 paddr;
-       u32 p_uv_addr;  /* for NV12 format */
+       dma_addr_t paddr;
+       dma_addr_t p_uv_addr;  /* for NV12 format */
        u16 screen_width;
        u16 width;
        u16 height;