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

Commit 77ee764b authored by Rob Clark's avatar Rob Clark Committed by Jordan Crouse
Browse files

drm/msm/adreno: remove duplicate adreno_hw_init() call



Not sure where it came from, but seem unintentional.  And also not
needed on a420, so let's just drop it.

Change-Id: Ic0dedbaddb70f0268d4182cc206412b6c69fd472
Signed-off-by: default avatarRob Clark <robdclark@gmail.com>
Git-commit: 7977f4426c44da95c5dba91a62f099411e029de8
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent aebdca07
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -238,12 +238,6 @@ static int a4xx_hw_init(struct msm_gpu *gpu)
		gpu_write(gpu, REG_A4XX_RBBM_CLOCK_DELAY_HLSQ, val);
	}

	if (!adreno_is_a430(adreno_gpu)) {
		ret = adreno_hw_init(gpu);
		if (ret)
			return ret;
	}

	/* setup access protection: */
	gpu_write(gpu, REG_A4XX_CP_PROTECT_CTRL, 0x00000007);