Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp2314132pxb; Thu, 3 Feb 2022 04:07:50 -0800 (PST) X-Google-Smtp-Source: ABdhPJy78lmqq0tynggdyufwytymEcaOu5v/dcrhH/5X4kPwMglyiBUB0f8WJfAR8VVxw48Gh+PT X-Received: by 2002:a05:6402:1910:: with SMTP id e16mr35050247edz.11.1643890069837; Thu, 03 Feb 2022 04:07:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643890069; cv=none; d=google.com; s=arc-20160816; b=s41IldALbob/aO6nCOJH97xQEh579PBA7wIh/ZP6jK31mXRDaFMdo9P7F3lFh5uizH akrAPi7wLSh+2B4+EfIah66dSgNrZt7nZBdrVVUKItq9UvvmGvLSX6HmeBIgp274e8SS e/LHnbTs1oBlGXZsIZR3rx2G+wMmq6yw2H5VMKZZf5lbU3qkjyHbfMSxb0hgAeFvJaC5 IC3exk0xf0F1rBqH9YhP+1d3tWWrMrvdweDLfx9Mgtz9AhzZTTI/CJnER4YWv+s9riFH XuAB6XSo0+Qhu1tRaETF0aBuPr6Wcutxm5Ank7Dnz5WHeFcOHjEB1i1Sr7W5b7X16R+Z bxXw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=Zxs99KhY7Z80rmqy9T0r2Wloivv626xyeItNWOxOh6g=; b=A9LUXqLNMnbsUW1a/LqB664y5qkLPVl/dV8CxwRqk79NSDVnfbajDuQiqmTNW0o6ai N5jp1Kp14W1Z0HJ5Oq6ydlEdoq3WkQ4IAtKm60N8/7oarpfa245CcYjbY2HKrYXqUO2J Rn0eMfkqRK7zDTUr3D5PTG3oPwffADUwJU9N8MU81YE5GZtSotRpP6cQJEf5tKNdxEUY M2ebugBKAWT2HuRikYJyb5zP4tCQEqHB1LZHSxzCDJiR+BUBcL4++HOxQbs+qOtB3tWT XBuWQlVd6l9LAghowUuNrqmr8IX+yXVoF9azF1UuYmyXr25QRTfBplHjzD4sCpQxtflO 3Q/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mTv36Ulm; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he40si12729670ejc.403.2022.02.03.04.07.24; Thu, 03 Feb 2022 04:07:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=mTv36Ulm; dkim=neutral (no key) header.i=@suse.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242816AbiBCJj2 (ORCPT + 99 others); Thu, 3 Feb 2022 04:39:28 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:60580 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230408AbiBCJj2 (ORCPT ); Thu, 3 Feb 2022 04:39:28 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 477D51F399; Thu, 3 Feb 2022 09:39:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1643881167; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Zxs99KhY7Z80rmqy9T0r2Wloivv626xyeItNWOxOh6g=; b=mTv36Ulmy4BZGoIMzk5mc52HrZmW/XGjmaO8ThyRM1gJJ5Bx60p9CZg4qUU+Jzd2+yZs+n UTzdNtx7rF5Dg0W7tId7+h4c4ghMWt4NnGOyf/HCE3HBNM3cn7/6E+NXbVRsZfJ3bF7ciW iLtqgxZ+VUY6g9aUmaLQ/gfY5QexsFc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1643881167; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=Zxs99KhY7Z80rmqy9T0r2Wloivv626xyeItNWOxOh6g=; b=ZGCJ21jwW4VVe/xJzlPLDapssHgVo9GR0PRJXRzpapvDSUWHkyYFUNn9dhIr+lpHzh3X47 JuOzJEMjqlvvp0DA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id DD2DB13B7F; Thu, 3 Feb 2022 09:39:26 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2J07NM6i+2F7PgAAMHmgww (envelope-from ); Thu, 03 Feb 2022 09:39:26 +0000 From: Thomas Zimmermann To: thierry.reding@gmail.com, sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, lyude@redhat.com, linus.walleij@linaro.org, dianders@chromium.org, ardb@kernel.org, naresh.kamboju@linaro.org Cc: rdunlap@infradead.org, arnd@arndb.de, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Thomas Zimmermann , Linux Kernel Functional Testing , Maarten Lankhorst , Maxime Ripard Subject: [PATCH v2] drm/panel: Select DRM_DP_HELPER for DRM_PANEL_EDP Date: Thu, 3 Feb 2022 10:39:22 +0100 Message-Id: <20220203093922.20754-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As reported in [1], DRM_PANEL_EDP depends on DRM_DP_HELPER. Select the option to fix the build failure. The error message is shown below. arm-linux-gnueabihf-ld: drivers/gpu/drm/panel/panel-edp.o: in function `panel_edp_probe': panel-edp.c:(.text+0xb74): undefined reference to `drm_panel_dp_aux_backlight' make[1]: *** [/builds/linux/Makefile:1222: vmlinux] Error 1 The issue has been reported before, when DisplayPort helpers were hidden behind the option CONFIG_DRM_KMS_HELPER. [2] v2: * fix and expand commit description (Arnd) Signed-off-by: Thomas Zimmermann Fixes: adb9d5a2cc77 ("drm/dp: Move DisplayPort helpers into separate helper module") Fixes: 5f04e7ce392d ("drm/panel-edp: Split eDP panels out of panel-simple") Reported-by: Naresh Kamboju Reported-by: Linux Kernel Functional Testing Link: https://lore.kernel.org/dri-devel/CA+G9fYvN0NyaVkRQmA1O6rX7H8PPaZrUAD7=RDy33QY9rUU-9g@mail.gmail.com/ # [1] Link: https://lore.kernel.org/all/20211117062704.14671-1-rdunlap@infradead.org/ # [2] Cc: Thomas Zimmermann Cc: Lyude Paul Cc: Daniel Vetter Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: dri-devel@lists.freedesktop.org --- drivers/gpu/drm/panel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 434c2861bb40..0aec5a10b064 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -106,6 +106,7 @@ config DRM_PANEL_EDP depends on PM select VIDEOMODE_HELPERS select DRM_DP_AUX_BUS + select DRM_DP_HELPER help DRM panel driver for dumb eDP panels that need at most a regulator and a GPIO to be powered up. Optionally a backlight can be attached so -- 2.34.1