aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2024-05-02 18:38:11 +0000
committerBoris Brezillon <[email protected]>2024-05-13 07:52:19 +0000
commita257e8182261da48b7c34615f2752f8a78ac108b (patch)
treeecfffac2ed43b9f5fd060b454515a6c2090338f5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentdrm/panthor: Keep a ref to the VM at the panthor_kernel_bo level (diff)
downloadkernel-a257e8182261da48b7c34615f2752f8a78ac108b.tar.gz
kernel-a257e8182261da48b7c34615f2752f8a78ac108b.zip
drm/panthor: Reset the FW VM to NULL on unplug
This way get NULL derefs instead of use-after-free if the FW VM is referenced after the device has been unplugged. Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Steven Price <[email protected]> Acked-by: Liviu Dudau <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions