[PATCH 1/2] [v2] drm/nouveau: retain device pointer in nvkm_gsp_mem object
Danilo Krummrich
dakr at kernel.org
Wed Dec 4 22:20:20 UTC 2024
On 10/30/24 9:29 PM, Timur Tabi wrote:
> Store the struct device pointer used to allocate the DMA buffer in
> the nvkm_gsp_mem object. This allows nvkm_gsp_mem_dtor() to release
> the buffer without needing the nvkm_gsp. This is needed so that
> we can retain DMA buffers even after the nvkm_gsp object is deleted.
>
> Signed-off-by: Timur Tabi <ttabi at nvidia.com>
Applied to drm-misc-next, thanks!
More information about the Nouveau
mailing list