msm: kgsl: Don't complain if we can't find an IB with a zero GPU address

When grabbing the snapshot don't complain if we can't find an IB at
address 0x0000000000000000.  Obviously such a thing doesn't exist so
don't even bother trying.

Change-Id: Ic0dedbadde29e16185f7a7d3e4d3b1d620697d3a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
This commit is contained in:
Jordan Crouse 2020-09-03 13:51:19 -06:00
commit 213d869e5a

View file

@ -43,7 +43,7 @@ void kgsl_snapshot_push_object(struct kgsl_device *device,
int index;
struct kgsl_mem_entry *entry;
if (process == NULL)
if (process == NULL || gpuaddr == 0)
return;
/*