summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHareesh Gundu <hareeshg@codeaurora.org>2016-05-23 11:32:18 +0530
committerCarter Cooper <ccooper@codeaurora.org>2016-08-03 10:34:04 -0600
commit9613ec8da8f77a606ad9249e0078a7f675bdebd4 (patch)
treebcd241c8afdaf9515064aae0b667c1dede246b9b
parent3dd8da5917d63f88e4b0ba6f2ab1e56b0177f66f (diff)
msm: kgsl: Reduce CP preemption record size
A5xx GPUs currently don't need more than 64KB for CP preemption record. CRs-Fixed: 1019529 Change-Id: I3df22b7b282fb8ff3269f01b2b258318fc83cbcb Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
-rw-r--r--drivers/gpu/msm/adreno_a5xx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/msm/adreno_a5xx.h b/drivers/gpu/msm/adreno_a5xx.h
index 7965bb7b5440..27d5a4b31c71 100644
--- a/drivers/gpu/msm/adreno_a5xx.h
+++ b/drivers/gpu/msm/adreno_a5xx.h
@@ -52,7 +52,7 @@
#define A5XX_CP_CTXRECORD_MAGIC_REF 0x27C4BAFCUL
/* Size of each CP preemption record */
-#define A5XX_CP_CTXRECORD_SIZE_IN_BYTES 0x100000
+#define A5XX_CP_CTXRECORD_SIZE_IN_BYTES 0x10000
/* Size of the preemption counter block (in bytes) */
#define A5XX_CP_CTXRECORD_PREEMPTION_COUNTER_SIZE (16 * 4)