diff options
| author | Timur Tabi <[email protected]> | 2024-10-30 20:29:51 +0000 |
|---|---|---|
| committer | Danilo Krummrich <[email protected]> | 2024-12-04 20:47:47 +0000 |
| commit | 7c995e2fd966ae0c94582ae23575c077be0160b7 (patch) | |
| tree | a18e8b9c9de13f6099a3e8f5385de64aff18d99f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/nouveau: create module debugfs root (diff) | |
| download | kernel-7c995e2fd966ae0c94582ae23575c077be0160b7.tar.gz kernel-7c995e2fd966ae0c94582ae23575c077be0160b7.zip | |
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 <[email protected]>
Signed-off-by: Danilo Krummrich <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
