drm/amdgpu/atomfirmware: add function to update engine hang status
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 5 May 2017 14:21:36 +0000 (10:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 May 2017 15:23:17 +0000 (11:23 -0400)
commitde70c6357be23261c18fcccfd2ad148512fedd28
tree61d0e145cc11b3170bdc218e21f5503b48aad712
parent634b6a8a064576797120b74facf95ba79283b5d5
drm/amdgpu/atomfirmware: add function to update engine hang status

Update the scratch reg for when the engine is hung.

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h