]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/mes: add front end for detect and reset hung queue
authorJesse.Zhang <Jesse.Zhang@amd.com>
Thu, 4 Sep 2025 01:39:34 +0000 (09:39 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Sep 2025 21:38:31 +0000 (17:38 -0400)
commit78e1222fbf0026de99420bc35c6c12931e0f36ee
tree06b6aa848f3ddf39e78311fe2fe315470fb2242e
parent6abd725fdfc418abdf3aae0a1b19cb483305c723
drm/amdgpu/mes: add front end for detect and reset hung queue

Helper function to detect and reset hung queues.  MES will
return an array of doorbell indices of which queues are hung
and were optionally reset.

v2:  Clear the doorbell array before detection

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h