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

Commit a5f1e730 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Pass the right timeout to adreno_drawctxt_wait()



adreno_drawctxt_wait() expects the passed in timeout to be in
milliseconds and converts it to jiffies.  Unfortunately, so does
the caller so the timeout is shorter than it should be.

Change-Id: Ic0dedbad85d50b32dba0fbf3ebb914335bf55166
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 41f7d7fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2848,7 +2848,7 @@ static int adreno_waittimestamp(struct kgsl_device *device,
		return -EINVAL;

	ret = adreno_drawctxt_wait(ADRENO_DEVICE(device), context,
		timestamp, msecs_to_jiffies(msecs));
		timestamp, msecs);

	/* If the context got invalidated then return a specific error */
	drawctxt = ADRENO_CONTEXT(context);