[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169522933708.2429100.2452577965890146025.b4-ty@linaro.org>
Date: Wed, 20 Sep 2023 19:02:17 +0200
From: Neil Armstrong <neil.armstrong@...aro.org>
To: andrzej.hajda@...el.com,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
Cc: rfoss@...nel.org, Laurent.pinchart@...asonboard.com,
jonas@...boo.se, jernej.skrabec@...il.com, airlied@...il.com,
daniel@...ll.ch, ulf.hansson@...aro.org, victor.liu@....com,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
kernel@...labora.com, ehristev@...labora.com, wenst@...omium.org
Subject: Re: [PATCH v2] drm/bridge: panel: Fix device link for
DRM_BRIDGE_ATTACH_NO_CONNECTOR
Hi,
On Wed, 20 Sep 2023 10:27:27 +0200, AngeloGioacchino Del Regno wrote:
> When external bridges are attached with DRM_BRIDGE_ATTACH_NO_CONNECTOR,
> the panel bridge may also get the same flag, but in the .attach()
> callback for the panel bridge a device link is added only when this
> flag is not present; To make things worse, the .detach() callback
> tries to delete the device link unconditionally and without checking
> if it was created in the first place, crashing the kernel with a NULL
> pointer kernel panic upon calling panel_bridge_detach().
>
> [...]
Thanks, Applied to https://anongit.freedesktop.org/git/drm/drm-misc.git (drm-misc-next)
[1/1] drm/bridge: panel: Fix device link for DRM_BRIDGE_ATTACH_NO_CONNECTOR
https://cgit.freedesktop.org/drm/drm-misc/commit/?id=887878014534186cc50dbd16a62e744ad217b4b1
--
Neil
Powered by blists - more mailing lists