diff options
author | Leo Liu <leo.liu@amd.com> | 2018-07-13 17:26:28 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-17 22:12:50 +0200 |
commit | 96a5d8d4915f3e241ebb48d5decdd110ab9c7dcf (patch) | |
tree | 7e1b1e84d39ffee20864daaf77cbab1794d37d92 /drivers/gpu/drm/amd | |
parent | Merge tag 'drm-intel-fixes-2018-07-12' of git://anongit.freedesktop.org/drm/d... (diff) | |
download | linux-96a5d8d4915f3e241ebb48d5decdd110ab9c7dcf.tar.xz linux-96a5d8d4915f3e241ebb48d5decdd110ab9c7dcf.zip |
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 <leo.liu@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')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 6e5284e6c028..2c5f093e79e3 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -2747,6 +2747,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)) { |