On Mon, 2024-07-29 at 18:07 -0500, 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 <tt...@nvidia.com<mailto:tt...@nvidia.com>>


v2:

added get/put_device calls

Ugh, I forgot to move this to under the ---

Reply via email to