Am 11.06.2014 10:37, schrieb matwey.kornilov@gmail.com:
From e7147352639fd8f92b1cc85cff9bc5046c7a2130 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov"
Date: Mon, 2 Jun 2014 20:17:29 +0400 Subject: [PATCH] Replace type of paddr to uint32_t. This patch helps to avoid the following build issue:
drivers/gpu/drm/msm/msm_fbdev.c:108:2: error: passing argument 3 of 'msm_gem_get_iova_locked' from incompatible pointer type [-Werror] msm_gem_get_iova_locked(fbdev->bo, 0, &paddr); ^ In file included from drivers/gpu/drm/msm/msm_fbdev.c:18:0: drivers/gpu/drm/msm/msm_drv.h:153:5: note: expected 'uint32_t *' but argument is of type 'dma_addr_t *' int msm_gem_get_iova_locked(struct drm_gem_object *obj, int id, ^
Signed-off-by: Matwey V. Kornilov
Patch-mainline: Submitted, 1401879270 - linux-arm-msm@vger.kernel.org Signed-off-by: Matwey V. Kornilov --- This is for Factory, 3.15 is still failed for armv7l.
Ping! Patch is queued on msm-fixes-3.16 (with modified subject, additional Sob): http://cgit.freedesktop.org/~robclark/linux/commit/?h=msm-fixes-3.16&id=70bdd6c7c8e4d36b336f0b6f8b653aa9db3a6f33 Can we please get this applied as build fix for kernel-default and kernel-lpae? Thanks, Andreas
drivers/gpu/drm/msm/msm_fbdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/msm/msm_fbdev.c b/drivers/gpu/drm/msm/msm_fbdev.c index a752ab8..5107fc4 100644 --- a/drivers/gpu/drm/msm/msm_fbdev.c +++ b/drivers/gpu/drm/msm/msm_fbdev.c @@ -59,7 +59,7 @@ static int msm_fbdev_create(struct drm_fb_helper *helper, struct drm_framebuffer *fb = NULL; struct fb_info *fbi = NULL; struct drm_mode_fb_cmd2 mode_cmd = {0}; - dma_addr_t paddr; + uint32_t paddr; int ret, size;
sizes->surface_bpp = 32;
-- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org