drm/amdgpu: Make sure IB tests flushed after IP resume
Subsystems (2)
PATCH 1/1 drm/amdgpu: Make sure IB tests flushed after IP resume
Fixes 2c773de2 (drm/amdgpu: defer test IBs on the rings at boot (V3))
Signed-off-by Leo Liu <[email protected]>
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3 -0
@@ -2771,6 +2771,9 @@ int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon)if (r)return r; +/* Make sure IB tests flushed */ +flush_delayed_work (&adev->late_init_work); +/* blat the mode back in */ if (fbcon) {if (!amdgpu_device_has_dc_support (adev)) {
Signature · 6 lines
2.17.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): [email protected]
Christian König
Reviewed-byAm 13.07.2018 um 17:41 schrieb Leo Liu:
Quoted 3 lines
Fixes 2c773de2 (drm/amdgpu: defer test IBs on the rings at boot (V3))Signed-off-by Leo Liu <[email protected]>
Christian.
Quoted 9 lines
--- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon) · line 2779
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +3
-0@@ -2771,6 +2771,9 @@ int amdgpu_device_resume(struct drm_device *dev, bool resume, bool fbcon)if (r)return r; +/* Make sure IB tests flushed */ +flush_delayed_work (&adev->late_init_work); +/* blat the mode back in */ if (fbcon) {if (!amdgpu_device_has_dc_support (adev)) {
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx