From ce6b530fc150554337663bd2c67c62f7609eaddc Mon Sep 17 00:00:00 2001 From: Raghu Ananya Arabolu Date: Tue, 14 Apr 2020 16:24:21 -0700 Subject: [PATCH] msm: kgsl: Add a terminating empty entry to a660_protected_regs array The last entry of the a660_protected_regs array must be an empty entry. The empty entry serves as a terminating placeholder value indicating the end of the array. Change-Id: Ie5dd6afcd65dca3ea1fa885d3aa675c23bdf5ca0 Signed-off-by: Raghu Ananya Arabolu --- drivers/gpu/msm/adreno-gpulist.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/msm/adreno-gpulist.h b/drivers/gpu/msm/adreno-gpulist.h index 544f80d98f8f..6ae35d482429 100644 --- a/drivers/gpu/msm/adreno-gpulist.h +++ b/drivers/gpu/msm/adreno-gpulist.h @@ -1505,6 +1505,7 @@ static const struct a6xx_protected_regs a660_protected_regs[] = { { A6XX_CP_PROTECT_REG + 32, 0x0f000, 0x0fbff, 1 }, { A6XX_CP_PROTECT_REG + 33, 0x0fc00, 0x11bff, 0 }, { A6XX_CP_PROTECT_REG + 47, 0x11c00, 0x11c00, 1 }, + { 0 }, }; static const struct adreno_a6xx_core adreno_gpu_core_a660 = {