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

Commit 1d66f37c 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: Fix for '__udivdi3' build error"

parents cfa0efdd 2a69efa9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3046,7 +3046,8 @@ static void adreno_power_stats(struct kgsl_device *device,

		if (adreno_is_a6xx(adreno_dev)) {
			/* clock sourced from XO */
			stats->busy_time = gpu_busy * 10 / 192;
			stats->busy_time = gpu_busy * 10;
			do_div(stats->busy_time, 192);
		} else {
			/* clock sourced from GFX3D */
			stats->busy_time = adreno_ticks_to_us(gpu_busy,