OSDN Git Service

drm/msm: dump a rd GPUADDR header for all buffers in the command
authorJordan Crouse <jcrouse@codeaurora.org>
Fri, 20 Oct 2017 17:07:03 +0000 (11:07 -0600)
committerRob Clark <robdclark@gmail.com>
Sat, 28 Oct 2017 15:01:40 +0000 (11:01 -0400)
commit78b8e5b847b4c80b731d2ad8a9ce1a377ea68ef2
treec6eab62007a718510a6d86bd8afc61651e593557
parent3ceaa1411da4d0d5f3ea89e9ecd03af1b7bcd5eb
drm/msm: dump a rd GPUADDR header for all buffers in the command

Currently the rd dump avoids any buffers marked as WRITE under
the assumption that the contents are not interesting.  While it
is true that the contents are uninteresting we should still print
the iova and size for all buffers so that any listening replay
tools can correctly construct the submission.

Print the header for all buffers but only dump the contents for
buffers marked as READ.

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