diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4665-drm-amdgpu-Make-sure-IB-tests-flushed-after-IP-resum.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4665-drm-amdgpu-Make-sure-IB-tests-flushed-after-IP-resum.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4665-drm-amdgpu-Make-sure-IB-tests-flushed-after-IP-resum.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4665-drm-amdgpu-Make-sure-IB-tests-flushed-after-IP-resum.patch new file mode 100644 index 00000000..91875b0b --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4665-drm-amdgpu-Make-sure-IB-tests-flushed-after-IP-resum.patch @@ -0,0 +1,34 @@ +From 3b037896917e0d2315a8c6b51e9aff0ec58e8339 Mon Sep 17 00:00:00 2001 +From: Leo Liu <leo.liu@amd.com> +Date: Fri, 13 Jul 2018 11:26:28 -0400 +Subject: [PATCH 4665/5725] drm/amdgpu: Make sure IB tests flushed after IP + resume +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +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> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +index d02f2fa..b39192f 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +@@ -2792,6 +2792,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)) { +-- +2.7.4 + |