diff options
author | Christian König <christian.koenig@amd.com> | 2019-07-17 10:58:47 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-09-16 18:42:55 +0300 |
commit | b65709a92156b850840edba9f9932e10c235d44e (patch) | |
tree | c5ce9c458424f5061d3fc603344b516f1adcaaf5 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | 061468c405fdf3b518d03bebbeafa0a9dc7300c2 (diff) | |
download | linux-b65709a92156b850840edba9f9932e10c235d44e.tar.xz |
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