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

Commit 06ff6ccf 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: Don't halt dispatcher if device is not in SUSPEND state"

parents 91c4a617 82150f24
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2807,6 +2807,7 @@ static void adreno_suspend_device(struct kgsl_device *device,
	struct adreno_gpudev *gpudev = ADRENO_GPU_DEVICE(adreno_dev);
	int pm_event = pm_state.event;

	if (device->state == KGSL_STATE_SUSPEND)
		adreno_dispatcher_halt(device);

	if ((pm_event == PM_EVENT_FREEZE) ||