Loading drivers/gpu/msm/adreno_drawctxt.c +4 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ void adreno_drawctxt_invalidate(struct kgsl_device *device, KGSL_MEMSTORE_OFFSET(context->id, eoptimestamp), drawctxt->timestamp); /* Get rid of commands still waiting in the queue */ while (drawctxt->cmdqueue_head != drawctxt->cmdqueue_tail) { struct kgsl_cmdbatch *cmdbatch = drawctxt->cmdqueue[drawctxt->cmdqueue_head]; Loading @@ -170,6 +171,9 @@ void adreno_drawctxt_invalidate(struct kgsl_device *device, mutex_unlock(&drawctxt->mutex); /* Make sure all "retired" events are processed */ kgsl_process_event_group(device, &context->events); /* Give the bad news to everybody waiting around */ wake_up_all(&drawctxt->waiting); wake_up_all(&drawctxt->wq); Loading Loading
drivers/gpu/msm/adreno_drawctxt.c +4 −0 Original line number Diff line number Diff line Loading @@ -150,6 +150,7 @@ void adreno_drawctxt_invalidate(struct kgsl_device *device, KGSL_MEMSTORE_OFFSET(context->id, eoptimestamp), drawctxt->timestamp); /* Get rid of commands still waiting in the queue */ while (drawctxt->cmdqueue_head != drawctxt->cmdqueue_tail) { struct kgsl_cmdbatch *cmdbatch = drawctxt->cmdqueue[drawctxt->cmdqueue_head]; Loading @@ -170,6 +171,9 @@ void adreno_drawctxt_invalidate(struct kgsl_device *device, mutex_unlock(&drawctxt->mutex); /* Make sure all "retired" events are processed */ kgsl_process_event_group(device, &context->events); /* Give the bad news to everybody waiting around */ wake_up_all(&drawctxt->waiting); wake_up_all(&drawctxt->wq); Loading