Loading drivers/gpu/msm/adreno.c +3 −1 Original line number Diff line number Diff line Loading @@ -1021,8 +1021,10 @@ static int adreno_iommu_setstate(struct kgsl_device *device, num_iommu_units = kgsl_mmu_get_num_iommu_units(&device->mmu); context = kgsl_context_get(device, context_id); if (context == NULL) if (context == NULL) { kgsl_mmu_device_setstate(&device->mmu, KGSL_CONTEXT_INVALID); return -EINVAL; } adreno_ctx = ADRENO_CONTEXT(context); Loading Loading
drivers/gpu/msm/adreno.c +3 −1 Original line number Diff line number Diff line Loading @@ -1021,8 +1021,10 @@ static int adreno_iommu_setstate(struct kgsl_device *device, num_iommu_units = kgsl_mmu_get_num_iommu_units(&device->mmu); context = kgsl_context_get(device, context_id); if (context == NULL) if (context == NULL) { kgsl_mmu_device_setstate(&device->mmu, KGSL_CONTEXT_INVALID); return -EINVAL; } adreno_ctx = ADRENO_CONTEXT(context); Loading