Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp8599736rwp; Wed, 19 Jul 2023 12:14:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlGPqCZoidtf+8++H0FsUoxX7QGZBZnH4g2WbApBANzY7zsJTK4RNlqgMnZDkKkbfEtwjb/H X-Received: by 2002:a17:902:bc49:b0:1b7:c0b3:b17d with SMTP id t9-20020a170902bc4900b001b7c0b3b17dmr14412989plz.5.1689794087385; Wed, 19 Jul 2023 12:14:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689794087; cv=none; d=google.com; s=arc-20160816; b=Em+GMeVq/SDrpeFcwq3IzobocPMn7nHEsqsRxc3f5HjCMs5fw63pDEBRjmCn82ORNO 51rQgPgQV0sngtDgQI0khAzSNiTwQ1ac3C8txSBv0SDRTyFRVApIOCMwmuJpCB9XSZXY v0SVA0NGmtYKQeyiQKYDbhR9JQPpnNfzyM0Qv34wpsdhdJZ9utqforHA04DYPPOIwZ+c gFEsXwjT6hHhCOAWlwbqIOLxsWtXqEDsr63Qizh3yNLrFbBXQB2nOD+F5eILCjlvkqGO Ct8LNdVKVVawTnqNxBhvzvipI1Oly1CgxKfkCaKoilDCz8UYDgjORx2Yc6U0T1jWqT4J imyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=u4Plk7blDTBNkVxxDGeUQXZ1eEoN8gNVZrwTkuX5Uh0=; fh=ayWrq/hsuotQD+cSY96L9cbN/MUh0IMCJ7yaW9HbYzY=; b=CDFsNXkLyCKkGKaA7aFGtggx+UhwGN8Lym7C1Aequ5L+Rsyqi06wRfzGK2kCqlQgTl BdT75sZ14F0BoEowISowyRAhGRQ2wFa9mro1J9iJcGePs+BWqQe9OogFk/wRjTbqy2m2 XFYuxSwvKv9+kz1KJx69NMDqvzuX7fK6N8nIh5c6y2CW6fNcrxBVKuDhlKH6nxffJMCN +E80siRR5ECEBlnXqvmnkIidLHp89luP5bbh1prSjTvQ30lXHLntgfiOc/xewqnFjVoV +wKj0JUhOqb6T+gFBN6rpWlXbemDj0Fv8lpFIcKc0fSIRqHQQtTflGqVCnP1uPRHlAGw wLxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=h16axxjQ; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q8-20020a17090311c800b001b9eb349549si4084312plh.630.2023.07.19.12.14.35; Wed, 19 Jul 2023 12:14:47 -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=@quicinc.com header.s=qcppdkim1 header.b=h16axxjQ; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbjGSS5N (ORCPT + 99 others); Wed, 19 Jul 2023 14:57:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229571AbjGSS5M (ORCPT ); Wed, 19 Jul 2023 14:57:12 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F11011FC8 for ; Wed, 19 Jul 2023 11:57:08 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 36JINV9D014385; Wed, 19 Jul 2023 18:56:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=u4Plk7blDTBNkVxxDGeUQXZ1eEoN8gNVZrwTkuX5Uh0=; b=h16axxjQkZq0QAGyxN64nOvNR1Txhp3qeHYSP/4FnZe1nZv6srUjsc4xH/3mnDW+aHVx icenmjz9R5sj+owP7e+qMcDhB79LP1cxVZJkqU+2eb6rRDyPi2qVnUMzHL5fIuq7CXQo 5/YpRpZd5VEVLlaxCFiMSIOOyYJ2CkRLSOtXbLdWDIgki59OTPtlMKoCSVP6Y1envp6i B6ofrblT/PhXmxC7HTVwmH9L4OH6QcHGEjnTurWf55Ky5KZCM8spGkAS4e4dZkzGmvas Yumu/9EtOWfmRuOn6vHTF1KD/+uu2I7JaNUIxoOEZ5WboHvV3snqrFcw2j7nznZBALuk 1A== Received: from nasanppmta02.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rxg3v8ufs-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 18:56:57 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36JIuuKR003670 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 19 Jul 2023 18:56:56 GMT Received: from [10.71.109.168] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 19 Jul 2023 11:56:55 -0700 Message-ID: <36775bbf-78aa-6d00-9dd3-ecdc4619e819@quicinc.com> Date: Wed, 19 Jul 2023 11:56:55 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] drm/panel: r66451: select CONFIG_DRM_DISPLAY_DP_HELPER Content-Language: en-US To: Arnd Bergmann , Neil Armstrong , David Airlie , Daniel Vetter CC: Arnd Bergmann , Sam Ravnborg , Linus Walleij , , References: <20230719130940.659837-1-arnd@kernel.org> From: Jessica Zhang In-Reply-To: <20230719130940.659837-1-arnd@kernel.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: T21iE2JSnpaUeIUB3cSDeBMNNQqdRBdB X-Proofpoint-ORIG-GUID: T21iE2JSnpaUeIUB3cSDeBMNNQqdRBdB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-19_13,2023-07-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 spamscore=0 bulkscore=0 adultscore=0 mlxscore=0 suspectscore=0 clxscore=1011 lowpriorityscore=0 priorityscore=1501 mlxlogscore=999 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307190171 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 7/19/2023 6:09 AM, Arnd Bergmann wrote: > 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. Hi Arnd, Thanks for catching this -- hadn't seen this issue due to DRM_MSM selecting both configs already. Reviewed-by: Jessica Zhang Thanks, Jessica Zhang > > 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 >