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

Commit 396dfb31 authored by Shubhraprakash Das's avatar Shubhraprakash Das
Browse files

msm: kgsl: On soft_reset reset CFF



When device is reset using soft reset then CFF should
also be reset to indicate the device reset in CFF.

Change-Id: I12ed01867024f25ada0f02eae005fefdbd8e8683
Signed-off-by: default avatarShubhraprakash Das <sadas@codeaurora.org>
parent 56048983
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2796,8 +2796,11 @@ static int adreno_soft_reset(struct kgsl_device *device)
	/* save physical performance counter values before GPU soft reset */
	adreno_perfcounter_save(adreno_dev);

	kgsl_cffdump_close(device);
	/* Reset the GPU */
	adreno_dev->gpudev->soft_reset(adreno_dev);
	/* start of new CFF after reset */
	kgsl_cffdump_open(device);

	/* Restore physical performance counter values after soft reset */
	adreno_perfcounter_restore(adreno_dev);