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

Commit 5cdc6003 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 early"

parents 7cbb49f2 002ce2ea
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -505,6 +505,8 @@ void adreno_drawctxt_detach(struct kgsl_context *context)
		kgsl_drawobj_destroy(list[i]);
	}

	debugfs_remove_recursive(drawctxt->debug_root);

	/*
	 * internal_timestamp is set in adreno_ringbuffer_addcmds,
	 * which holds the device mutex.
@@ -562,8 +564,6 @@ 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);