Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2076156imm; Fri, 7 Sep 2018 10:24:38 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZn+/Paw3k3hWF+E1Xc+zpadM+TZ2ckBi/SZx7bqosmsOuALZbgpb2St5l+EI3BGQp0SiuF X-Received: by 2002:a17:902:b902:: with SMTP id bf2-v6mr9103866plb.185.1536341077968; Fri, 07 Sep 2018 10:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536341077; cv=none; d=google.com; s=arc-20160816; b=vnLslXWXni6LUUlvcB9aCAV/J1rJeZ2eThFjTNFYGGAxPuULrX7xuDwz+C0RP0pLp5 uximaJ7KgSg68tdfWNAEc1lYx+MIWF5yBDwAfQve3T/FGYrqBqvvppgf0Gwa1cZ/C4NP zyxnnhTTWWiZZ6rv0dPxGZEJDiMxprmHTW9HYREQHaQE6a3f2Ezbk+Ar2JLzHgpv7wdW R/pO396F1Bg6GzE5LxK9R9dyHs1IznqBreF/vqI5ppB+DBSPJ6I4pL9pqFw3g8fi53vw TTUu3Y8KUIi0WYDdTmmFEdgQnfbyv1C35hxchatFeVYmnzySjPgk8rNownZ7fUPW4a9L iM1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=HoVU8pSwA1yNCBp+qfG/yzs73dsXV+Qkm7cKeM653ao=; b=Hho/5l1hBP0wh9iR3vL789yF3PwiiULBznjka+KcoZEj+OdmSVVM7oj8bxzVbGgISZ vHbKPt1Dg26+jdD9xsu8T/h53WCuYSaGuXLv0/K88XYJjQReYHAWi9tnzdKLXvpJx7Bz RpIdMD/R/3jnGnyIwd15f2rO6Iru24Dnil7ysHhjdVgZt6dPzSYHdg9YUbpSN4sxgF6E A3gJaWYPEdZmT9UYjmSl7nsG9esOSLcUrzYw50mj/rR9LCg+v6+Q7I6V72/apxNdUoYl JdYXJ4FqP3VuVWr0vc5VEYEZzRwYWo15EkBhIJTYkC3tbEFpypl19Q/G1WmnCWmnOuyi Zkdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jFSR5NYs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s195-v6si9149401pgs.492.2018.09.07.10.24.22; Fri, 07 Sep 2018 10:24:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jFSR5NYs; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727261AbeIGWFB (ORCPT + 99 others); Fri, 7 Sep 2018 18:05:01 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37086 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725963AbeIGWFB (ORCPT ); Fri, 7 Sep 2018 18:05:01 -0400 Received: by mail-lj1-f196.google.com with SMTP id v9-v6so12894188ljk.4 for ; Fri, 07 Sep 2018 10:23:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=HoVU8pSwA1yNCBp+qfG/yzs73dsXV+Qkm7cKeM653ao=; b=jFSR5NYsf7V85JSI4hm9xPMqQTA5GkbfYDlHPRJSHR1YKAD3PweOSaBbEeMGhqU5iR TFeTSXYCKMmo8p22unrpuVRvn9Nm4XYJB7tS6agrfHX99iAyWdS1BEP/eTB5dXF1YW2w Fb9IwWzniJ8mO177voCKlsDQIMx0F35XgDFek= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=HoVU8pSwA1yNCBp+qfG/yzs73dsXV+Qkm7cKeM653ao=; b=e0dbBXLGtspa90tB0Jey+Hky3MhyE0ji45iL4y2vKwkDrPbmt8oUdys4+HLru5KPvc q8ismmcjPMwZrYfWHhtJzbzhv3o+iHyyQ5+x4H5wbwQKetUGcxIaz/etTobyPT3TZ/Xu hF354VMR9MMlw/nS/Cdvap3ja5D2fNIhXLBKN6xpTp02RRRSBr9zh4PokLHP6eyz0y8z SG3NWhqIAUXRExqc/Axf/E38tOrCDqbo46oswhEreW5vxcNuc09hwHMkuEWIweF3cYBt FY8q3MQVG+wcfWNzUQO17Y8axdQfAP4Zi0UzxQJZKNK9/2g6rEtCUf4VR9QOX0jAkUR+ 1V2w== X-Gm-Message-State: APzg51AkbkqsHfzHL0drNqTxn+IYnfNbSuitVUfLnG+srgCjZDh9ZiCa D/vdT/tawB+5hGm1ZGoHKBMtyk4c+oRZXsshKDMiCG+Bhg4= X-Received: by 2002:a2e:92c4:: with SMTP id k4-v6mr5793835ljh.18.1536340985307; Fri, 07 Sep 2018 10:23:05 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:a20c:0:0:0:0:0 with HTTP; Fri, 7 Sep 2018 10:23:04 -0700 (PDT) In-Reply-To: <105cb1cf-577a-043a-9b50-248a37090bdd@nvidia.com> References: <20180711144403.1022829-1-arnd@arndb.de> <105cb1cf-577a-043a-9b50-248a37090bdd@nvidia.com> From: Naresh Kamboju Date: Fri, 7 Sep 2018 22:53:04 +0530 Message-ID: Subject: Re: [PATCH] [v3] drm/sun4i: fix build failure with CONFIG_DRM_SUN8I_MIXER=m To: Jon Hunter Cc: Arnd Bergmann , Maxime Ripard , Chen-Yu Tsai , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, open list Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 7 September 2018 at 15:11, Jon Hunter wrote: > > On 11/07/18 15:43, Arnd Bergmann wrote: >> Having DRM_SUN4I built-in but DRM_SUN8I_MIXER as a loadable module results in >> a link error, as we try to access a symbol from the sun8i_tcon_top.ko module: >> >> ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun8i-drm-hdmi.ko] undefined! >> ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-drm.ko] undefined! >> >> This solves the problem by adding a silent symbol for the tcon_top module, >> building it as a separate module in exactly the cases that we need it, >> but in a way that it is reachable by the other modules. >> >> Fixes: 57e23de02f48 ("drm/sun4i: DW HDMI: Expand algorithm for possible crtcs") >> Fixes: ef0cf6441fbb ("drm/sun4i: Add support for traversing graph with TCON TOP") >> Signed-off-by: Arnd Bergmann > I am seeing the following on today's -next (20180907) as well the last > few -next versions for that matter ... > > ERROR: "sun8i_tcon_top_de_config" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! > ERROR: "sun8i_tcon_top_set_hdmi_src" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! > ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! > > Seems like this issue has cropped up again as Arnd's fix is present. I > am seeing this on ARM64 builds. I do notice these failures on ARM64 builds on linux next 20180906 and 20180907. 11:40:55 | ERROR: "sun8i_tcon_top_de_config" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! 11:40:55 | ERROR: "sun8i_tcon_top_set_hdmi_src" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! 11:40:55 | ERROR: "sun8i_tcon_top_of_table" [drivers/gpu/drm/sun4i/sun4i-tcon.ko] undefined! Build full log can be found on this link. https://ci.linaro.org/view/lkft/job/openembedded-lkft-linux-next/DISTRO=rpb,MACHINE=dragonboard-410c,label=docker-stretch-amd64/346/console - Naresh > > Cheers > Jon > > -- > nvpublic