Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c0551cf authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Remove context debugfs nodes when detaching it"

parents 871c7857 48a70483
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -548,6 +548,8 @@ void adreno_drawctxt_detach(struct kgsl_context *context)

	mutex_unlock(&device->mutex);

	debugfs_remove_recursive(drawctxt->debug_root);

	/* wake threads waiting to submit commands from this context */
	wake_up_all(&drawctxt->waiting);
	wake_up_all(&drawctxt->wq);
@@ -569,7 +571,6 @@ void adreno_drawctxt_destroy(struct kgsl_context *context)
		gpudev->preemption_context_destroy(context);

	drawctxt = ADRENO_CONTEXT(context);
	debugfs_remove_recursive(drawctxt->debug_root);
	kfree(drawctxt);
}