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

Commit 7c1d3047 authored by Jordan Crouse's avatar Jordan Crouse Committed by Tarun Karra
Browse files

msm: kgsl: Re-enable 64 bit mode after GFT



Fault tolerance recovery does a soft reset so it goes down a similar
but different path then full blown start. Support to enable 64 bit
mode in the GPU is in the normal path but it was forgotten in the
GFT path. SO if a fault recovery happens and somebody else tries to
use a 64 bit address before the next power collapse then IOMMU faults
are likely.

Change-Id: Ic0dedbad93bcb8072853617e6cd90d7b949f04c7
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent c952020e
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2103,6 +2103,11 @@ static int adreno_soft_reset(struct kgsl_device *device)
	/* start of new CFF after reset */
	kgsl_cffdump_open(device);

	/* Enable 64 bit gpu addr if feature is set */
	if (gpudev->enable_64bit &&
			ADRENO_FEATURE(adreno_dev, ADRENO_64BIT))
		gpudev->enable_64bit(adreno_dev);

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