mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amdgpu: factor out the MES user queue reset body
Extract mes_userq_reset_hw() for reuse by GFX recovery. Keep reset and MES queue removal together, marking the queue HUNG only after both operations succeed. The existing reset entry point uses the same helper. Signed-off-by: Jesse Zhang <Jesse.Zhang@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
893642e0e3
commit
ac3477ac78
2 changed files with 28 additions and 20 deletions
Loading…
Add table
Add a link
Reference in a new issue