OSDN Git Service

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>
Tue, 11 Dec 2018 18:05:29 +0000 (13:05 -0500)
commit896a248a9034bf2226ec2cc1d314d94ea4266274
treebd7308230af4cc55a385c43927694fd97c011636
parent4241db42e474ffc6d432e60eb5aaea98f12fda20
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