Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp3382658pxf; Mon, 29 Mar 2021 00:10:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyntW+9XQYy72Wsu1dnjpsRC4T0ILfOYB0Lk00mmVKNKqUdWq2eZiXv1O+kWhUs5H2dbagf X-Received: by 2002:a50:ed83:: with SMTP id h3mr27927578edr.140.1617001831435; Mon, 29 Mar 2021 00:10:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617001831; cv=none; d=google.com; s=arc-20160816; b=T1Vl1l1CLwo2FaWxfnkTnIPrKXRhWUWUgc0gUGo98YVZxmbrBXrjaGCmzAPtRm1HKU CRsfTLCqm+8gTGnQxzKaz2VZdCwIL+UfQUuigDGToOdw7tO80Gy57qnRqgArw2Fg3nQM ztX/VL4KR9fpOMc+b1N1m7qRVfsURKAsaVaEFE2AgcXuVfj6R3TTHvxagdkpjbQgsnHL fzSp3oBAS2IzlezPiDcbhv13AsxT0gdK+HfvnMpiqKmeNN++IEkCCAFmewOgC/AZPmg2 WomjoqVFxuOyghDzyRFCIQH4aj6xp5nXZazLEKNynANUG1z+nJDPggONssiO7E4FZhHn H+6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=nsgDV40GpgMjdMBehMLStcFSCLaYlMp03YLRRXFE+RA=; b=0aCt8pJdImuf/1j51MWIu1UTwnhyXfjgr3K12LI1v67T0h/dtmJPmKA9UqTPRkTZAZ e78u6pJuR0kIDNAGGV7QaFKZTmmRBGrpisnv85HbIC3zCabHuyEkU0rnSMC7j1VBM9UA QJDH1RH5wWHnM0jA1a/qROGoW50Zr8XbFggllcnIjkitRynwO/86lC+S9mFUdwWOT73T blfngMMC95RNo7Y3cBF+ZLNbPHs8mlzP4KpLaZbjr5kQD6hHB+YZ1LV/baEI6VsrI49y 5+/MovIr+5GGuQ1nympyWvO06IFFeebIKvCuWlVm2HVUsSUJSb2AynvU24gfR/+YiK/Y s5cA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VxMZ7dSG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id d21si11947491ejm.343.2021.03.29.00.10.08; Mon, 29 Mar 2021 00:10:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VxMZ7dSG; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S230274AbhC2HJJ (ORCPT + 99 others); Mon, 29 Mar 2021 03:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60766 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbhC2HIh (ORCPT ); Mon, 29 Mar 2021 03:08:37 -0400 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C0CFC061574; Mon, 29 Mar 2021 00:08:36 -0700 (PDT) Received: by mail-ed1-x533.google.com with SMTP id y6so13055613eds.1; Mon, 29 Mar 2021 00:08:36 -0700 (PDT) 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=nsgDV40GpgMjdMBehMLStcFSCLaYlMp03YLRRXFE+RA=; b=VxMZ7dSGQEdi8XOeWO1BicR5PJXdG9cKLNO6DN3n22tMui9UBI2ot+5PlRjW6qjCKv kkBbSAt5V7Y3j3LRRAHs9H5M1AASRp+Z0Hk5xJi1S4YuPya4yGJbKEyVjLVJwaF7yUSG 0dSr68sCJPigikcaTg4rQNISm5kZwfHkO1AA63bJmhSuCZoeaHbDHPH+bG98njKUO51r DWrZ9E5rabkL5rid66HlEq5PRQ6BbxQFNZiGztlvB/wDoo+FZaaKJ62YGqEi6DgrVzKY XHDB4llTrEMZTZoCXYzTSsygURQ0muMvLDFU3XRquFpzxTG+7rsX+wseLGmMjJiteyf9 vZhg== 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=nsgDV40GpgMjdMBehMLStcFSCLaYlMp03YLRRXFE+RA=; b=tdip2buGRf29y4+MwXp0v/MwDugYpV+YyVY5sxMD2p2iivXHD3LKoLvbJLOzRdMnRS h0ZSD+A9F9ucwccv5SEn07/lkIxxakcsSI3Y0BXBXV55DUczIjU4MbE1Ff5Z6ziKM5Be Td4e9DyMW2dvuRjKFsRxW3O1Ym91MeYxQm8A7f5Qksr603zvL1/THMyEIAlt2n6w37xc QI7UDIptbGB0uHazMa/sYaYXVdA6BVyUEJ4gzVOY2xATGkn39bkSJqaf/164IYpcEi4R TjCESYDaauw0XUQC/uuDFv6QfOufW9wy/3n7WsICuWDaSQfE3dJV2KH2SfOFJXVq3BGx VEgA== X-Gm-Message-State: AOAM533HsrbrTcI+OgU/m/eB8mc21iqHt23oeENO58uzqYYmLBt/bduz xmO8YkB3pxSxKivEVr700ts= X-Received: by 2002:a05:6402:31a7:: with SMTP id dj7mr27411505edb.33.1617001715049; Mon, 29 Mar 2021 00:08:35 -0700 (PDT) Received: from localhost ([62.96.65.119]) by smtp.gmail.com with ESMTPSA id n16sm8443196edr.42.2021.03.29.00.08.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Mar 2021 00:08:34 -0700 (PDT) Date: Mon, 29 Mar 2021 09:08:59 +0200 From: Thierry Reding To: Lyude Paul Cc: nouveau@lists.freedesktop.org, dri-devel@lists.freedesktop.org, amd-gfx@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, Alex Deucher , Christian =?utf-8?B?S8O2bmln?= , David Airlie , Daniel Vetter , Harry Wentland , Leo Li , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Rob Clark , Sean Paul , Ben Skeggs , Jonathan Hunter , Hyun Kwon , Michal Simek , Luben Tuikov , Oleg Vasilev , Mikita Lipski , Eryk Brol , Rodrigo Siqueira , "Jerry (Fangzhi) Zuo" , Chris Park , Sam Ravnborg , Joe Perches , Vasily Khoruzhick , Guido =?utf-8?Q?G=C3=BCnther?= , Boris Brezillon , Andy Yan , Marek Szyprowski , Tomi Valkeinen , Swapnil Jakhade , Yuti Amonkar , Jyri Sarha , Julia Lawall , Ville =?utf-8?B?U3lyasOkbMOk?= , Imre Deak , Matt Roper , Lucas De Marchi , open list , "open list:DRM DRIVER FOR MSM ADRENO GPU" , "open list:DRM DRIVER FOR MSM ADRENO GPU" , "open list:DRM DRIVERS FOR NVIDIA TEGRA" , "moderated list:ARM/ZYNQ ARCHITECTURE" Subject: Re: [PATCH v2 05/20] drm/dp: Add backpointer to drm_device in drm_dp_aux Message-ID: References: <20210326203807.105754-1-lyude@redhat.com> <20210326203807.105754-6-lyude@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S4O2kq+aHqU/5PJ1" Content-Disposition: inline In-Reply-To: <20210326203807.105754-6-lyude@redhat.com> User-Agent: Mutt/2.0.6 (98f8cb83) (2021-03-06) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --S4O2kq+aHqU/5PJ1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 26, 2021 at 04:37:52PM -0400, Lyude Paul wrote: > This is something that we've wanted for a while now: the ability to > actually look up the respective drm_device for a given drm_dp_aux struct. > This will also allow us to transition over to using the drm_dbg_*() helpe= rs > for debug message printing, as we'll finally have a drm_device to referen= ce > for doing so. >=20 > Note that there is one limitation with this - because some DP AUX adapters > exist as platform devices which are initialized independently of their > respective DRM devices, one cannot rely on drm_dp_aux->drm_dev to always = be > non-NULL until drm_dp_aux_register() has been called. We make sure to poi= nt > this out in the documentation for struct drm_dp_aux. >=20 > Signed-off-by: Lyude Paul > --- [...] > drivers/gpu/drm/tegra/dpaux.c | 1 + [...] Acked-by: Thierry Reding --S4O2kq+aHqU/5PJ1 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAmBhfQgACgkQ3SOs138+ s6HzSQ/9Eo9S9xJvfEMo3ZsjRgZiCwhHpK8p3ntNKOfVV0ipfpeo8vw4YguhWC10 loGRu6CMa+hJqNW3xt/Bhjsj3Wu15gLGcW2igvKlQIr8aNWpssLD3lNELgd2ousG 82a+SF/3ljYs/060sFVCTK782CM+kNBw0ODjoohQjNoO++D1Rr2T0oq85DR8SKcu K+dCQR1V/D7bwL9d2/M9UHM4i9hlOkGUKkFOre0x9FyFeOAAXu4q7dfOg9FCkcU/ 4nIFE8mzWkW4o/fNLiF757dB2llZXxOl+pXNOBye31oslqZxGI6tkJQsvof4sODq s9Eo0qjPjR0rIXZDkVJCScM7yOH2PrzCiVQFTLutTBVuJ6vDd3dmnyzOzRMeqU8h CRcPTECPt3lP77XvqptSH/qdGiylAy0nnIwbw+9/Q7ZZ4KQM6e9pcj/fiSqOocdv bz044P8GPgO18yExiKM4xun4K9t6vJ6MckuHTZEG+16DrRsj6ybdxjBosdBiDN2T OyusX77/sl2KXr9fHW+tWwrDavb7GJ8jpJzZqyxUJa5Tb/ZeVzoScwiSfsLV62Nb JXM8KHUhdfKqOa9Yefaf2O4yGFwcF6PLpKlTPw73PlNqEyhxEBLDqFgb5q2pEXLF uo9LCn/Bju7B/15eqK58g9OAN7no8PxXCmaiO7y6w4fjqsFPTjI= =4qxj -----END PGP SIGNATURE----- --S4O2kq+aHqU/5PJ1--