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

Commit 4a0571d9 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 profiling flag if no profiling entry is found"

parents 102d2cdb d77f7ca8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -399,6 +399,10 @@ int kgsl_cmdbatch_create_compat(struct kgsl_device *device, unsigned int flags,

			uptr += sizeof(ibdesc32);
		}

		if (cmdbatch->profiling_buf_entry == NULL)
			cmdbatch->flags &= ~KGSL_CMDBATCH_PROFILING;

	}
	if (synclist && numsyncs) {