summaryrefslogtreecommitdiff
path: root/drivers/gpu/msm/kgsl_iommu.c
diff options
context:
space:
mode:
authorDeepak Kumar <dkumar@codeaurora.org>2016-05-16 13:52:10 +0530
committerCarter Cooper <ccooper@codeaurora.org>2016-08-03 10:34:03 -0600
commit8e3020fadb2a19eac5557b91f95353e0ab87356b (patch)
tree5a3f450920e0a7eb411d2f54a81b6d8d4eaccfe0 /drivers/gpu/msm/kgsl_iommu.c
parentb35803e7901f2afafa81ff5dde396856ea5c7426 (diff)
msm: kgsl: Don't allocate memory for microcode if it is already allocated
This change adds a check to avoid allocating memory for loading microcode in case it is already allocated. This avoids memory allocation failure for microcode during multiple tries by userspace to open the kgsl device in case of errors. CRs-Fixed: 1043490 Change-Id: I018ebdb0dab1fc13af8d85a273c1c8b477fa1e26 Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Diffstat (limited to 'drivers/gpu/msm/kgsl_iommu.c')
0 files changed, 0 insertions, 0 deletions