From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 35CA7C433E7 for ; Mon, 12 Oct 2020 10:15:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EA33C2080D for ; Mon, 12 Oct 2020 10:15:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729225AbgJLKPq convert rfc822-to-8bit (ORCPT ); Mon, 12 Oct 2020 06:15:46 -0400 Received: from aposti.net ([89.234.176.197]:53264 "EHLO aposti.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbgJLKPq (ORCPT ); Mon, 12 Oct 2020 06:15:46 -0400 Date: Mon, 12 Oct 2020 12:15:31 +0200 From: Paul Cercueil Subject: Re: linux-next: build failure after merge of the drm-misc tree To: Stephen Rothwell Cc: Daniel Vetter , Intel Graphics , DRI , Sam Ravnborg , Linux Kernel Mailing List , linux-next@vger.kernel.org, Dave Airlie Message-Id: In-Reply-To: <20201012152452.432c4867@canb.auug.org.au> References: <20201008140903.12a411b8@canb.auug.org.au> <20201008154202.175fbec7@canb.auug.org.au> <20201012152452.432c4867@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Stephen, Le lun. 12 oct. 2020 à 15:24, Stephen Rothwell a écrit : > Hi all, > > On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell > wrote: >> >> On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell >> wrote: >> > >> > After merging the drm-misc tree, today's linux-next build (x86_64 >> > allmodconfig) failed like this: >> >> In file included from include/linux/clk.h:13, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:10: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function >> 'ingenic_drm_update_palette': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean >> 'dma_hwdesc_f0'? >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:33: note: in definition of macro >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + >> __must_be_array(arr)) >> | ^~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean >> 'dma_hwdesc_f0'? >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:48: note: in definition of macro >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + >> __must_be_array(arr)) >> | ^~~ >> In file included from include/linux/bits.h:22, >> from include/linux/bitops.h:5, >> from drivers/gpu/drm/ingenic/ingenic-drm.h:10, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:7: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean >> 'dma_hwdesc_f0'? >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { >> int:(-!!(e)); }))) >> | >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro >> '__same_type' >> 224 | #define __must_be_array(a) >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + >> __must_be_array(arr)) >> | >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean >> 'dma_hwdesc_f0'? >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { >> int:(-!!(e)); }))) >> | >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro >> '__same_type' >> 224 | #define __must_be_array(a) >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + >> __must_be_array(arr)) >> | >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~ >> include/linux/build_bug.h:16:51: error: bit-field '' >> width not an integer constant >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { >> int:(-!!(e)); }))) >> | ^ >> include/linux/compiler.h:224:28: note: in expansion of macro >> 'BUILD_BUG_ON_ZERO' >> 224 | #define __must_be_array(a) >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + >> __must_be_array(arr)) >> | >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i = 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:453:9: error: 'struct >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean >> 'dma_hwdesc_f0'? >> 453 | priv->dma_hwdescs->palette[i] = color; >> | ^~~~~~~~~~~ >> | dma_hwdesc_f0 >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function >> 'ingenic_drm_plane_atomic_update': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: error: >> 'crtc_state' undeclared (first use in this function); did you mean >> 'ctx_state'? >> 467 | crtc_state = state->crtc->state; >> | ^~~~~~~~~~ >> | ctx_state >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: note: each >> undeclared identifier is reported only once for each function it >> appears in >> At top level: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:443:13: warning: >> 'ingenic_drm_update_palette' defined but not used [-Wunused-function] >> 443 | static void ingenic_drm_update_palette(struct ingenic_drm >> *priv, >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> > I noticed that the ingenic driver revert I had been waiting for >> appeared >> > in hte drm-misc tree, so I removed the BROKEN dependency for it, >> but it >> > produced the above errors, so I have marked it BROKEN again. > > Any progress on this? I am still marking CONFIG_DRM_INGENIC as BROKEN > in the drm and drm-misc trees. Ugh, that doesn't look good. I'll send a fix ASAP. (I was having email problems last week and the original email bounced, sorry about that) Cheers, -Paul From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C3C13C433DF for ; Tue, 13 Oct 2020 07:17:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B4CC206ED for ; Tue, 13 Oct 2020 07:17:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B4CC206ED Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E1C506E89E; Tue, 13 Oct 2020 07:17:03 +0000 (UTC) Received: from aposti.net (aposti.net [89.234.176.197]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9D4236E03C for ; Mon, 12 Oct 2020 10:15:44 +0000 (UTC) Date: Mon, 12 Oct 2020 12:15:31 +0200 From: Paul Cercueil Subject: Re: linux-next: build failure after merge of the drm-misc tree To: Stephen Rothwell Message-Id: In-Reply-To: <20201012152452.432c4867@canb.auug.org.au> References: <20201008140903.12a411b8@canb.auug.org.au> <20201008154202.175fbec7@canb.auug.org.au> <20201012152452.432c4867@canb.auug.org.au> MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 13 Oct 2020 07:16:53 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dave Airlie , Daniel Vetter , Intel Graphics , Linux Kernel Mailing List , DRI , linux-next@vger.kernel.org, Sam Ravnborg Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi Stephen, Le lun. 12 oct. 2020 =E0 15:24, Stephen Rothwell = a =E9crit : > Hi all, > = > On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell = > wrote: >> = >> On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell = >> wrote: >> > >> > After merging the drm-misc tree, today's linux-next build (x86_64 >> > allmodconfig) failed like this: >> = >> In file included from include/linux/clk.h:13, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:10: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function = >> 'ingenic_drm_update_palette': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:33: note: in definition of macro = >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | ^~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:48: note: in definition of macro = >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | ^~~ >> In file included from include/linux/bits.h:22, >> from include/linux/bitops.h:5, >> from drivers/gpu/drm/ingenic/ingenic-drm.h:10, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:7: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro = >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | = >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro = >> '__same_type' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro = >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | = >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro = >> '__same_type' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> include/linux/build_bug.h:16:51: error: bit-field '' = >> width not an integer constant >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | ^ >> include/linux/compiler.h:224:28: note: in expansion of macro = >> 'BUILD_BUG_ON_ZERO' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:453:9: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 453 | priv->dma_hwdescs->palette[i] =3D color; >> | ^~~~~~~~~~~ >> | dma_hwdesc_f0 >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function = >> 'ingenic_drm_plane_atomic_update': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: error: = >> 'crtc_state' undeclared (first use in this function); did you mean = >> 'ctx_state'? >> 467 | crtc_state =3D state->crtc->state; >> | ^~~~~~~~~~ >> | ctx_state >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: note: each = >> undeclared identifier is reported only once for each function it = >> appears in >> At top level: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:443:13: warning: = >> 'ingenic_drm_update_palette' defined but not used [-Wunused-function] >> 443 | static void ingenic_drm_update_palette(struct ingenic_drm = >> *priv, >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> = >> > I noticed that the ingenic driver revert I had been waiting for = >> appeared >> > in hte drm-misc tree, so I removed the BROKEN dependency for it, = >> but it >> > produced the above errors, so I have marked it BROKEN again. > = > Any progress on this? I am still marking CONFIG_DRM_INGENIC as BROKEN > in the drm and drm-misc trees. Ugh, that doesn't look good. I'll send a fix ASAP. (I was having email problems last week and the original email bounced, = sorry about that) Cheers, -Paul _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76F84C43467 for ; Mon, 12 Oct 2020 16:01:11 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1A7542074A for ; Mon, 12 Oct 2020 16:01:11 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1A7542074A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crapouillou.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E40046E51C; Mon, 12 Oct 2020 16:01:03 +0000 (UTC) X-Greylist: delayed 393 seconds by postgrey-1.36 at gabe; Mon, 12 Oct 2020 10:22:17 UTC Received: from aposti.net (aposti.net [89.234.176.197]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAB386E249 for ; Mon, 12 Oct 2020 10:22:17 +0000 (UTC) Date: Mon, 12 Oct 2020 12:15:31 +0200 From: Paul Cercueil To: Stephen Rothwell Message-Id: In-Reply-To: <20201012152452.432c4867@canb.auug.org.au> References: <20201008140903.12a411b8@canb.auug.org.au> <20201008154202.175fbec7@canb.auug.org.au> <20201012152452.432c4867@canb.auug.org.au> MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 12 Oct 2020 16:01:02 +0000 Subject: Re: [Intel-gfx] linux-next: build failure after merge of the drm-misc tree X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Dave Airlie , Daniel Vetter , Intel Graphics , Linux Kernel Mailing List , DRI , linux-next@vger.kernel.org, Sam Ravnborg Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Stephen, Le lun. 12 oct. 2020 =E0 15:24, Stephen Rothwell = a =E9crit : > Hi all, > = > On Thu, 8 Oct 2020 15:42:02 +1100 Stephen Rothwell = > wrote: >> = >> On Thu, 8 Oct 2020 14:09:03 +1100 Stephen Rothwell = >> wrote: >> > >> > After merging the drm-misc tree, today's linux-next build (x86_64 >> > allmodconfig) failed like this: >> = >> In file included from include/linux/clk.h:13, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:10: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function = >> 'ingenic_drm_update_palette': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:33: note: in definition of macro = >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | ^~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:48: note: in definition of macro = >> 'ARRAY_SIZE' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | ^~~ >> In file included from include/linux/bits.h:22, >> from include/linux/bitops.h:5, >> from drivers/gpu/drm/ingenic/ingenic-drm.h:10, >> from drivers/gpu/drm/ingenic/ingenic-drm-drv.c:7: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro = >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | = >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro = >> '__same_type' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:35: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~~ >> include/linux/build_bug.h:16:62: note: in definition of macro = >> 'BUILD_BUG_ON_ZERO' >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | = >> ^ >> include/linux/compiler.h:224:46: note: in expansion of macro = >> '__same_type' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> include/linux/build_bug.h:16:51: error: bit-field '' = >> width not an integer constant >> 16 | #define BUILD_BUG_ON_ZERO(e) ((int)(sizeof(struct { = >> int:(-!!(e)); }))) >> | ^ >> include/linux/compiler.h:224:28: note: in expansion of macro = >> 'BUILD_BUG_ON_ZERO' >> 224 | #define __must_be_array(a) = >> BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0])) >> | ^~~~~~~~~~~~~~~~~ >> include/linux/kernel.h:47:59: note: in expansion of macro = >> '__must_be_array' >> 47 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + = >> __must_be_array(arr)) >> | = >> ^~~~~~~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:448:18: note: in = >> expansion of macro 'ARRAY_SIZE' >> 448 | for (i =3D 0; i < ARRAY_SIZE(priv->dma_hwdescs->palette); = >> i++) { >> | ^~~~~~~~~~ >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:453:9: error: 'struct = >> ingenic_drm' has no member named 'dma_hwdescs'; did you mean = >> 'dma_hwdesc_f0'? >> 453 | priv->dma_hwdescs->palette[i] =3D color; >> | ^~~~~~~~~~~ >> | dma_hwdesc_f0 >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c: In function = >> 'ingenic_drm_plane_atomic_update': >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: error: = >> 'crtc_state' undeclared (first use in this function); did you mean = >> 'ctx_state'? >> 467 | crtc_state =3D state->crtc->state; >> | ^~~~~~~~~~ >> | ctx_state >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:467:3: note: each = >> undeclared identifier is reported only once for each function it = >> appears in >> At top level: >> drivers/gpu/drm/ingenic/ingenic-drm-drv.c:443:13: warning: = >> 'ingenic_drm_update_palette' defined but not used [-Wunused-function] >> 443 | static void ingenic_drm_update_palette(struct ingenic_drm = >> *priv, >> | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> = >> > I noticed that the ingenic driver revert I had been waiting for = >> appeared >> > in hte drm-misc tree, so I removed the BROKEN dependency for it, = >> but it >> > produced the above errors, so I have marked it BROKEN again. > = > Any progress on this? I am still marking CONFIG_DRM_INGENIC as BROKEN > in the drm and drm-misc trees. Ugh, that doesn't look good. I'll send a fix ASAP. (I was having email problems last week and the original email bounced, = sorry about that) Cheers, -Paul _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx