Message ID | 20230719130940.659837-1-arnd@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:c923:0:b0:3e4:2afc:c1 with SMTP id j3csp2447556vqt; Wed, 19 Jul 2023 06:41:25 -0700 (PDT) X-Google-Smtp-Source: APBJJlFW6ZV0PWEzfcqU9j0MzoRnyZurJ/M/gVItTkFzemeBBifiMNw63+uPEE+c+NxODb+w5snR X-Received: by 2002:a17:90b:e8a:b0:25e:a8ab:9157 with SMTP id fv10-20020a17090b0e8a00b0025ea8ab9157mr15061811pjb.22.1689774085365; Wed, 19 Jul 2023 06:41:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689774085; cv=none; d=google.com; s=arc-20160816; b=DOv3qCRzfOKtWcFMUDtIu/tRXaBwGhOrComySYJMaQToPvgahnc0z7cVd7edqTV4SH 3aiomx5NWLvYVOggr/NviVasgEuAdTCaTp/KWXJI5Ogj9t5/6hgsA6dSTIefXz3Ul4so WcK7PmoFacIIfLZMvlk9jkphBhkIyKeyZKrYul/2VPKGd9S134sm9DpuOehjqHbmnQH7 a0+ziZTKlkXJhQDO8lEqjdEZWdkCkyythGyzoQiPsQrKP8BAIyBLT8hwN4hc3i3KubHH 88aXZPbKfmsFvS0eFOYVIm87Ufpxh2i1o2wYjAaGCllkYk4huMaplgrN3M/SOYJ7fPwS F3KA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o24-20020a17090ac71800b0025bb4a1c12esi1384737pjt.148.2023.07.19.06.41.11; Wed, 19 Jul 2023 06:41:25 -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 S230135AbjGSNJu (ORCPT <rfc822;assdfgzxcv4@gmail.com> + 99 others); Wed, 19 Jul 2023 09:09:50 -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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <linux-kernel@vger.kernel.org>; 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 <arnd@kernel.org> To: Neil Armstrong <neil.armstrong@linaro.org>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Jessica Zhang <quic_jesszhan@quicinc.com> Cc: Arnd Bergmann <arnd@arndb.de>, Sam Ravnborg <sam@ravnborg.org>, Linus Walleij <linus.walleij@linaro.org>, 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1771856551598001203 X-GMAIL-MSGID: 1771856551598001203 |
Series |
drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER
|
|
Commit Message
Arnd Bergmann
July 19, 2023, 1:09 p.m. UTC
From: Arnd Bergmann <arnd@arndb.de> 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 <arnd@arndb.de> --- drivers/gpu/drm/panel/Kconfig | 2 ++ 1 file changed, 2 insertions(+)
Comments
On 7/19/2023 6:09 AM, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > 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. Hi Arnd, Thanks for catching this -- hadn't seen this issue due to DRM_MSM selecting both configs already. Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com> Thanks, Jessica Zhang > > Fixes: a6dfab2738fc2 ("drm/panel: Add driver for Visionox r66451 panel") > Signed-off-by: Arnd Bergmann <arnd@arndb.de> > --- > 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 >
Hi, On Wed, 19 Jul 2023 15:09:21 +0200, Arnd Bergmann wrote: > 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. > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a1865d3b98c97d25cbfbba4318180f5cfe8ec22d
Hi, On Wed, 19 Jul 2023 15:09:21 +0200, Arnd Bergmann wrote: > 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. > > [...] Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next) [1/1] drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER https://cgit.freedesktop.org/drm/drm-misc/commit/?id=a1865d3b98c97d25cbfbba4318180f5cfe8ec22d
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.