[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <faf43075-a738-41b6-975c-f8c007929050@linux.dev>
Date: Mon, 13 May 2024 14:43:01 +0800
From: Sui Jingfeng <sui.jingfeng@...ux.dev>
To: Liu Ying <victor.liu@....com>, Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>, Fabio Estevam <festevam@...il.com>
Cc: Pengutronix Kernel Team <kernel@...gutronix.de>,
Maxime Ripard <mripard@...nel.org>, Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>, Robert Foss <rfoss@...nel.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>, Jernej Skrabec <jernej.skrabec@...il.com>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Thomas Zimmermann <tzimmermann@...e.de>, dri-devel@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] drm/bridge: imx: Remove redundant checks on existence of
bridge->encoder
Hi,
On 5/13/24 13:56, Liu Ying wrote:
> On 5/11/24 23:08, Sui Jingfeng wrote:
>> The check on the existence of bridge->encoder on the implementation layer
>> of drm bridge driver is not necessary, as it has already been done in the
>> drm_bridge_attach() function. It is guaranteed that the .encoder member
>> of the drm_bridge instance is not NULL when various imx_xxx_bridge_attach()
>> function gets called.
>
> Nit:
> ldb_bridge_attach_helper() doesn't follow the fashion of
> imx_xxx_bridge_attach(), not even the other bridge attach
> functions touched by this patch do.
Right, my bad.
But personally, I think rename it as ldb_bridge_attach() should
enough to express the meaning. :-)
Maybe, reword as
> "when various i.MX specific bridge attach functions are
> called."
>
OK, fine.
I will correct the commit message at the next version,
so happy being reviewed. Thanks.
> Regards,
> Liu Ying
>
Powered by blists - more mailing lists