OSDN Git Service

drm/msm: Save buffer iova's for rd-dump
authorSharat Masetty <smasetty@codeaurora.org>
Tue, 28 Nov 2017 12:04:01 +0000 (17:34 +0530)
committerSharat Masetty <smasetty@codeaurora.org>
Tue, 28 Nov 2017 12:04:01 +0000 (17:34 +0530)
commitc399b38fc907157cff8fc60c28077cc55573992d
tree4b43bf87c8c3824b950eb44539e3c3db47804f26
parentce488494ce823d2f5bff75c91726a95543bc7c29
drm/msm: Save buffer iova's for rd-dump

rd-dump needs the buffer iova's captured in the submit path. This helps
the offline parser construct the relocs correctly. Save the buffer
iova's for the buffers which were not mapped yet and then call the API
to rd-dump the submission.

Change-Id: Ic771f3e76d8b3b943300e69fd62320f387c2d4c0
Signed-off-by: Sharat Masetty <smasetty@codeaurora.org>
drivers/gpu/drm/msm/msm_gpu.c