From patchwork Wed Nov 10 07:09:49 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jackie Liu X-Patchwork-Id: 12611495 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E81C0C433EF for ; Wed, 10 Nov 2021 07:16:39 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 97E1260724 for ; Wed, 10 Nov 2021 07:16:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 97E1260724 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.dev Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 6575C72BC5; Wed, 10 Nov 2021 07:16:37 +0000 (UTC) X-Greylist: delayed 364 seconds by postgrey-1.36 at gabe; Wed, 10 Nov 2021 07:16:32 UTC Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0210B72BBD; Wed, 10 Nov 2021 07:16:32 +0000 (UTC) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1636528228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=52hDwFdHAjiZoG9Q/bzx1ezVMXrxPGDvDEDmf2w9Y78=; b=xDahg9GRMSpf03AEb/QIANJDqVfuDNgbznz1T8OVJ4PhZyjBhYHiKV0k/gCdhsJOzhi81d Mejw21OvY0CTv4WdC2zjDP5+Xvy7pmTcUWPV4KNbMoTc5Pv2y4NlR1SDekHrhZ9u4CGy9W ppXszT/mMkmOkHe4GRXMdhpwZG7ZA+g= From: Jackie Liu To: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie Subject: [PATCH 2/3] drm/msm/dp: displayPort driver need algorithm rational Date: Wed, 10 Nov 2021 15:09:49 +0800 Message-Id: <20211110070950.3355597-2-liu.yun@linux.dev> In-Reply-To: <20211110070950.3355597-1-liu.yun@linux.dev> References: <20211110070950.3355597-1-liu.yun@linux.dev> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: liu.yun@linux.dev 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: architt@codeaurora.org, liu.yun@linux.dev, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, christian.koenig@amd.com, chandanu@codeaurora.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Jackie Liu Let's select RATIONAL with dp driver. avoid like: [...] x86_64-linux-gnu-ld: drivers/gpu/drm/msm/dp/dp_catalog.o: in function `dp_catalog_ctrl_config_msa': dp_catalog.c:(.text+0x57e): undefined reference to `rational_best_approximation' Fixes: c943b4948b58 ("drm/msm/dp: add displayPort driver support") Reported-by: kernelbot Signed-off-by: Jackie Liu --- drivers/gpu/drm/msm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/Kconfig b/drivers/gpu/drm/msm/Kconfig index ae11061727ff..617dcb799156 100644 --- a/drivers/gpu/drm/msm/Kconfig +++ b/drivers/gpu/drm/msm/Kconfig @@ -65,6 +65,7 @@ config DRM_MSM_HDMI_HDCP config DRM_MSM_DP bool "Enable DisplayPort support in MSM DRM driver" depends on DRM_MSM + select RATIONAL default y help Compile in support for DP driver in MSM DRM driver. DP external