From: Rob Clark <robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
Cc: linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Jordan Crouse <jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org,
Rob Clark <robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: [PATCH 0/6] drm/msm: GPU debugging enhancements
Date: Tue, 24 Oct 2017 09:22:47 -0400 [thread overview]
Message-ID: <20171024132256.20286-1-robdclark@gmail.com> (raw)
Something that I've been using locally for a while, and found quite
helpful for debugging gallium driver issues:
1) Better messages about what process triggered a crash, which is
in particular particularly useful for piglit
2) Mechanism to dump just submits which triggered GPU hangs.
Eventually I want to extend #2 to also dump submits that trigger
faults, but this is going to require spiffing out IOMMU framework
somewhat.. in particular we can't dump from IRQ context, so a
workqueue is needed, but we want to keep the IOMMU stalled until
after we dump the submit. Maybe we'll get something useable out
of the currently discussed SVM patches.
Rob Clark (6):
drm/msm: show task cmdline in gpu recovery messages
drm/msm: add special _get_vaddr_active() for cmdstream dumps
drm/msm: split rd debugfs file
drm/msm/rd: allow adding addition msg to top of dump
drm/msm: preserve IOVAs in submit's bo table
drm/msm: dump submits which triggered gpu hang
drivers/gpu/drm/msm/msm_drv.h | 7 ++-
drivers/gpu/drm/msm/msm_gem.c | 22 ++++++-
drivers/gpu/drm/msm/msm_gem_submit.c | 11 ++--
drivers/gpu/drm/msm/msm_gpu.c | 90 +++++++++++++++++++--------
drivers/gpu/drm/msm/msm_rd.c | 116 ++++++++++++++++++++++++++---------
5 files changed, 183 insertions(+), 63 deletions(-)
--
2.13.6
_______________________________________________
Freedreno mailing list
Freedreno@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/freedreno
next reply other threads:[~2017-10-24 13:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-24 13:22 Rob Clark [this message]
[not found] ` <20171024132256.20286-1-robdclark-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-10-24 13:22 ` [PATCH 1/6] drm/msm: show task cmdline in gpu recovery messages Rob Clark
2017-10-24 13:22 ` Rob Clark
2017-10-24 13:22 ` [PATCH 2/6] drm/msm: add special _get_vaddr_active() for cmdstream dumps Rob Clark
2017-10-24 13:22 ` Rob Clark
2017-10-24 13:22 ` [PATCH 3/6] drm/msm: split rd debugfs file Rob Clark
2017-10-24 13:22 ` Rob Clark
2017-10-24 13:22 ` [PATCH 4/6] drm/msm/rd: allow adding addition msg to top of dump Rob Clark
2017-10-24 13:22 ` Rob Clark
2017-10-24 13:22 ` [PATCH 6/6] drm/msm: dump submits which triggered gpu hang Rob Clark
2017-10-24 13:22 ` Rob Clark
2017-10-24 13:22 ` [PATCH 5/6] drm/msm: preserve IOVAs in submit's bo table Rob Clark
2017-10-24 13:22 ` Rob Clark
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20171024132256.20286-1-robdclark@gmail.com \
--to=robdclark-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=freedreno-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org \
--cc=jcrouse-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.