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

Commit 84ef8584 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: kgsl: Pass in the context pointer to the snapshot"

parents 88df5217 bb99bd76
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2066,7 +2066,8 @@ static void do_header_and_snapshot(struct kgsl_device *device, int fault,
	adreno_fault_header(device, rb, cmdobj);

	if (!(drawobj->context->flags & KGSL_CONTEXT_NO_SNAPSHOT))
		kgsl_device_snapshot(device, NULL, fault & ADRENO_GMU_FAULT);
		kgsl_device_snapshot(device, drawobj->context,
					fault & ADRENO_GMU_FAULT);
}

static int dispatcher_do_fault(struct adreno_device *adreno_dev)