diff options
| author | Louis Li <[email protected]> | 2019-05-24 22:39:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-06-05 16:12:21 +0000 |
| commit | ce0e22f5d886d1b56c7ab4347c45b9ac5fcc058d (patch) | |
| tree | 45d411047ecd7d2b7c6d68e0617b78ed8af76eb7 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | Merge tag 'imx-drm-fixes-2019-05-29' of git://git.pengutronix.de/git/pza/linu... (diff) | |
| download | kernel-ce0e22f5d886d1b56c7ab4347c45b9ac5fcc058d.tar.gz kernel-ce0e22f5d886d1b56c7ab4347c45b9ac5fcc058d.zip | |
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 <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
