Skip to content

Commit

Permalink
msm: kgsl: Do not release dma and anon buffers if unmap fails
Browse files Browse the repository at this point in the history
If iommu unmap fails and leaves dma or anon buffers still mapped in the
iommu, do not free them.

Change-Id: Ice0e1a59c1ac0ee7a9d62d8899966b84fa63d5ca
Signed-off-by: Lynus Vaz <[email protected]>
  • Loading branch information
Lynus Vaz authored and zeelog committed Oct 26, 2024
1 parent d4fac6c commit 4cd9867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/msm/kgsl.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Copyright (c) 2008-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2024, Qualcomm Innovation Center, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
Expand Down

0 comments on commit 4cd9867

Please sign in to comment.