drm/msm/gpu: Rearrange the code that collects the task during a hang
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 24 Jul 2018 16:33:26 +0000 (10:33 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:49:52 +0000 (08:49 -0400)
commit65a3c2748e882da03102369edb6991e1dd88456e
tree6d731939d4da9ed5fd2e9beb4a2a0d406178fa1e
parent4f776f4511c7f7b6576dfc38c609b168b9188d72
drm/msm/gpu: Rearrange the code that collects the task during a hang

Do a bit of cleanup to prepare for upcoming changes to pass the
hanging task comm and cmdline to the crash dump function.

v2: Use GFP_ATOMIC while holding the rcu lock per Chris Wilson

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