]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 21:50:05 +0000 (16:50 -0500)
commitfe9d0061c413f8fb8c529b18b592b04170850ded
tree7be7992da0ad4780e4a433050282715fce28d9b0
parent7919b4cad5545ed93778f11881ceee72e4dbed66
drm/amdkfd: debugfs hang_hws skip GPU with MES

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>
drivers/gpu/drm/amd/amdkfd/kfd_device.c