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

Commit 6b8d7ce6 authored by Carter Cooper's avatar Carter Cooper
Browse files

msm: kgsl: Correctly trace the context priority during creation



Fix a logic error for a bit shift so the correct value for the
newly created context is traced properly.

Change-Id: I289c38905fa49f77813a71f1776f983e08392391
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent a525e5d0
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
/* Copyright (c) 2011-2013, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * it under the terms of the GNU General Public License version 2 and
@@ -658,7 +658,7 @@ TRACE_EVENT(kgsl_context_create,
			{ KGSL_CONTEXT_TRASH_STATE, "TRASH_STATE" },
			{ KGSL_CONTEXT_TRASH_STATE, "TRASH_STATE" },
			{ KGSL_CONTEXT_PER_CONTEXT_TS, "PER_CONTEXT_TS" })
			{ KGSL_CONTEXT_PER_CONTEXT_TS, "PER_CONTEXT_TS" })
			: "None",
			: "None",
		(__entry->flags & KGSL_CONTEXT_PRIORITY_MASK) >
		(__entry->flags & KGSL_CONTEXT_PRIORITY_MASK) >>
			KGSL_CONTEXT_PRIORITY_SHIFT
			KGSL_CONTEXT_PRIORITY_SHIFT


	)
	)