]> 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>
Fri, 25 Apr 2025 08:45:19 +0000 (10:45 +0200)
commita36f8d544522a19ef06ed9e84667d154dcb6be52
treeeb598274807ff35004be1b2df2f5d80f5daf16c7
parent864d739fbc728c1ba18d17a736b7776636f315da
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