diff options
author | Harshdeep Dhatt <hdhatt@codeaurora.org> | 2016-10-20 16:13:08 -0600 |
---|---|---|
committer | Harshdeep Dhatt <hdhatt@codeaurora.org> | 2016-10-20 16:13:08 -0600 |
commit | e355a75ded42b0690d0e4cd374084fe878a562ae (patch) | |
tree | 9844fbc47e54a364b9c0650da96758b3470084f8 /drivers/gpu | |
parent | 52912bb76bd24cf1660e50110056c8174b1f6607 (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.c | 2 |
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 */ |