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 7E148CA0EEB for ; Sun, 24 Aug 2025 08:45:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 98CAF10E011; Sun, 24 Aug 2025 08:45:46 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (1024-bit key; unprotected) header.d=rock-chips.com header.i=@rock-chips.com header.b="jfCDf3gJ"; dkim-atps=neutral Received: from mail-m49208.qiye.163.com (mail-m49208.qiye.163.com [45.254.49.208]) by gabe.freedesktop.org (Postfix) with ESMTPS id CA2C810E011 for ; Sun, 24 Aug 2025 08:45:43 +0000 (UTC) Received: from zyb-HP-ProDesk-680-G2-MT.. (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id 20643f359; Sun, 24 Aug 2025 16:45:39 +0800 (GMT+08:00) From: Damon Ding To: andrzej.hajda@intel.com, neil.armstrong@linaro.org, rfoss@kernel.org Cc: Laurent.pinchart@ideasonboard.com, jonas@kwiboo.se, jernej.skrabec@gmail.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch, dmitry.baryshkov@oss.qualcomm.com, dianders@chromium.org, m.szyprowski@samsung.com, andy.yan@rock-chips.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Damon Ding Subject: [PATCH v1 0/4] Apply DP helper APIs to do link train Date: Sun, 24 Aug 2025 16:45:25 +0800 Message-Id: <20250824084529.3317985-1-damon.ding@rock-chips.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-HM-Tid: 0a98db4131a703a3kunm71d2620e2ad651 X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGkgdSlZLTB9IHxgaH0NKTk9WFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSU9PT0 hVSktLVUpCS0tZBg++ DKIM-Signature: a=rsa-sha256; b=jfCDf3gJFNQnNKRDRrCkjZFo3iI7qjsyHCLLSoVH2YbZvF1R/96WspKN24qieilIsaJawYACGdU3qf+BcBaWBVg5ccccyW+AgMslolxUb/uPmlgtFa2Wab7UV9tquZ11cSTN2FPWubYUiVXrXWnwHetzut3wNzYfuFiHsc+2xSM=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=hr2nkaude4kTGAK7pbS2GmFXrT9k46D/c2wtl2Xnp+4=; h=date:mime-version:subject:message-id:from; 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" Use the existing DP helper APIs instead of repeated self-defined interfaces with the same functions. It can help make codes more concise. Damon Ding (4): drm/bridge: analogix_dp: Apply DP helper API drm_dp_dpcd_read_link_status() drm/bridge: analogix_dp: Apply DP helper API drm_dp_clock_recovery_ok() drm/bridge: analogix_dp: Apply DP helper API drm_dp_channel_eq_ok() drm/bridge: analogix_dp: Apply DP helper APIs to get adjusted voltages and pre-emphasises .../drm/bridge/analogix/analogix_dp_core.c | 123 +++--------------- 1 file changed, 18 insertions(+), 105 deletions(-) -- 2.34.1