diff options
| author | Alex Deucher <[email protected]> | 2017-05-05 14:21:36 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-10 15:23:17 +0000 |
| commit | de70c6357be23261c18fcccfd2ad148512fedd28 (patch) | |
| tree | 61d0e145cc11b3170bdc218e21f5503b48aad712 /drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | |
| parent | drm/radeon: only warn once in radeon_ttm_bo_destroy if va list not empty (diff) | |
| download | kernel-de70c6357be23261c18fcccfd2ad148512fedd28.tar.gz kernel-de70c6357be23261c18fcccfd2ad148512fedd28.zip | |
drm/amdgpu/atomfirmware: add function to update engine hang status
Update the scratch reg for when the engine is hung.
Reviewed-by: Chunming Zhou <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Acked-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h index d0c4dcd7fa96..a2c3ebe22c71 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.h @@ -28,6 +28,8 @@ bool amdgpu_atomfirmware_gpu_supports_virtualization(struct amdgpu_device *adev) void amdgpu_atomfirmware_scratch_regs_init(struct amdgpu_device *adev); void amdgpu_atomfirmware_scratch_regs_save(struct amdgpu_device *adev); void amdgpu_atomfirmware_scratch_regs_restore(struct amdgpu_device *adev); +void amdgpu_atomfirmware_scratch_regs_engine_hung(struct amdgpu_device *adev, + bool hung); int amdgpu_atomfirmware_allocate_fb_scratch(struct amdgpu_device *adev); #endif |
