Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp3808351ybk; Tue, 19 May 2020 13:28:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXoT+F9MKIzNsLWr/H1B7IESg3bY6yJjHC9Hwb2rdszuJRKR6bJSdfvoSJxXxh9xqiqxf2 X-Received: by 2002:aa7:d891:: with SMTP id u17mr533809edq.129.1589920094724; Tue, 19 May 2020 13:28:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589920094; cv=none; d=google.com; s=arc-20160816; b=az9woMg3IzAyb3WR69AKLi78PXbFcIq0e9eOWsAzcW9us5dDLxpHJBi5ruxVaGDSjQ stRJcVenGPZR8d12WIy++E2RhBUwfucwCxVDF1rmBlJ2jxjiIzMZJ1YJ2O82TqLOa7AN hgR7djZaM8+YjD0mPw9BIskScH/kd8U7O9FahJy76NWdOjYZfKgDsS0Ak95UQqgURE+i S4JAATlvTToLvx1GtwvDI0FG/5AU1F4Z7dzcoAnM//4FF2XFf+x8bPeq1RLn5DVRGT5E qR6mFMbGpf0P9NMQNfuK7c9ixooq6EwX3EicRBuDN/zR+EVGCP30vBj9ZPwBleyHzSZ6 kv5w== 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 :in-reply-to:references:mime-version:dkim-signature; bh=Cysi0CoNBsu9DhP/dMMLTlA0RNEElv2ZCbOSz0zvm1U=; b=TUNKqMo3GRadkAtd563fVAgo/i2vwBf66xi+CHE4kkQVW19SqDJxJhzNQ2ex1TPIR6 Pl0AzHzjgfpA6lKEk6qG4tGFFRwGGZ8Zjv3vusT5Svq2hrrwKLiBvDl1xDTPDGMNpKy6 b73mW9RnQDwDJkm+Z3kBOTyZq3mtjRF8UnfhZuozVKjm8VQPD42e1IaB9XNJNDkILJbN wGQ5MpekbTxbUzcxZxPVrt8oQh/lcmhUEo9pOw8SJaPUqUBAXU/K8ysslrGoL9VBHE+b zVjoQDD8XqY/bkRUxzfLE/wQO5bl4iQo5Wu9YTcGfXfGlG87aNFFN+c777TE9xYR1025 f6pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uI4Z4CVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz23si258567edb.102.2020.05.19.13.27.50; Tue, 19 May 2020 13:28:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=uI4Z4CVh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbgESUZi (ORCPT + 99 others); Tue, 19 May 2020 16:25:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56324 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727938AbgESUZh (ORCPT ); Tue, 19 May 2020 16:25:37 -0400 Received: from mail-vk1-xa42.google.com (mail-vk1-xa42.google.com [IPv6:2607:f8b0:4864:20::a42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D9B1C08C5C0; Tue, 19 May 2020 13:25:37 -0700 (PDT) Received: by mail-vk1-xa42.google.com with SMTP id j28so173588vkn.8; Tue, 19 May 2020 13:25:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Cysi0CoNBsu9DhP/dMMLTlA0RNEElv2ZCbOSz0zvm1U=; b=uI4Z4CVhMiPZX6sByzDWE7ZFzcwaR+6wPM7HAlZLpc4hLaQ4012RvTFwesTownI+Bs j8kpFgg17yYeJhbuR+n9lnpXEr8tBTkj6xaVlmRt/vnllgXmZMEjSgfPTKetO2FaQWKV VpfnSqfteyu+lbYGOp0/zHd858vbvRHaXBwBj0zjkFWzpLd1kJUasVZITFtoF5ZCrWQM WWkmAvZbjeIvNQB/KpaTxpaJXWL8dLZnVrjus730ZRNma+mRrjL9fIc4Ch7v9O6ajCkz yf9hFXaO3YJoSejYY1qxdHiVuQc5W+IPxTYlsl+SjH65eJW13lwqZY7bAgRVnGWDjtf/ 5x9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Cysi0CoNBsu9DhP/dMMLTlA0RNEElv2ZCbOSz0zvm1U=; b=ab2+91xpj3nZ59SsWj4bmsxfBP/OHDP8F7+67ePZJG4zVUaQlBwlEeqDkIwW8VVv6F 5Yo0O9ETTXqhldrWTkkR6oB8JVZegMU741iUwnEAXKR83PDEIYBaIOwBPaIeQz4rL3lL 7x6ogRK5hpyyDZ1uTzz4e4VUeE4vhBsT+O6XqPBJWwtH4+X9RlcL8032JYnLwxebGju2 RBWVLqJuYzSkk2vbTIymUjFPaEtcxEbcAiKxEFTU0IlrE1J/DGimuW5cHxTSKyjj3rA1 nI2FwqEuvl0j/N3gObAENqyMF2Cpd9uR4+BLH7AnmXTB/pt6jK7OODMRSnBqYLJTs1+T NaZQ== X-Gm-Message-State: AOAM532kwnDaqKJc4kI+oBGOnRjdhOJVZn07ZnLtJRVNfKV7rfzyZ1vM v395q+Z/wyMIC4DlHSYszZM8wLZms2SnpJfIPZ4= X-Received: by 2002:a1f:bd96:: with SMTP id n144mr1516532vkf.6.1589919936532; Tue, 19 May 2020 13:25:36 -0700 (PDT) MIME-Version: 1.0 References: <20200518201646.48312-1-dagmcr@gmail.com> In-Reply-To: <20200518201646.48312-1-dagmcr@gmail.com> From: Emil Velikov Date: Tue, 19 May 2020 21:22:42 +0100 Message-ID: Subject: Re: [PATCH] drm: rcar-du: Fix build error To: Daniel Gomez Cc: Daniel Vetter , Dave Airlie , "Linux-Kernel@Vger. Kernel. Org" , ML dri-devel , linux-renesas-soc@vger.kernel.org, Kieran Bingham , Laurent Pinchart 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 Tue, 19 May 2020 at 08:01, Daniel Gomez wrote: > > Select DRM_KMS_HELPER dependency. > > Build error when DRM_KMS_HELPER is not selected: > > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd48): undefined reference to `drm_atomic_helper_bridge_duplicate_state' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd50): undefined reference to `drm_atomic_helper_bridge_destroy_state' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xd70): undefined reference to `drm_atomic_helper_bridge_reset' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xdc8): undefined reference to `drm_atomic_helper_connector_reset' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xde0): undefined reference to `drm_helper_probe_single_connector_modes' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe08): undefined reference to `drm_atomic_helper_connector_duplicate_state' > drivers/gpu/drm/rcar-du/rcar_lvds.o:(.rodata+0xe10): undefined reference to `drm_atomic_helper_connector_destroy_state' > > Signed-off-by: Daniel Gomez Nicely spotted. AFAICT the only way this ever worked is if people had DRM_FBDEV_EMULATION, which is unset in your case. Cc: Reviewed-by: Emil Velikov I suspect Laurent will pick this in due time. -Emil