drm/msm: devcoredump should dump MSM_SUBMIT_BO_DUMP buffers
authorRob Clark <robdclark@chromium.org>
Tue, 18 Feb 2020 21:20:12 +0000 (13:20 -0800)
committerRob Clark <robdclark@chromium.org>
Thu, 19 Mar 2020 19:18:44 +0000 (12:18 -0700)
commite515af8d4a6f18f96c360724568a7497868101a8
tree55bf3f0158d9d095d16219751d72a52f02af1077
parent0478b4fc5f37f4d494245fe7bcce3f531cf380e9
drm/msm: devcoredump should dump MSM_SUBMIT_BO_DUMP buffers

Also log buffers with the DUMP flag set, to ensure we capture all useful
cmdstream in crashdump state with modern mesa.

Otherwise we miss out on the contents of "state object" cmdstream
buffers.

v2: add missing 'inline'

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
drivers/gpu/drm/msm/msm_gem.h
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_rd.c