diff options
author | Rob Clark <robdclark@gmail.com> | 2017-09-15 10:46:45 -0400 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2017-10-28 13:59:18 -0400 |
commit | 998b9a588314faa334dd0f94007e1c685bf664dd (patch) | |
tree | 1a19ede70bb4d727655f62299d526245b50254a6 /drivers/gpu/drm/msm/msm_drv.h | |
parent | 2165e2b9cba277a5088c2e771af477e95dcc37bf (diff) | |
download | lwn-998b9a588314faa334dd0f94007e1c685bf664dd.tar.gz lwn-998b9a588314faa334dd0f94007e1c685bf664dd.zip |
drm/msm/rd: allow adding addition msg to top of dump
For faults or hangs, it is nice to be able to include a bit more
information.
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_drv.h')
-rw-r--r-- | drivers/gpu/drm/msm/msm_drv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index b01bd7fa9c2b..a007bbf4d94d 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -299,7 +299,8 @@ void msm_framebuffer_describe(struct drm_framebuffer *fb, struct seq_file *m); int msm_debugfs_late_init(struct drm_device *dev); int msm_rd_debugfs_init(struct drm_minor *minor); void msm_rd_debugfs_cleanup(struct msm_drm_private *priv); -void msm_rd_dump_submit(struct msm_rd_state *rd, struct msm_gem_submit *submit); +void msm_rd_dump_submit(struct msm_rd_state *rd, struct msm_gem_submit *submit, + const char *fmt, ...); int msm_perf_debugfs_init(struct drm_minor *minor); void msm_perf_debugfs_cleanup(struct msm_drm_private *priv); #else |