]> www.infradead.org Git - users/willy/linux.git/commit
drm/msm/gpu: Only store local command buffers in the GPU state
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 2 Nov 2018 15:25:22 +0000 (09:25 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 3 Dec 2018 13:53:27 +0000 (08:53 -0500)
commit19494c7213b378655f10e817cc39836b421c0c0d
treef417f729cf6e64166a846708a38c4a516730d32a
parenta8399c8d02a00bd83129cbb2726e2eafb9cba4ca
drm/msm/gpu: Only store local command buffers in the GPU state

Instead of trying to store all the tagged buffers from a hanging
submit only store the command buffers that were not imported.
This cuts down on the amount of data stored in the GPU state to
the base minimum of useful information.

The downside is that this will make it more difficult to
successfully replay a hang with just the GPU state but there
isn't any reason why that functionality can't be added back
in later once we've figured out how to better communicate
such massive amounts of data.

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/msm_gpu.c