Merge "msm: kgsl: Check for gmu prealloc failure only in case of prealloc request"
This commit is contained in:
commit
f16a067bfd
@ -1538,11 +1538,12 @@ int a6xx_gmu_parse_fw(struct adreno_device *adreno_dev)
|
|||||||
offset += sizeof(*blk);
|
offset += sizeof(*blk);
|
||||||
|
|
||||||
if (blk->type == GMU_BLK_TYPE_PREALLOC_REQ ||
|
if (blk->type == GMU_BLK_TYPE_PREALLOC_REQ ||
|
||||||
blk->type == GMU_BLK_TYPE_PREALLOC_PERSIST_REQ)
|
blk->type == GMU_BLK_TYPE_PREALLOC_PERSIST_REQ) {
|
||||||
ret = a6xx_gmu_process_prealloc(gmu, blk);
|
ret = a6xx_gmu_process_prealloc(gmu, blk);
|
||||||
|
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user