Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c4d040d1 authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Use the correct pointer for preemption records



When we moved to the dynamic model for global buffers in
commit 2f23b00d ("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: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 1565876a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
		}
	}

+1 −1
Original line number Diff line number Diff line
@@ -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);
		}
	}
}