Louis Li
ce0e22f5d8
drm/amdgpu: fix ring test failure issue during s3 in vce 3.0 (V2)
...
[What]
vce ring test fails consistently during resume in s3 cycle, due to
mismatch read & write pointers.
On debug/analysis its found that rptr to be compared is not being
correctly updated/read, which leads to this failure.
Below is the failure signature:
[drm:amdgpu_vce_ring_test_ring] *ERROR* amdgpu: ring 12 test failed
[drm:amdgpu_device_ip_resume_phase2] *ERROR* resume of IP block <vce_v3_0> failed -110
[drm:amdgpu_device_resume] *ERROR* amdgpu_device_ip_resume failed (-110).
[How]
fetch rptr appropriately, meaning move its read location further down
in the code flow.
With this patch applied the s3 failure is no more seen for >5k s3 cycles,
which otherwise is pretty consistent.
V2: remove reduntant fetch of rptr
Signed-off-by: Louis Li <Ching-shih.Li@amd.com >
Reviewed-by: Christian König <christian.koenig@amd.com >
Signed-off-by: Alex Deucher <alexander.deucher@amd.com >
Cc: stable@vger.kernel.org
2019-06-05 11:12:21 -05:00
..
2019-06-05 11:12:21 -05:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 17:39:01 +02:00
2019-05-21 10:50:46 +02:00
2019-05-30 10:50:41 +10:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 09:12:46 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 09:12:46 -07:00
2019-05-27 15:13:57 +02:00
2019-04-17 20:56:40 +08:00
2019-05-21 10:50:46 +02:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-22 13:05:13 -05:00
2019-05-21 10:50:46 +02:00
2019-05-30 10:51:19 +10:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-03-28 06:12:42 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-04-23 11:15:38 -05:00
2019-05-21 10:50:46 +02:00
2019-04-03 11:15:57 +01:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-24 09:12:46 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-08 21:35:19 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 11:28:45 +02:00
2019-05-21 10:50:46 +02:00
2019-05-08 21:35:19 -07:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:23:10 +02:00
2019-05-21 10:50:46 +02:00
2019-05-21 10:50:46 +02:00
2019-04-15 15:51:49 +10:00
2019-04-24 11:31:17 +02:00
2019-04-29 12:35:56 +01:00
2019-04-26 11:35:44 +10:00
2019-04-24 12:32:13 +10:00
2019-04-11 16:14:49 +02:00
2019-05-07 10:39:14 -05:00
2019-04-24 11:30:52 +02:00
2019-04-24 11:30:32 +02:00
2019-04-24 12:32:18 +10:00
2019-05-24 17:39:00 +02:00
2019-05-07 11:48:11 +10:00
2019-04-24 15:57:43 +02:00
2019-04-24 12:36:32 +10:00
2019-04-17 09:39:22 +02:00
2019-05-08 16:01:40 +02:00
2019-04-01 10:44:34 -07:00
2019-04-25 10:02:10 -04:00
2019-04-24 12:33:15 +10:00
2019-04-24 12:33:15 +10:00
2019-05-02 12:36:47 +10:00
2019-04-24 12:33:15 +10:00
2019-04-24 11:29:32 +02:00
2019-04-24 12:36:32 +10:00
2019-04-24 12:36:32 +10:00
2019-04-24 12:32:15 +10:00
2019-04-01 11:43:42 +02:00
2019-04-29 12:37:53 +02:00
2019-04-16 15:13:23 -07:00
2019-04-24 11:30:52 +02:00
2019-05-21 10:50:45 +02:00
2019-04-24 11:30:32 +02:00
2019-04-01 10:44:34 -07:00
2019-05-08 21:35:19 -07:00
2019-04-24 12:33:15 +10:00
2019-05-21 10:50:46 +02:00
2019-04-24 10:36:22 +02:00