Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751948AbbHQHIl (ORCPT ); Mon, 17 Aug 2015 03:08:41 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:50461 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750754AbbHQHIj (ORCPT ); Mon, 17 Aug 2015 03:08:39 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 X-AuditID: cbfee690-f796f6d000005054-0f-55d188756aaf Content-transfer-encoding: 8BIT Message-id: <55D18874.6010609@samsung.com> Date: Mon, 17 Aug 2015 16:08:36 +0900 From: Inki Dae User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 To: Stephen Rothwell Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Gustavo Padovan Subject: Re: linux-next: build failure after merge of the drm-exynos tree References: <20150817135130.162b3a40@canb.auug.org.au> <20150817135342.2c6d3586@canb.auug.org.au> <20150817155328.1b690385@canb.auug.org.au> In-reply-to: <20150817155328.1b690385@canb.auug.org.au> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupkkeLIzCtJLcpLzFFi42JZI2JSqFvacTHU4PRWNotPq1vZLS7vmsNm cXBhG6PF1r1X2R1YPBpv3GDz+Pv8OovH501yAcxRXDYpqTmZZalF+nYJXBm35/UyFXwyrni8 5zF7A+NSjS5GTg4JAROJKR8XskHYYhIX7q0Hsrk4hARWMErsWP2AEaZo7caLzBCJpYwSjy4d YQZJ8AoISvyYfI+li5GDg1lAXuLIpWyQMLOAusSkeYug6u8zSlyYcBmqXkui6/1GsG0sAqoS t79vB4uzAdkTV9wHi4sKREi8vXySCWSmiIC2xIHfAhAzCyXmnv7LAmILC3hKXD10nhVi/gRG iVWL54IdyilgLvFq53+wDyQENrFL7HrykQVimYDEt8mHwA6VEJCV2HSAGeIxSYmDK26wTGAU m4XknVkI78xC8s4CRuZVjKKpBckFxUn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f724uqr18/ u0t2B5tGluytspui19wfzil/4NY3Webeh9lvHrAt/qNhJWIVpuj5K8Lz3Lp9yjNWC0bu2DtP 4dPGS3JOxbM6vjHmasQ9f3Yh7vCqt64MqT8PrqjrXlDY66zMezkz9mctwzPhgolfJyixFGck GmoxFxUnAgDY2f926QIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 6761 Lines: 131 Hi Stephen, On 2015년 08월 17일 14:53, Stephen Rothwell wrote: > Hi Inki, > > On Mon, 17 Aug 2015 13:53:42 +1000 Stephen Rothwell wrote: >> >> On Mon, 17 Aug 2015 13:51:30 +1000 Stephen Rothwell wrote: >>> >>> After merging the drm-exynos tree, today's linux-next build (arm >>> multi_v7_defconfig) failed like this: >>> >>> drivers/gpu/drm/exynos/exynos_mixer.c: In function 'vp_video_buffer': >>> drivers/gpu/drm/exynos/exynos_mixer.c:395:15: error: 'struct exynos_drm_plane' has no member named 'pixel_format' >>> switch (plane->pixel_format) { >>> ^ >>> In file included from drivers/gpu/drm/exynos/exynos_mixer.c:17:0: >>> drivers/gpu/drm/exynos/exynos_mixer.c:404:10: error: 'struct exynos_drm_plane' has no member named 'pixel_format' >>> plane->pixel_format); >>> ^ >>> include/drm/drmP.h:164:17: note: in definition of macro 'DRM_ERROR' >>> drm_err(fmt, ##__VA_ARGS__) >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:411:11: error: 'struct exynos_drm_plane' has no member named 'scan_flag' >>> if (plane->scan_flag & DRM_MODE_FLAG_INTERLACE) { >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:417:39: error: 'struct exynos_drm_plane' has no member named 'pitch' >>> luma_addr[1] = luma_addr[0] + plane->pitch; >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:418:43: error: 'struct exynos_drm_plane' has no member named 'pitch' >>> chroma_addr[1] = chroma_addr[0] + plane->pitch; >>> ^ >>> In file included from drivers/gpu/drm/exynos/exynos_mixer.c:20:0: >>> drivers/gpu/drm/exynos/exynos_mixer.c:439:53: error: 'struct exynos_drm_plane' has no member named 'pitch' >>> vp_reg_write(res, VP_IMG_SIZE_Y, VP_IMG_HSIZE(plane->pitch) | >>> ^ >>> drivers/gpu/drm/exynos/regs-vp.h:59:5: note: in definition of macro 'VP_MASK_VAL' >>> (((val) << (low_bit)) & VP_MASK(high_bit, low_bit)) >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:439:35: note: in expansion of macro 'VP_IMG_HSIZE' >>> vp_reg_write(res, VP_IMG_SIZE_Y, VP_IMG_HSIZE(plane->pitch) | >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:440:21: error: 'struct exynos_drm_plane' has no member named 'fb_height' >>> VP_IMG_VSIZE(plane->fb_height)); >>> ^ >>> drivers/gpu/drm/exynos/regs-vp.h:59:5: note: in definition of macro 'VP_MASK_VAL' >>> (((val) << (low_bit)) & VP_MASK(high_bit, low_bit)) >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:440:3: note: in expansion of macro 'VP_IMG_VSIZE' >>> VP_IMG_VSIZE(plane->fb_height)); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:442:53: error: 'struct exynos_drm_plane' has no member named 'pitch' >>> vp_reg_write(res, VP_IMG_SIZE_C, VP_IMG_HSIZE(plane->pitch) | >>> ^ >>> drivers/gpu/drm/exynos/regs-vp.h:59:5: note: in definition of macro 'VP_MASK_VAL' >>> (((val) << (low_bit)) & VP_MASK(high_bit, low_bit)) >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:442:35: note: in expansion of macro 'VP_IMG_HSIZE' >>> vp_reg_write(res, VP_IMG_SIZE_C, VP_IMG_HSIZE(plane->pitch) | >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:443:21: error: 'struct exynos_drm_plane' has no member named 'fb_height' >>> VP_IMG_VSIZE(plane->fb_height / 2)); >>> ^ >>> drivers/gpu/drm/exynos/regs-vp.h:59:5: note: in definition of macro 'VP_MASK_VAL' >>> (((val) << (low_bit)) & VP_MASK(high_bit, low_bit)) >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:443:3: note: in expansion of macro 'VP_IMG_VSIZE' >>> VP_IMG_VSIZE(plane->fb_height / 2)); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:445:39: error: 'struct exynos_drm_plane' has no member named 'src_width' >>> vp_reg_write(res, VP_SRC_WIDTH, plane->src_width); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:446:40: error: 'struct exynos_drm_plane' has no member named 'src_height' >>> vp_reg_write(res, VP_SRC_HEIGHT, plane->src_height); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:451:39: error: 'struct exynos_drm_plane' has no member named 'crtc_width' >>> vp_reg_write(res, VP_DST_WIDTH, plane->crtc_width); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:454:41: error: 'struct exynos_drm_plane' has no member named 'crtc_height' >>> vp_reg_write(res, VP_DST_HEIGHT, plane->crtc_height / 2); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:457:41: error: 'struct exynos_drm_plane' has no member named 'crtc_height' >>> vp_reg_write(res, VP_DST_HEIGHT, plane->crtc_height); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:472:27: error: 'struct exynos_drm_plane' has no member named 'mode_height' >>> mixer_cfg_scan(ctx, plane->mode_height); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c:473:30: error: 'struct exynos_drm_plane' has no member named 'mode_height' >>> mixer_cfg_rgb_fmt(ctx, plane->mode_height); >>> ^ >>> drivers/gpu/drm/exynos/exynos_mixer.c: In function 'mixer_setup_scale': >>> drivers/gpu/drm/exynos/exynos_mixer.c:494:11: error: 'const struct exynos_drm_plane' has no member named 'crtc_width >> >> Hmm, my message was truncated ... >> >> I assume that there was a conflicting change in some other tree, and so >> have dropped this tree for today (hopefully it will be fixed up soon or >> you can tell me how to fix this). > > Actually it looks like this was caused by commit > > a97f353797b4 ("drm/exynos: remove unused fields from struct exynos_drm_plane") > > but only exposed today (maybe by some Kconfig dependency changing so > that drivers/gpu/drm/exynos/exynos_mixer.c is now built). I tried to build it with multi_v7_defconfig but I couldn't see any build error. Below is commit of linux-next tree I tested, commit b00278812ebaae29769666ef556abc20a4680581 Merge: ad1d24c c098dc8 Author: Stephen Rothwell Date: Fri Aug 14 12:06:53 2015 +1000 Merge remote-tracking branch 'drm-exynos/exynos-drm/for-next And today, I re-based exynos-drm/for-next on top of mainline. Could you update and try to build it again? Thanks, Inki Dae > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/