diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2022-03-23 17:08:22 +0100 |
---|---|---|
committer | Lucas Stach <l.stach@pengutronix.de> | 2022-04-06 10:00:51 +0200 |
commit | e168c25526cd0368af098095c2ded4a008007e1b (patch) | |
tree | 37f2bcf8590839e47b8d588d6e7f0cd4030741bc /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c | |
parent | f443e374ae131c168a065ea1748feac6b2e76613 (diff) |
drm/etnaviv: check for reaped mapping in etnaviv_iommu_unmap_gem
When the mapping is already reaped the unmap must be a no-op, as we
would otherwise try to remove the mapping twice, corrupting the involved
data structures.
Cc: stable@vger.kernel.org # 5.4
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Guido Günther <agx@sigxcpu.org>
Acked-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions