Re: [PATCH] drm/nouveau: retain device pointer in nvkm_gsp_mem object

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



On Tue, 2024-02-27 at 15:23 +0100, Danilo Krummrich 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.
> 
> Considering "[v4][RFC] drm/nouveau: expose GSP-RM logging buffers via
> debugfs", I don't see where this one is needed.
> 
> Do I miss anything?

No, I should have deleted that last sentence before sending it out.  I wrote
this patch for an earlier version of my debugfs patch, but then I changed
the design to not need it.  However, I still think this is a good patch to
include.  

I will revise the commit message and post a v2 when I post the next version
of my debugfs patch.





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux