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

Commit 77baa6a0 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: kgsl: Print queued timestamp for fence timeout debugging



Print queued timestamp along with the retired timestamp of the
context to which a fence belongs. This helps in fence timeout
debugging.

Change-Id: I972cbf0022f8f8dccecb9694da6bb18dfe3ccae4
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 70d43642
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -219,8 +219,11 @@ static void kgsl_sync_timeline_value_str(struct sync_timeline *sync_timeline,
		(struct kgsl_sync_timeline *) sync_timeline;
	unsigned int timestamp_retired = kgsl_sync_get_timestamp(ktimeline,
		KGSL_TIMESTAMP_RETIRED);
	snprintf(str, size, "%u retired:%u", ktimeline->last_timestamp,
		timestamp_retired);
	unsigned int timestamp_queued = kgsl_sync_get_timestamp(ktimeline,
		KGSL_TIMESTAMP_QUEUED);
	snprintf(str, size, "%u queued:%u retired:%u",
		ktimeline->last_timestamp,
		timestamp_queued, timestamp_retired);
}

static void kgsl_sync_pt_value_str(struct sync_pt *sync_pt,