Loading drivers/gpu/msm/kgsl.c +7 −0 Original line number Diff line number Diff line Loading @@ -554,6 +554,13 @@ kgsl_context_destroy(struct kref *kref) write_lock(&device->context_lock); if (context->id != KGSL_CONTEXT_INVALID) { /* Clear the timestamps in the memstore during destroy */ kgsl_sharedmem_writel(device, &device->memstore, KGSL_MEMSTORE_OFFSET(context->id, soptimestamp), 0); kgsl_sharedmem_writel(device, &device->memstore, KGSL_MEMSTORE_OFFSET(context->id, eoptimestamp), 0); idr_remove(&device->context_idr, context->id); context->id = KGSL_CONTEXT_INVALID; } Loading Loading
drivers/gpu/msm/kgsl.c +7 −0 Original line number Diff line number Diff line Loading @@ -554,6 +554,13 @@ kgsl_context_destroy(struct kref *kref) write_lock(&device->context_lock); if (context->id != KGSL_CONTEXT_INVALID) { /* Clear the timestamps in the memstore during destroy */ kgsl_sharedmem_writel(device, &device->memstore, KGSL_MEMSTORE_OFFSET(context->id, soptimestamp), 0); kgsl_sharedmem_writel(device, &device->memstore, KGSL_MEMSTORE_OFFSET(context->id, eoptimestamp), 0); idr_remove(&device->context_idr, context->id); context->id = KGSL_CONTEXT_INVALID; } Loading