[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220713091049.qy4t3j3hh5jgtqum@houat>
Date: Wed, 13 Jul 2022 11:10:49 +0200
From: Maxime Ripard <maxime@...no.tech>
To: Danilo Krummrich <dakr@...hat.com>
Cc: emma@...olt.net, daniel@...ll.ch, airlied@...ux.ie,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/3] drm/vc4: use drm managed resources
Hi Danilo,
On Wed, Jul 13, 2022 at 10:54:57AM +0200, Danilo Krummrich wrote:
> This patch series converts DRM modeset object allocations from devm_*()
> to drmm_*() memory allocators, or their corresponding convenience
> wrappers, respectively, in order to tie the release action to the
> underlaying struct drm_device.
>
> This can prevent potential use-after free issues on driver unload or
> EPROBE_DEFERRED backoff.
Yeah, the driver had a lot of this kind of issues.
As it turns out, at the moment you sent it, I was applying a larger
series (hopefully) addressing all of them:
https://lore.kernel.org/all/20220711173939.1132294-1-maxime@cerno.tech/
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists