diff options
author | Christian König <christian.koenig@amd.com> | 2015-09-01 04:50:26 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-21 11:35:12 -0400 |
commit | b7e4dad3e1fc5d3909737fb72e57aedeb0072c7f (patch) | |
tree | 113a99afa3d566be29fbe4a377fbe96b0f019d45 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | d0be9f4ec1c4ad8a8b6be1efa5bc81e5bce957a3 (diff) |
drm/amdgpu: remove old lockup detection infrastructure
It didn't worked to well anyway.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 736eb4560fd5..911d67032d57 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -345,7 +345,6 @@ struct amdgpu_ring_funcs { | |||
345 | /* testing functions */ | 345 | /* testing functions */ |
346 | int (*test_ring)(struct amdgpu_ring *ring); | 346 | int (*test_ring)(struct amdgpu_ring *ring); |
347 | int (*test_ib)(struct amdgpu_ring *ring); | 347 | int (*test_ib)(struct amdgpu_ring *ring); |
348 | bool (*is_lockup)(struct amdgpu_ring *ring); | ||
349 | /* insert NOP packets */ | 348 | /* insert NOP packets */ |
350 | void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count); | 349 | void (*insert_nop)(struct amdgpu_ring *ring, uint32_t count); |
351 | }; | 350 | }; |
@@ -907,8 +906,6 @@ struct amdgpu_ring { | |||
907 | unsigned ring_size; | 906 | unsigned ring_size; |
908 | unsigned ring_free_dw; | 907 | unsigned ring_free_dw; |
909 | int count_dw; | 908 | int count_dw; |
910 | atomic_t last_rptr; | ||
911 | atomic64_t last_activity; | ||
912 | uint64_t gpu_addr; | 909 | uint64_t gpu_addr; |
913 | uint32_t align_mask; | 910 | uint32_t align_mask; |
914 | uint32_t ptr_mask; | 911 | uint32_t ptr_mask; |
@@ -1230,8 +1227,6 @@ void amdgpu_ring_commit(struct amdgpu_ring *ring); | |||
1230 | void amdgpu_ring_unlock_commit(struct amdgpu_ring *ring); | 1227 | void amdgpu_ring_unlock_commit(struct amdgpu_ring *ring); |
1231 | void amdgpu_ring_undo(struct amdgpu_ring *ring); | 1228 | void amdgpu_ring_undo(struct amdgpu_ring *ring); |
1232 | void amdgpu_ring_unlock_undo(struct amdgpu_ring *ring); | 1229 | void amdgpu_ring_unlock_undo(struct amdgpu_ring *ring); |
1233 | void amdgpu_ring_lockup_update(struct amdgpu_ring *ring); | ||
1234 | bool amdgpu_ring_test_lockup(struct amdgpu_ring *ring); | ||
1235 | unsigned amdgpu_ring_backup(struct amdgpu_ring *ring, | 1230 | unsigned amdgpu_ring_backup(struct amdgpu_ring *ring, |
1236 | uint32_t **data); | 1231 | uint32_t **data); |
1237 | int amdgpu_ring_restore(struct amdgpu_ring *ring, | 1232 | int amdgpu_ring_restore(struct amdgpu_ring *ring, |
@@ -1974,7 +1969,6 @@ struct amdgpu_device { | |||
1974 | bool suspend; | 1969 | bool suspend; |
1975 | bool need_dma32; | 1970 | bool need_dma32; |
1976 | bool accel_working; | 1971 | bool accel_working; |
1977 | bool needs_reset; | ||
1978 | struct work_struct reset_work; | 1972 | struct work_struct reset_work; |
1979 | struct notifier_block acpi_nb; | 1973 | struct notifier_block acpi_nb; |
1980 | struct amdgpu_i2c_chan *i2c_bus[AMDGPU_MAX_I2C_BUS]; | 1974 | struct amdgpu_i2c_chan *i2c_bus[AMDGPU_MAX_I2C_BUS]; |
@@ -2253,7 +2247,6 @@ amdgpu_get_sdma_instance(struct amdgpu_ring *ring) | |||
2253 | #define amdgpu_ring_parse_cs(r, p, ib) ((r)->funcs->parse_cs((p), (ib))) | 2247 | #define amdgpu_ring_parse_cs(r, p, ib) ((r)->funcs->parse_cs((p), (ib))) |
2254 | #define amdgpu_ring_test_ring(r) (r)->funcs->test_ring((r)) | 2248 | #define amdgpu_ring_test_ring(r) (r)->funcs->test_ring((r)) |
2255 | #define amdgpu_ring_test_ib(r) (r)->funcs->test_ib((r)) | 2249 | #define amdgpu_ring_test_ib(r) (r)->funcs->test_ib((r)) |
2256 | #define amdgpu_ring_is_lockup(r) (r)->funcs->is_lockup((r)) | ||
2257 | #define amdgpu_ring_get_rptr(r) (r)->funcs->get_rptr((r)) | 2250 | #define amdgpu_ring_get_rptr(r) (r)->funcs->get_rptr((r)) |
2258 | #define amdgpu_ring_get_wptr(r) (r)->funcs->get_wptr((r)) | 2251 | #define amdgpu_ring_get_wptr(r) (r)->funcs->get_wptr((r)) |
2259 | #define amdgpu_ring_set_wptr(r) (r)->funcs->set_wptr((r)) | 2252 | #define amdgpu_ring_set_wptr(r) (r)->funcs->set_wptr((r)) |