From: Matt Turner <mattst88@gmail.com>
To: "Alex Deucher" <alexander.deucher@amd.com>,
"Christian König" <christian.koenig@amd.com>,
"David Airlie" <airlied@gmail.com>,
"Simona Vetter" <simona@ffwll.ch>,
"Pierre-Eric Pelloux-Prayer" <pierre-eric.pelloux-prayer@amd.com>,
"Le Ma" <le.ma@amd.com>, "Lijo Lazar" <lijo.lazar@amd.com>
Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org, Matt Turner <mattst88@gmail.com>,
Gregoire Pean <gpean@netflix.com>,
Jatin Kataria <jkataria@netflix.com>
Subject: [PATCH 0/3] drm/amdgpu: devcoredump and reset fixes
Date: Wed, 02 Dec 2026 17:34:09 -0500 [thread overview]
Message-ID: <20261202-amdgpu-devcoredump-fixes-v1-0-59f622a29769@gmail.com> (raw)
Three small fixes found while working on the amdgpu devcoredump.
Patch 1 fixes reading the IB contents into the devcoredump: a NULL
dereference for PRT mappings and purged BOs, a wrong offset for
mappings that don't start at the beginning of their BO, no bounds
check of the IB against its mapping, and clobbering abo->kmap.
Patch 2 clears the JPEG and VCN1 IP dump pointers after freeing them,
as the other VCN versions already do.
Patch 3 skips the MES legacy queue unmap during a GPU reset, as the
KIQ path already does, so a hung MES doesn't add about 2.1 seconds per
queue to recovery.
Signed-off-by: Matt Turner <mattst88@gmail.com>
---
Matt Turner (3):
drm/amdgpu: fix IB content read in the devcoredump
drm/amdgpu: clear stale JPEG and VCN1 IP dump pointers
drm/amdgpu: don't unmap legacy queues through MES during reset
drivers/gpu/drm/amd/amdgpu/amdgpu_dev_coredump.c | 67 ++++++++++++++++--------
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c | 8 +++
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c | 1 +
drivers/gpu/drm/amd/amdgpu/vcn_v1_0.c | 1 +
4 files changed, 56 insertions(+), 21 deletions(-)
---
base-commit: a69db917063c539fa09325ea22f3ff7b0626b478
change-id: 20261118-amdgpu-devcoredump-fixes-03f0342dc0a2
Best regards,
--
Matt Turner <mattst88@gmail.com>
next reply other threads:[~2026-12-02 22:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 22:34 Matt Turner [this message]
2026-12-02 22:34 ` [PATCH 1/3] drm/amdgpu: fix IB content read in the devcoredump Matt Turner
2026-12-02 22:34 ` [PATCH 2/3] drm/amdgpu: clear stale JPEG and VCN1 IP dump pointers Matt Turner
2026-12-02 22:34 ` [PATCH 3/3] drm/amdgpu: don't unmap legacy queues through MES during reset Matt Turner
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=20261202-amdgpu-devcoredump-fixes-v1-0-59f622a29769@gmail.com \
--to=mattst88@gmail.com \
--cc=airlied@gmail.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=christian.koenig@amd.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=gpean@netflix.com \
--cc=jkataria@netflix.com \
--cc=le.ma@amd.com \
--cc=lijo.lazar@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=pierre-eric.pelloux-prayer@amd.com \
--cc=simona@ffwll.ch \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®