drm/amdgpu: extend halt_if_hws_hang to MES
authorGraham Sider <Graham.Sider@amd.com>
Thu, 29 Sep 2022 15:57:34 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 4 Nov 2022 20:05:53 +0000 (16:05 -0400)
commit9a1662f549343d3ec882c5ffcfd232c6104d3c85
treebc5a658d6c2c0f551a9e8c9fb4d5cf4fe2ebfe06
parent403cea4019e206130b5a90f6d34383005d17b54a
drm/amdgpu: extend halt_if_hws_hang to MES

Hang on MES timeout if halt_if_hws_hang is set to 1.

Signed-off-by: Graham Sider <Graham.Sider@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/mes_v10_1.c
drivers/gpu/drm/amd/amdgpu/mes_v11_0.c