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

Commit 7cf0ae15 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Allow all oob requests in rGMU"

parents 74903abe 7673a1b0
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -112,8 +112,7 @@ static int a6xx_rgmu_oob_set(struct adreno_device *adreno_dev,
	struct rgmu_device *rgmu = KGSL_RGMU_DEVICE(device);
	int ret, set, check;

	/* Return silently for unsupported OOBs */
	if (!gmu_core_isenabled(device) || req > oob_gpu)
	if (!gmu_core_isenabled(device))
		return 0;

	set = BIT(req + 16);
@@ -152,8 +151,7 @@ static inline void a6xx_rgmu_oob_clear(struct adreno_device *adreno_dev,
{
	struct kgsl_device *device = KGSL_DEVICE(adreno_dev);

	/* Return silently for unsupported OOBs */
	if (!gmu_core_isenabled(device) || req > oob_gpu)
	if (!gmu_core_isenabled(device))
		return;

	gmu_core_regwrite(device, A6XX_GMU_HOST2GMU_INTR_SET, BIT(req + 24));