aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-07-14 23:19:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-08-08 11:32:00 -0400
commit63fbf42f7307a5911237fed3285e669d9d4d0d1a (patch)
tree41ad327f379df42ac305aeb3bd5da13057b23cb3 /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parent5c6c201ccbaf9d3901f829441d457293f7ca8ef4 (diff)
drm/amdgpu: add check_soft_reset ip func
It is used to identify if the ip block is hang. Signed-off-by: Chunming Zhou <David1.Zhou@amd.com> Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 8ebc5f1eb4c0..a21b342ab2a3 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -1956,6 +1956,7 @@ struct amdgpu_ip_block_status {
1956 bool valid; 1956 bool valid;
1957 bool sw; 1957 bool sw;
1958 bool hw; 1958 bool hw;
1959 bool hang;
1959}; 1960};
1960 1961
1961struct amdgpu_device { 1962struct amdgpu_device {