aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <[email protected]>2019-07-17 07:58:47 +0000
committerAlex Deucher <[email protected]>2019-09-16 15:42:55 +0000
commitb65709a92156b850840edba9f9932e10c235d44e (patch)
treec5ce9c458424f5061d3fc603344b516f1adcaaf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parentdrm/amdgpu: allocate PDs/PTs with no_gpu_wait in a page fault (diff)
downloadkernel-b65709a92156b850840edba9f9932e10c235d44e.tar.gz
kernel-b65709a92156b850840edba9f9932e10c235d44e.zip
drm/amdgpu: reserve the root PD while freeing PASIDs
Free the pasid only while the root PD is reserved. This prevents use after free in the page fault handling. Signed-off-by: Christian König <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions