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

Commit d9642cc2 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: Change XIN halt mask for A405"

parents 9fd50032 d5a9c125
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -679,6 +679,7 @@ enum a4xx_vfd_perfctr_vfd_sel {

#define A4XX_VBIF_XIN_HALT_CTRL0	0x3080
#define A4XX_VBIF_XIN_HALT_CTRL0_MASK	0x1F
#define A405_VBIF_XIN_HALT_CTRL0_MASK	0x3

#define A4XX_VBIF_XIN_HALT_CTRL1	0x3081

+4 −0
Original line number Diff line number Diff line
@@ -715,6 +715,10 @@ static void a4xx_start(struct adreno_device *adreno_dev)
	if (!adreno_is_a420(adreno_dev))
		a4xx_snap_sizes.cp_pfp = 0x34;

	if (adreno_is_a405(adreno_dev))
		gpudev->vbif_xin_halt_ctrl0_mask =
			A405_VBIF_XIN_HALT_CTRL0_MASK;

	a4xx_protect_init(adreno_dev);
}