commit | b65709a92156b850840edba9f9932e10c235d44e | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Wed Jul 17 09:58:47 2019 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Sep 16 10:42:55 2019 -0500 |
tree | c5ce9c458424f5061d3fc603344b516f1adcaaf5 | |
parent | 061468c405fdf3b518d03bebbeafa0a9dc7300c2 [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>