]> git.baikalelectronics.ru Git - kernel.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>
Tue, 11 Dec 2018 18:05:29 +0000 (13:05 -0500)
commit9b74e67741ca363c618eb6b2b6f925bafc2299a2
treebd7308230af4cc55a385c43927694fd97c011636
parentc70af9b628f65151aaa710710cebceb78500a7c6
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