[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <RUI68R.Z009SPJAAD8N1@crapouillou.net>
Date: Thu, 03 Mar 2022 17:20:51 +0000
From: Paul Cercueil <paul@...pouillou.net>
To: "H. Nikolaus Schaller" <hns@...delico.com>
Cc: Neil Armstrong <narmstrong@...libre.com>,
Paul Boddie <paul@...die.org.uk>,
Daniel Vetter <daniel@...ll.ch>,
Maxime Ripard <maxime@...no.tech>,
Jonas Karlman <jonas@...boo.se>,
David Airlie <airlied@...ux.ie>,
dri-devel <dri-devel@...ts.freedesktop.org>,
linux-mips <linux-mips@...r.kernel.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
linux-kernel <linux-kernel@...r.kernel.org>,
Kieran Bingham <kieran.bingham+renesas@...asonboard.com>,
Robert Foss <robert.foss@...aro.org>,
Andrzej Hajda <andrzej.hajda@...el.com>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Discussions about the Letux Kernel
<letux-kernel@...nphoenux.org>
Subject: Re: [Letux-kernel] [PATCH v16 1/4] drm/bridge: dw-hdmi: introduce
dw_hdmi_enable_poll()
Hi Nikolaus,
[snip]
>> Well he said "the Ingenic DRM core" aka ingenic-drm-drv.c. You do
>> have access to the main drm_device in the ingenic_drm_bind()
>> function, so you can add it there (with a cleanup function calling
>> drm_kms_helper_poll_fini() registered with
>> drmm_add_action_or_reset()).
>
> Well, do you really want to mix HPD detection between connector,
> Synopsys bridge and Ingenic DRM core? These are independent...
> Or should be accessed only through the bridge chain pointers.
>
> IMHO we should keep separate functions separate.
The drm_kms_helper_poll_init() just says "this DRM device may have
connectors that need to be polled" so it very well fits inside the main
driver, IMHO.
-Paul
>
> And maybe this should also be conditional? Maybe not depend on
> compatible = jz4780 but compatible = ci20?
>
> Looks to me to be a quick fix in the wrong place.
>
> Let's fix the CSC issue first.
>
> BR,
> Nikolaus
>
Powered by blists - more mailing lists