From patchwork Tue Oct 15 07:30:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 13835809 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 AD812CFC271 for ; Tue, 15 Oct 2024 07:31:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2231610E52A; Tue, 15 Oct 2024 07:31:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.b="c5RxPUCr"; 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 EA43710E51C for ; Tue, 15 Oct 2024 07:31:21 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 066FF5C5CA3; Tue, 15 Oct 2024 07:31:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F2E8C4CEC7; Tue, 15 Oct 2024 07:31:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728977481; bh=Q9g8DeRx0E0haActJkNDnfZjJ2WLhwa/6Ap91qIZX7M=; h=From:To:Cc:Subject:Date:From; b=c5RxPUCreYGHsx0j/dGQl6LL7wZ+FBGyDJ3m+SJVfIjuxcL5IJSxhkVW/9n79cAyU /dLhI0uvfp4UbECZ6JF7FmLB5lNrKbCyS5wueTrIyrUsVfe3Jj5x1gJ8rPt9DxNdP2 v9vQzRbheD1QYTC8mN2R4uP/L6HrvKNS8D0Iuf/s27HNYNTEzX18+tcvcokt8IWCkH +/aniVFuzpCT4Vgd3xSo/xWzKC6x2SJ/YwVHNCf1cwotSTWkMT15DbPYJYRYx/Dhg+ 7S6T0ONzw1hOrru5DkSlDF4oH/xmy/isQYFZ2M6/c0YEzCH016s/RUOrsJkxxL+S3w ytOKF3BweUOHA== 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 , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: [PATCH] drm/panel: s6e3ha8: select CONFIG_DRM_DISPLAY_DSC_HELPER Date: Tue, 15 Oct 2024 07:30:50 +0000 Message-Id: <20241015073115.4128727-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 --- 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..ffe7eff71496 100644 --- a/drivers/gpu/drm/panel/Kconfig +++ b/drivers/gpu/drm/panel/Kconfig @@ -626,6 +626,7 @@ config DRM_PANEL_SAMSUNG_AMS639RQ08 config DRM_PANEL_SAMSUNG_S6E88A0_AMS452EF01 tristate "Samsung AMS452EF01 panel with S6E88A0 DSI video mode controller" depends on OF + select DRM_DISPLAY_DSC_HELPER select DRM_MIPI_DSI select VIDEOMODE_HELPERS