]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdkfd: debugfs hang_hws skip GPU with MES
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 10 Feb 2025 14:42:31 +0000 (09:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 20 Apr 2025 08:15:25 +0000 (10:15 +0200)
commit1a322b330dc0b775d1d7a84e55c752d9451bfe7d
treedbd3ddf4010529b71aaf672ac7ebd54ea5c35231
parent10ce36501f1e6f54e046f7cd35683a87225e74b0
drm/amdkfd: debugfs hang_hws skip GPU with MES

[ Upstream commit fe9d0061c413f8fb8c529b18b592b04170850ded ]

debugfs hang_hws is used by GPU reset test with HWS, for MES this crash
the kernel with NULL pointer access because dqm->packet_mgr is not setup
for MES path.

Skip GPU with MES for now, MES hang_hws debugfs interface will be
supported later.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdkfd/kfd_device.c