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

Commit 74645b53 authored by Kyle Piefer's avatar Kyle Piefer
Browse files

msm: kgsl: Avoid excessive logging from KGSL



During adreno_start(), KGSL prints a log if it
cannot get the DCVS counters. Change to WARN_ONCE
to avoid excessive logging.

CRs-Fixed: 2017390
Change-Id: I7f0b1b31dae941a430895cfa71d221ee990cea72
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent d6686534
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1509,8 +1509,7 @@ static int _adreno_start(struct adreno_device *adreno_dev)
			PERFCOUNTER_FLAG_KERNEL);

		if (ret) {
			KGSL_DRV_ERR(device,
				"Unable to get the perf counters for DCVS\n");
			WARN_ONCE(1, "Unable to get perf counters for DCVS\n");
			adreno_dev->perfctr_pwr_lo = 0;
		}
	}