msm: kgsl: Use the correct pointer for preemption records

When we moved to the dynamic model for global buffers in
commit 2f23b00d46 ("msm: kgsl: Move globals to the KGSL device handle")
we missed two references to the memdescs in the snapshot code and were
accidentally passing a pointer to a pointer and copying the wrong memory.

Change-Id: Ic0dedbadc390661ecc02980990ec9ab6df731c56
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-08-03 17:07:48 -06:00
commit c4d040d1f2
2 changed files with 2 additions and 2 deletions

View file

@ -1010,7 +1010,7 @@ void a5xx_snapshot(struct adreno_device *adreno_dev,
kgsl_snapshot_add_section(device,
KGSL_SNAPSHOT_SECTION_GPU_OBJECT_V2,
snapshot, snapshot_preemption_record,
&rb->preemption_desc);
rb->preemption_desc);
}
}

View file

@ -1813,7 +1813,7 @@ void a6xx_snapshot(struct adreno_device *adreno_dev,
kgsl_snapshot_add_section(device,
KGSL_SNAPSHOT_SECTION_GPU_OBJECT_V2,
snapshot, snapshot_preemption_record,
&rb->preemption_desc);
rb->preemption_desc);
}
}
}