aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorDanilo Krummrich <[email protected]>2023-11-08 00:12:36 +0000
committerDanilo Krummrich <[email protected]>2023-11-13 17:18:12 +0000
commit6118411428a393fb0868bad9025d71875418058b (patch)
tree1d797eb40ae48944007a0e8eb45573ce8415aecd /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentdrm/gpuvm: add common dma-resv per struct drm_gpuvm (diff)
downloadkernel-6118411428a393fb0868bad9025d71875418058b.tar.gz
kernel-6118411428a393fb0868bad9025d71875418058b.zip
drm/nouveau: make use of the GPUVM's shared dma-resv
DRM GEM objects private to a single GPUVM can use a shared dma-resv. Make use of the shared dma-resv of GPUVM rather than a driver specific one. The shared dma-resv originates from a "root" GEM object serving as container for the dma-resv to make it compatible with drm_exec. In order to make sure the object proving the shared dma-resv can't be freed up before the objects making use of it, let every such GEM object take a reference on it. Reviewed-by: Dave Airlie <[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_gem.c')
0 files changed, 0 insertions, 0 deletions