summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2019-07-17 09:58:47 +0200
committerAlex Deucher <alexander.deucher@amd.com>2019-09-16 10:42:55 -0500
commitb65709a92156b850840edba9f9932e10c235d44e (patch)
treec5ce9c458424f5061d3fc603344b516f1adcaaf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
parent061468c405fdf3b518d03bebbeafa0a9dc7300c2 (diff)
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 <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions