aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorTimur Tabi <[email protected]>2024-10-30 20:29:51 +0000
committerDanilo Krummrich <[email protected]>2024-12-04 20:47:47 +0000
commit7c995e2fd966ae0c94582ae23575c077be0160b7 (patch)
treea18e8b9c9de13f6099a3e8f5385de64aff18d99f /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentdrm/nouveau: create module debugfs root (diff)
downloadkernel-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