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

Commit dbf77f34 authored by Lynus Vaz's avatar Lynus Vaz
Browse files

msm: kgsl: Don't use stale data when looking for active buffers



When searching for the active ringbuffer and indirect buffers to
snapshot, start with a GPU address of 0 if the data cannot be read
from the GPU registers.

Change-Id: Ib20064cb9f360ff295006da92308648d1d015126
Signed-off-by: default avatarLynus Vaz <lvaz@codeaurora.org>
parent f5d98565
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2079,7 +2079,7 @@ static int dispatcher_do_fault(struct adreno_device *adreno_dev)
	struct adreno_ringbuffer *rb;
	struct adreno_ringbuffer *hung_rb = NULL;
	unsigned int reg;
	uint64_t base;
	uint64_t base = 0;
	struct kgsl_drawobj_cmd *cmdobj = NULL;
	int ret, i;
	int fault;