From patchwork Tue Oct 15 15:34:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13836643 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 5FE9FCFC27C for ; Tue, 15 Oct 2024 15:44:19 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E395C10E0C8; Tue, 15 Oct 2024 15:44:18 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="lsRKFXeO"; dkim-atps=neutral Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by gabe.freedesktop.org (Postfix) with ESMTPS id 38E0610E0C8 for ; Tue, 15 Oct 2024 15:44:17 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 4008D5C54D8; Tue, 15 Oct 2024 15:44:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10576C4CECF; Tue, 15 Oct 2024 15:44:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1729007056; bh=VFhgk/njsHyjd8aB6tafElwHW+m/T48wZYuky3XTUMI=; h=From:To:Cc:Subject:Date:From; b=lsRKFXeOTuNDnd3VUbBC72V86Nc6o9WpbC5TyTl9YT6NcJPKnmIFYvbrNdm7fQi/7 tLRXBxUjWLKk1MOtU1F5azvz8teZ1IIOb8/nQ+JeON6ToYeHdr3b70xoQmcVXTXydO tjB3lbRUCB9C4GzbtaGwt2jYLaD8bT3Xs4wUUE5QzzB40WdwGH/zgNF/s/kgFEOyKV 8+4HFLwkIIvQpmvaMmyNbeHqKQgXadmE7imimYuRaUckbFAx4h4sGCM/iFZZ7HjCLm ue6NRdM6hevEagOj64SDJMRvRr8YRWNAly6eNIbc33iUDW3c4G6AWpggJl5lG8BHbu sZ11rxEaoAXdw== From: Arnd Bergmann To: Neil Armstrong , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Dzmitry Sankouski Cc: Arnd Bergmann , Jessica Zhang , Dmitry Baryshkov , Geert Uytterhoeven , Cong Yang , Michael Trimarchi , Randy Dunlap , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] [v2] drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER Date: Tue, 15 Oct 2024 15:34:38 +0000 Message-Id: <20241015153442.3757061-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Arnd Bergmann The new driver needs the dsc helper code to be available: x86_64-linux-ld: vmlinux.o: in function `s6e3ha8_amb577px01_wqhd_prepare': panel-samsung-s6e3ha8.c:(.text+0x16b1e65): undefined reference to `drm_dsc_pps_payload_pack' Select it from Kconfig as we do for other similar drivers. Fixes: 779679d3c164 ("drm/panel: Add support for S6E3HA8 panel driver") Signed-off-by: Arnd Bergmann Reviewed-by: Jessica Zhang --- v2: add dependency to the correct driver --- 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 ddfaa99ea9dd..128c12e8b84f 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -703,6 +703,7 @@ config DRM_PANEL_SAMSUNG_S6E3HA8 depends on OF depends on DRM_MIPI_DSI depends on BACKLIGHT_CLASS_DEVICE + select DRM_DISPLAY_DSC_HELPER select VIDEOMODE_HELPERS config DRM_PANEL_SAMSUNG_S6E63J0X03