[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YGF9C284EOaf/WZP@orome.fritz.box>
Date: Mon, 29 Mar 2021 09:08:59 +0200
From: Thierry Reding <thierry.reding@...il.com>
To: Lyude Paul <lyude@...hat.com>
Cc: nouveau@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
amd-gfx@...ts.freedesktop.org, intel-gfx@...ts.freedesktop.org,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Harry Wentland <harry.wentland@....com>,
Leo Li <sunpeng.li@....com>,
Andrzej Hajda <a.hajda@...sung.com>,
Neil Armstrong <narmstrong@...libre.com>,
Robert Foss <robert.foss@...aro.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...l.net>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>,
Thomas Zimmermann <tzimmermann@...e.de>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Joonas Lahtinen <joonas.lahtinen@...ux.intel.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>,
Rob Clark <robdclark@...il.com>, Sean Paul <sean@...rly.run>,
Ben Skeggs <bskeggs@...hat.com>,
Jonathan Hunter <jonathanh@...dia.com>,
Hyun Kwon <hyun.kwon@...inx.com>,
Michal Simek <michal.simek@...inx.com>,
Luben Tuikov <luben.tuikov@....com>,
Oleg Vasilev <oleg.vasilev@...el.com>,
Mikita Lipski <mikita.lipski@....com>,
Eryk Brol <eryk.brol@....com>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>,
"Jerry (Fangzhi) Zuo" <Jerry.Zuo@....com>,
Chris Park <Chris.Park@....com>,
Sam Ravnborg <sam@...nborg.org>, Joe Perches <joe@...ches.com>,
Vasily Khoruzhick <anarsoul@...il.com>,
Guido Günther <agx@...xcpu.org>,
Boris Brezillon <boris.brezillon@...labora.com>,
Andy Yan <andy.yan@...k-chips.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Swapnil Jakhade <sjakhade@...ence.com>,
Yuti Amonkar <yamonkar@...ence.com>,
Jyri Sarha <jsarha@...com>,
Julia Lawall <Julia.Lawall@...ia.fr>,
Ville Syrjälä <ville.syrjala@...ux.intel.com>,
Imre Deak <imre.deak@...el.com>,
Matt Roper <matthew.d.roper@...el.com>,
Lucas De Marchi <lucas.demarchi@...el.com>,
open list <linux-kernel@...r.kernel.org>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<linux-arm-msm@...r.kernel.org>,
"open list:DRM DRIVER FOR MSM ADRENO GPU"
<freedreno@...ts.freedesktop.org>,
"open list:DRM DRIVERS FOR NVIDIA TEGRA"
<linux-tegra@...r.kernel.org>,
"moderated list:ARM/ZYNQ ARCHITECTURE"
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH v2 05/20] drm/dp: Add backpointer to drm_device in
drm_dp_aux
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_*() helpers
> for debug message printing, as we'll finally have a drm_device to reference
> for doing so.
>
> 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 point
> this out in the documentation for struct drm_dp_aux.
>
> Signed-off-by: Lyude Paul <lyude@...hat.com>
> ---
[...]
> drivers/gpu/drm/tegra/dpaux.c | 1 +
[...]
Acked-by: Thierry Reding <treding@...dia.com>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists