summaryrefslogtreecommitdiff
path: root/drivers/gpu
diff options
context:
space:
mode:
authorHarshdeep Dhatt <hdhatt@codeaurora.org>2016-10-20 16:13:08 -0600
committerHarshdeep Dhatt <hdhatt@codeaurora.org>2016-10-20 16:13:08 -0600
commite355a75ded42b0690d0e4cd374084fe878a562ae (patch)
tree9844fbc47e54a364b9c0650da96758b3470084f8 /drivers/gpu
parent52912bb76bd24cf1660e50110056c8174b1f6607 (diff)
msm: kgsl: Correct the merciu size for a540
During snapshot, dump 1024 bytes instead of 64 on a540. Change-Id: I34ed23bdbbaedc73cae777a7df8a7c04efb3c0a8 Signed-off-by: Harshdeep Dhatt <hdhatt@codeaurora.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/msm/adreno_a5xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/msm/adreno_a5xx.c b/drivers/gpu/msm/adreno_a5xx.c
index 2891940b8f5b..5f2d91caf249 100644
--- a/drivers/gpu/msm/adreno_a5xx.c
+++ b/drivers/gpu/msm/adreno_a5xx.c
@@ -196,6 +196,8 @@ static void a5xx_platform_setup(struct adreno_device *adreno_dev)
/* A510 has 3 XIN ports in VBIF */
gpudev->vbif_xin_halt_ctrl0_mask =
A510_VBIF_XIN_HALT_CTRL0_MASK;
+ } else if (adreno_is_a540(adreno_dev)) {
+ gpudev->snapshot_data->sect_sizes->cp_merciu = 1024;
}
/* Calculate SP local and private mem addresses */