OSDN Git Service

msm: kgsl: Allow a draw context to skip snapshot
authorJordan Crouse <jcrouse@codeaurora.org>
Wed, 11 May 2016 15:37:41 +0000 (09:37 -0600)
committerCarter Cooper <ccooper@codeaurora.org>
Wed, 20 Jul 2016 21:19:33 +0000 (15:19 -0600)
commit091839e4c39c195c05836c7dac23fa14465d751d
treeadcae5c1647d8b520a35c9d495c59b25978d803e
parente6814f052b954bfe311b2d42b5b61f79cd153f34
msm: kgsl: Allow a draw context to skip snapshot

Some test applications intentionally generate a GPU fault for
various reasons. Because a GPU fault generates a snapshot and
snapshots are persistent until they are pulled, running the test
application may take up the snapshot slot and prevent a real fault
from being captured and debugged.

This flag allows the draw context to intentionally avoid generating
a snapshot.

CRs-Fixed: 1009190
Change-Id: Ic0dedbad8476c308a13572d999540b243d97eabc
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/msm/adreno_dispatch.c
drivers/gpu/msm/adreno_drawctxt.c
include/uapi/linux/msm_kgsl.h