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

Commit 9d0942b5 authored by Raghu Ananya Arabolu's avatar Raghu Ananya Arabolu Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Disable UCHE dual command queue



UCHE dual command queue configuration is resulting in a GPU hang.
Set UCHE_CMDQ_CONFIG to disable dual command queue.

Change-Id: I67daf5cbda1c170c5658c1e2308b8c0fd00540d6
Signed-off-by: default avatarRaghu Ananya Arabolu <rarabolu@codeaurora.org>
parent 8c7cf67d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -726,6 +726,7 @@
#define A6XX_UCHE_PERFCTR_UCHE_SEL_10       0xE26
#define A6XX_UCHE_PERFCTR_UCHE_SEL_11       0xE27
#define A6XX_UCHE_GBIF_GX_CONFIG            0xE3A
#define A6XX_UCHE_CMDQ_CONFIG               0xE3C

/* SP registers */
#define A6XX_SP_ADDR_MODE_CNTL              0xAE01
+2 −0
Original line number Diff line number Diff line
@@ -109,6 +109,7 @@ static u32 a650_pwrup_reglist[] = {
	A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_2,
	A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_3,
	A6XX_TPL1_BICUBIC_WEIGHTS_TABLE_4,
	A6XX_UCHE_CMDQ_CONFIG,
};

static u32 a615_pwrup_reglist[] = {
@@ -633,6 +634,7 @@ static void a6xx_start(struct adreno_device *adreno_dev)
	if (adreno_is_a660(adreno_dev)) {
		kgsl_regwrite(device, A6XX_CP_CHICKEN_DBG, 0x1);
		kgsl_regwrite(device, A6XX_RBBM_GBIF_CLIENT_QOS_CNTL, 0x0);
		kgsl_regwrite(device, A6XX_UCHE_CMDQ_CONFIG, 0x90);
	}

	if (ADRENO_FEATURE(adreno_dev, ADRENO_APRIV))