diff options
author | Timur Tabi <ttabi@nvidia.com> | 2024-10-30 15:29:51 -0500 |
---|---|---|
committer | Danilo Krummrich <dakr@kernel.org> | 2024-12-04 21:47:47 +0100 |
commit | 7c995e2fd966ae0c94582ae23575c077be0160b7 (patch) | |
tree | a18e8b9c9de13f6099a3e8f5385de64aff18d99f /drivers/char/ipmi/ipmi_smic_sm.c | |
parent | 97118a1816d2be258d360da8a9819ff0f34949eb (diff) |
drm/nouveau: retain device pointer in nvkm_gsp_mem object
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@nvidia.com>
Signed-off-by: Danilo Krummrich <dakr@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20241030202952.694055-1-ttabi@nvidia.com
Diffstat (limited to 'drivers/char/ipmi/ipmi_smic_sm.c')
0 files changed, 0 insertions, 0 deletions