[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBmq12uP+TY4EaE3@hovoldconsulting.com>
Date: Tue, 21 Mar 2023 14:02:15 +0100
From: Johan Hovold <johan@...nel.org>
To: Rob Clark <robdclark@...il.com>,
Abhinav Kumar <quic_abhinavk@...cinc.com>,
Dmitry Baryshkov <dmitry.baryshkov@...aro.org>
Cc: Sean Paul <sean@...rly.run>, David Airlie <airlied@...il.com>,
Daniel Vetter <daniel@...ll.ch>, linux-arm-msm@...r.kernel.org,
dri-devel@...ts.freedesktop.org, freedreno@...ts.freedesktop.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/10] drm/msm: fix bind error handling
On Mon, Mar 06, 2023 at 11:07:12AM +0100, Johan Hovold wrote:
> I had reasons to look closer at the MSM DRM driver error handling and
> realised that it had suffered from a fair amount of bit rot over the
> years.
>
> Unfortunately, I started fixing this in my 6.2 branch and failed to
> notice two partial and, as it turned out, broken attempts to address
> this that are now in 6.3-rc1.
>
> Instead of trying to salvage this incrementally, I'm reverting the two
> broken commits so that clean and backportable fixes can be added in
> their place.
>
> Included are also two related cleanups.
Any further comments to these patches (except for 9/10, which should be
dropped)?
As the patches being reverted here were first added in 6.3-rc1 there is
still time to get this into 6.3-rc (e.g. before AUTOSEL starts trying to
backport them).
Johan
> Johan Hovold (10):
> Revert "drm/msm: Add missing check and destroy for
> alloc_ordered_workqueue"
> Revert "drm/msm: Fix failure paths in msm_drm_init()"
> drm/msm: fix NULL-deref on snapshot tear down
> drm/msm: fix NULL-deref on irq uninstall
> drm/msm: fix drm device leak on bind errors
> drm/msm: fix vram leak on bind errors
> drm/msm: fix missing wq allocation error handling
> drm/msm: fix workqueue leak on bind errors
> drm/msm: use drmm_mode_config_init()
> drm/msm: move include directive
>
> drivers/gpu/drm/msm/disp/msm_disp_snapshot.c | 3 -
> drivers/gpu/drm/msm/msm_drv.c | 67 +++++++++++++-------
> 2 files changed, 44 insertions(+), 26 deletions(-)
Powered by blists - more mailing lists