From patchwork Mon Oct 23 11:55:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13432801 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 31D1EC001E0 for ; Mon, 23 Oct 2023 11:56:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BCD7510E0C5; Mon, 23 Oct 2023 11:56:29 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id D1E3F10E1B1 for ; Mon, 23 Oct 2023 11:56:26 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id C854C609D1; Mon, 23 Oct 2023 11:56:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 92944C433C7; Mon, 23 Oct 2023 11:56:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698062185; bh=1+28/6sjktXSx20VT4aBejWjJno2W+nx1lt9g1Derzk=; h=From:To:Cc:Subject:Date:From; b=SRZ3njiE1l15k+v4qnnCRkwXcCX87kbZVmWkIKhpZ3uRj59Y6BCHOdYiZjuvQby5X gWvJcejUGRaSp62vhX76W2bztZCh3wOnRtbrDBkNcPaEfkZN4vewcNIlYOZHOpapkX 5h/jb9Zt/3ajC/KfTHEMkE6xq0pqf15yJ1JmdD6qMiaev2jHntSrBfSSilo1bxpNFw wKZa/QdgxtBJQxCSpPxw9wFx2rhQ/pHrooNLBYAP9Vq1125uxW84CeFG8hkSW1I8lf uunm4ezeRUODmkQQQnDc+TylpuXIhNLnry+GbhkUh9KksfAEg9b7jkQqJko4qW1gXG pZpnY4GBLUPBw== From: Arnd Bergmann To: Neil Armstrong , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Konrad Dybcio , Luca Weiss Subject: [PATCH] drm/panel/raydium-rm692e5: select CONFIG_DRM_DISPLAY_DP_HELPER Date: Mon, 23 Oct 2023 13:55:58 +0200 Message-Id: <20231023115619.3551348-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 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: Arnd Bergmann , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Jessica Zhang , Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann As with several other panel drivers, this fails to link without the DP helper library: ld: drivers/gpu/drm/panel/panel-raydium-rm692e5.o: in function `rm692e5_prepare': panel-raydium-rm692e5.c:(.text+0x11f4): undefined reference to `drm_dsc_pps_payload_pack' Select the same symbols that the others already use. Fixes: 988d0ff29ecf7 ("drm/panel: Add driver for BOE RM692E5 AMOLED panel") Signed-off-by: Arnd Bergmann Reviewed-by: Neil Armstrong --- 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 99e14dc212ecb..a4ac4b47777fe 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -530,6 +530,8 @@ config DRM_PANEL_RAYDIUM_RM692E5 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 Raydium RM692E5-based display panels, such as the one found in the Fairphone 5 smartphone.