Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2269652ybl; Sun, 19 Jan 2020 23:11:07 -0800 (PST) X-Google-Smtp-Source: APXvYqyp6d9BfiZ2uZ3k7oMdUgLs3p21GinYYMUTYYHnx5KGPQ/wXYD0PTrDIZ7HOUpFTJNtc67u X-Received: by 2002:a9d:24e8:: with SMTP id z95mr15092980ota.5.1579504266972; Sun, 19 Jan 2020 23:11:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579504266; cv=none; d=google.com; s=arc-20160816; b=DVms/G0yzzMxJ97rZKvqiSCxLRfz4IfMEJB3oFihTakstbdgiQ4oPKcSiu5wcw94pA dUJ13TmovXgEZfg8nZONqrN5U/o6RbiPqrsQEeTiy/lBhqKYPnKZwLaXR0IVVVojlIce W/lQRyiHlG/nbFq6Dt2qDzAcWp7PMjVH0Xgqwv7TZv9ktOk7C0yPNQ2hY1yE4H8GOEYb Nhd2BrQgwauOlTAQZ6D3G4CyKujYqXE9AlLVISl0jncu8fXQDt3qvGg3BG7k9wC87c9w 8YkMn7wOlaf8VBWt9RDz+3b6wBSyvWB275rXpuaBQnmJdCke6354/3oLhtTufAd3NZez hP0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=jC4BMofX4ULcGoP3faAtWvOIgbJpEDzUZLRdWTvccnE=; b=ymBm+KC7VUGUDQY/LeZ/KIEfeLWxe9xXn6/KChG4dNj5KosIGezqP+eW5/F4LYPAJE I8L5YGGcczHZ8bVX0OrHKLjPj3XwGhEy6WBrZ1KMBNlhYMWwd1ybD+6nOAQt8FGlZ6Fa yfmBzXcMWlU8OozbF+LgYPx21qBFu0GKEtASzwnMeSwn652n/12PbUv6x54rG8q8LriV zOOstXaFjfJwgIffTCZfV+jmSJAKdK31k3QeDICepvFg3lWAy0ObIaO6+Ss0TrJq/jOA TPWKzp+Y8QOk4kUHgAOl2oAUAmCOzHUKHnySwA3CqG3vtSM9NkFPSqRBOFsr1C997CO6 gYPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=feubInFz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 18si16536854oir.123.2020.01.19.23.10.54; Sun, 19 Jan 2020 23:11:06 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=feubInFz; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726590AbgATHJu (ORCPT + 99 others); Mon, 20 Jan 2020 02:09:50 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40396 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbgATHJt (ORCPT ); Mon, 20 Jan 2020 02:09:49 -0500 Received: by mail-wm1-f68.google.com with SMTP id t14so13499269wmi.5; Sun, 19 Jan 2020 23:09:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jC4BMofX4ULcGoP3faAtWvOIgbJpEDzUZLRdWTvccnE=; b=feubInFzc3vSXTqm0B3WoEVwqwIjV6G8LnNZyDfPXudQnsSspbO3+gOYzpFoyvrP/u zZKC788BEidBCJWOcVywx2UPa5pkIH6VOGocO0CAEZ2eJ0dpdeDcEuEsQ56S30kp6QnP KydSTXvcZC4N4kzk0AXCjuUT700NEaWBTt0f2m/Tr3hT9itBrCiyYQYDT/G+hpInxd4v 6SHZ4ke+jVf1rzVZnVAnOcbccwhSJdRiSb7/CBGrAmO6BPJERh0o+1zQRwzpxq2+Py0h YpKetGJJ3uaU5Ua/OvTx/hG3eYUJbrHb0VQ670wWKIjSTNxBq951pr7HTWT4wcrOujXR fDcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=jC4BMofX4ULcGoP3faAtWvOIgbJpEDzUZLRdWTvccnE=; b=nI+kUXvP3nC41K7/WvibTfKZ7ybo7sM38uIszLEDS4cYgntyVHiiN0B+mBXj9qmw3y J+Yj9IvhrHYJ77QYxNrvZgeGxuPPGfHIdFacVk1Euw2FcSwlPX8B2C0F2336sdTCqU3G yEwWiPunZXKv59npf2RuSYKFgrTGhxyfLlN85GIZtUBoH3fIoGP3N11WsOPwf8vfNr/f /jrCQfKkPLtudxokswwzhCYd7BNSOVXftBdW5hvQXlK6LsEc9oZCDQgLY2KoyPahPgxm IA0yQ0YfzosTikWqMRXDPUVJOxNBpPhxDRRXkSHn2Qwl5O6qaGzRdXmKqFCuCTV1R8Kf zlvg== X-Gm-Message-State: APjAAAVJXrKGQLn7jrFgPQNCVq3CCzSRppIE6v9lOghqKMp8Q4KkaFX7 LCrPRWXj7VBoQPIvSEaqsT8uvVG3 X-Received: by 2002:a1c:a795:: with SMTP id q143mr17238611wme.52.1579504187566; Sun, 19 Jan 2020 23:09:47 -0800 (PST) Received: from localhost (p2E5BEF3F.dip0.t-ipconnect.de. [46.91.239.63]) by smtp.gmail.com with ESMTPSA id b21sm11206535wmd.37.2020.01.19.23.09.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jan 2020 23:09:46 -0800 (PST) Date: Mon, 20 Jan 2020 08:09:43 +0100 From: Thierry Reding To: allen Cc: Pi-Hsun Shih , Jau-Chih Tseng , Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Daniel Vetter , Jonathan Hunter , open list , "open list:DRM DRIVERS" , "open list:DRM DRIVERS FOR NVIDIA TEGRA" Subject: Re: [PATCH v6 2/4] Revert "drm/tegra: Move drm_dp_link helpers to Tegra DRM" Message-ID: <20200120070943.GA197819@ulmo> References: <1579488364-13182-1-git-send-email-allen.chen@ite.com.tw> <1579488364-13182-3-git-send-email-allen.chen@ite.com.tw> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline In-Reply-To: <1579488364-13182-3-git-send-email-allen.chen@ite.com.tw> User-Agent: Mutt/1.13.1 (2019-12-14) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jan 20, 2020 at 10:44:32AM +0800, allen wrote: > IT6505 driver ite-it6505.c file using drm_dp_link helpers, so revert. > This reverts commit 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292. >=20 > Signed-off-by: Allen Chen > --- > drivers/gpu/drm/drm_dp_helper.c | 128 ++++++ > drivers/gpu/drm/tegra/Makefile | 1 - > drivers/gpu/drm/tegra/dp.c | 876 ----------------------------------= ------ > drivers/gpu/drm/tegra/dp.h | 177 -------- > drivers/gpu/drm/tegra/dpaux.c | 1 - > drivers/gpu/drm/tegra/sor.c | 1 - > include/drm/drm_dp_helper.h | 16 + > 7 files changed, 144 insertions(+), 1056 deletions(-) > delete mode 100644 drivers/gpu/drm/tegra/dp.c > delete mode 100644 drivers/gpu/drm/tegra/dp.h Sorry, but no. Please just duplicate whatever information you need from these helpers into your driver. The decision was made recently to remove these helpers because they were a premature generalization and unlikely to be useful very widely. See this commit: commit 9a42c7c647a9ad0f7ebb147a52eda3dcb7c84292 Author: Thierry Reding Date: Mon Oct 21 16:34:37 2019 +0200 drm/tegra: Move drm_dp_link helpers to Tegra DRM During the discussion of patches that enhance the drm_dp_link helpers it was concluded that these helpers aren't very useful to begin with. After all other drivers have been converted not to use these helpers anymore, move these helpers into the last remaining user: Tegra DRM. If at some point these helpers are deemed more widely useful, they can be moved out into the DRM DP helpers again. Signed-off-by: Thierry Reding Reviewed-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20191021143437.1477= 719-14-thierry.reding@gmail.com Your new driver here doesn't change that, in my opinion, so just follow what we did for other drivers and duplicate the corresponding code into the driver. Thierry --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl4lUjQACgkQ3SOs138+ s6G9LQ//RT0oF0cSY99rYD5a4Gq9xwF0NRauxZ2UB31AHTClEOxlB2UvUO3mGmAO guZ+9+1YTOL35FeRJIeE322/P+HOt7fp6iswZmIvVxfIHlp2+DjViefo/c3RVTCU EegQahcz6HMV3uxCn0R0h+ZspQustfsd6JSaqbb0/ByUwz5CtmBg78v1NX0svp/w v7bRIbANkre6CW7QoEZLQUuXcos81GYep0i4IxsjUFG0lavYTmt7sngYMWzio0Xu ynQEspvKmyTEQoHBvNzvRrqhJxyYIBWB4JPYsqmf3Swb/xixh+ibD0ojhj8kXeTw 1OAFkzXRE4YnvaFwOBMTt84q7r40y+tolILK7M/e6pgOL3IBdeBothqQhFTbN88W bCGlip7H74N4E6tSkH1x2lZTeiaAr7q6nHZsMleUtgs8+xt05sK3cO08tAfRqqpW HsyN+1C5YP3hAq+XoTiWCU4OfcUX6QXsDoUwiFb/KeT6VoUuYVomHUzhAUDBmC/W 38IZzaBs4wnhCCrko8KJT7znM5os9pGFnYxHpkw9RhBKBfDOMt5U8dNgfPmmJx1f nI8CjoxIGbP/rFrOL2yexacluAnFkoYy4+S81hnQT2C9Xoc1FtsUnB+xqpymiRtg M97YeTh5QL2UT6MYm+Ot/4GRLo+jLlHSeESvCtojJEXzL9PDElQ= =y4+8 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--