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

Commit 2ce06168 authored by Kyle Piefer's avatar Kyle Piefer Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Specify opcode in debug information



Add the opcode to the debug print in response to a CP opcode
error interrupt. Fixes a compilation error.

CRs-Fixed: 2017390
Change-Id: I111a8daa6b5c9edb1122dea479c0488ad3af688a
Signed-off-by: default avatarKyle Piefer <kpiefer@codeaurora.org>
parent b1027b0d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1326,7 +1326,8 @@ static void a6xx_cp_hw_err_callback(struct adreno_device *adreno_dev, int bit)
		kgsl_regwrite(device, A6XX_CP_SQE_STAT_ADDR, 1);
		kgsl_regread(device, A6XX_CP_SQE_STAT_DATA, &opcode);
		KGSL_DRV_CRIT_RATELIMIT(device,
		"CP opcode error interrupt | possible opcode=0x%8.8x\n");
				"CP opcode error interrupt | opcode=0x%8.8x\n",
				opcode);
	}
	if (status1 & BIT(A6XX_CP_UCODE_ERROR))
		KGSL_DRV_CRIT_RATELIMIT(device, "CP ucode error interrupt\n");