Commit ebda776b authored by Deepak Kumar's avatar Deepak Kumar Committed by Shrirang Bagul
Browse files

msm: kgsl: Deregister gpu address on memdesc_sg_virt failure

BugLink: https://bugs.launchpad.net/bugs/1931727



When memdesc_sg_virt returns error in kgsl_setup_anon_useraddr function,
the gpu address registered in SVM region will not be deregistered.
This change deregisters the gpu address on memdesc_sg_virt failure.

Change-Id: Ic99167e283a0c6331bb9f5f0b608b6cdb3c918e4
Signed-off-by: default avatarNeeraja P <neerp@codeaurora.org>
Signed-off-by: default avatarDeepak Kumar <dkumar@codeaurora.org>
(cherry picked from commit f880182e41863b0b7bd069b759e81c8edb7d51f3)
Signed-off-by: default avatarShrirang Bagul <shrirang.bagul@canonical.com>
parent 8a6d7ee7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment