Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8215060rwp; Wed, 19 Jul 2023 06:56:24 -0700 (PDT) X-Google-Smtp-Source: APBJJlEnQVibJ/g4NTRvfWaxHHXxIDkHvebnJ+vKsKlhROXhov+YpIgTk0GIeJbPfzoV+Nt6AvEz X-Received: by 2002:a05:6a20:a121:b0:133:249f:2ce2 with SMTP id q33-20020a056a20a12100b00133249f2ce2mr23072278pzk.0.1689774984008; Wed, 19 Jul 2023 06:56:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689774983; cv=none; d=google.com; s=arc-20160816; b=qtrv0Pd9TND8C8Gjf5WzLf5WYtPQ7ZBQNBJWGYnor+P45prnwzpJ08CRo8Lrsn7lSy pybeyorVbqm1cLwbFrZD69r9SDBqtaIJTWuY67uAC/8Uv3IDnqaJWaWA5XRbDKdOX5SK V8e2upx/V85XVa9lbwEzTllC+mFO32e+2B7kRey1WLTgLU40xNklrx3usCSUHaF8lYqG z5+Qd//1knd5kGggpGmLLIYxNmmST0Zx9dIwZm8g0p8DRAfkqjt121VOZdiZnBfsKzPa kBar7T7zSohZZ0LsJc4uh7cvTNAcwNhfC7OyHWEkA+2MOQU+wwsZiNbPreilC4R5BFb3 Okgg== 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; bh=TK9cAUB5ibJhfg5LynLdJbfjMIx+VX2kVvHdMb4d8g0=; fh=R7BgqLKCmZPd19zDsG1mt718xlKZtsp6gmtll8yeMLw=; b=nz5gWQ2vWYDpb7+G/wjEqabRFWQhYoIx6eh1tRT4g5P41T0/0SDpPmyp5U6rWB1mm+ xLoGGpltURyZgLG50hserb+cNGeFLL78QZq/wwqaBgSog47Jg2RD4OMh3yQIIy+w3+AC +SINhOZW/y8VSHPWAsPNmrmfwj0c5s5GbasWXB7yIodbPpaq2Ngc8HnnOe1StuZU7rIM x2hb14+vk6kPyc4kUbjXs2SHG089OfmMzf2/0gDvbVV2Q1Du4OJipqzt+d/m/nb0VpgV J1kfa10FKq3Ap0883peE1mTBZl2JmbyuBEDbP/r/c74Q49VX62p94PWrFkDSkSiKoOLS ZkNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RdCHsQw8; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x30-20020a056a00189e00b00682c5c9d627si3486564pfh.325.2023.07.19.06.56.11; Wed, 19 Jul 2023 06:56:23 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=RdCHsQw8; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230106AbjGSNJt (ORCPT + 99 others); Wed, 19 Jul 2023 09:09:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229660AbjGSNJs (ORCPT ); Wed, 19 Jul 2023 09:09:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2026210FE for ; Wed, 19 Jul 2023 06:09:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AA4756162A for ; Wed, 19 Jul 2023 13:09:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CE4A5C433C8; Wed, 19 Jul 2023 13:09:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1689772185; bh=emvLdW7AGgXpWhAQUruy5IEnajx3zbwFXE7kJcAzRvk=; h=From:To:Cc:Subject:Date:From; b=RdCHsQw8isbZoU2ldlm5G9kcGyB4SZBiDMYIUpVgXRyghH1YD7DOgHmbg4Ge8tW+I opSlEOYrbLMAUHuak2sqi+Z3JPvlSiuV5uw5wo0v2+pBZlULn2lJeUoS8EAAu9bF1p Fe6XJerUfw1UpRMvU0XVBqPmOo6vYogitYxhRU24/oZ/t8HV50NV2Vwju3cR9sEh4P 6ZY/xuCV9kxlqZAHmWfkuZbCpvlChcMaNDuzmfHsYNPAU+EuDa/DX3Y2MvpLn4xLrY OSaM7UeJcFhrdqw2fPFgN2GNHPNzBZhhfxE+/sBvtwGx+FlkTBDLilDGkNRVeo38Vr cWL2+qPB6GLkQ== From: Arnd Bergmann To: Neil Armstrong , David Airlie , Daniel Vetter , Jessica Zhang Cc: Arnd Bergmann , Sam Ravnborg , Linus Walleij , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER Date: Wed, 19 Jul 2023 15:09:21 +0200 Message-Id: <20230719130940.659837-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann The newly added driver only builds when DRM_DISPLAY_DP_HELPER is enabled: x86_64-linux-ld: drivers/gpu/drm/panel/panel-visionox-r66451.o: in function `visionox_r66451_enable': panel-visionox-r66451.c:(.text+0x105): undefined reference to `drm_dsc_pps_payload_pack' Select both CONFIG_DRM_DISPLAY_DP_HELPER and CONFIG_DRM_DISPLAY_HELPER to ensure the helper function is always available. Fixes: a6dfab2738fc2 ("drm/panel: Add driver for Visionox r66451 panel") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/panel/Kconfig b/drivers/gpu/drm/panel/Kconfig index 1a0fd0754692e..e8c9f4613a4b4 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -798,6 +798,8 @@ config DRM_PANEL_VISIONOX_R66451 depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DP_HELPER + select DRM_DISPLAY_HELPER help Say Y here if you want to enable support for Visionox R66451 1080x2340 AMOLED DSI panel. -- 2.39.2