msm: kgsl: Disable shader memory dump for A510

During the snapshot dump process disable shader
memory dump for A510 GPU.

Change-Id: I2641b6d572eb9fa78e049dd461e50ba19ad53c18
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
This commit is contained in:
Hareesh Gundu 2015-07-23 15:05:13 +05:30 committed by Gerrit - the friendly Code Review server
parent c9f748c828
commit 5bd7307553
1 changed files with 3 additions and 2 deletions

View File

@ -802,8 +802,9 @@ void a5xx_snapshot(struct adreno_device *adreno_dev,
kgsl_snapshot_add_section(device, KGSL_SNAPSHOT_SECTION_DEBUG,
snapshot, a5xx_snapshot_cp_pm4, NULL);
/* Shader memory */
a5xx_snapshot_shader(device, snapshot);
/* Skip Shader memory dump for A510*/
if (!adreno_is_a510(adreno_dev))
a5xx_snapshot_shader(device, snapshot);
/* Debug bus */
a5xx_snapshot_debugbus(device, snapshot);