blob: f12b290a1b344e931671615df1bb301fb1bc166c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
From 06d1b1c2bb29bb688b0f8a86b5ce7cdfd116bd99 Mon Sep 17 00:00:00 2001
From: avimn <avimn@amd.com>
Date: Fri, 3 Mar 2017 09:07:48 +0530
Subject: [PATCH 4128/4131] drm/amdgpu: Disable CG clockgating on stoney
Coarse grain clockgating is causing IOMMU errors and filesystem corruption
on stoney embedded boards. Disabling CGCG is a temporary workaround until the
issue is fixed properly.
Signed-off-by: Raveendra Talabattula <raveendra.talabattula@amd.com>
---
drivers/gpu/drm/amd/amdgpu/vi.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
index 789ffd2..eab5d1e 100644
--- a/drivers/gpu/drm/amd/amdgpu/vi.c
+++ b/drivers/gpu/drm/amd/amdgpu/vi.c
@@ -1130,7 +1130,11 @@ static int vi_common_early_init(void *handle)
AMD_CG_SUPPORT_GFX_CP_LS |
AMD_CG_SUPPORT_GFX_CGTS |
AMD_CG_SUPPORT_GFX_CGTS_LS |
- AMD_CG_SUPPORT_GFX_CGCG |
+ /* Enabling CGCG on 4.9 kernel results in
+ * IOMMU errors and filesystem corruption
+ * Disable CGCG until the issue is fixed properly
+ */
+ //AMD_CG_SUPPORT_GFX_CGCG |
AMD_CG_SUPPORT_GFX_CGLS |
AMD_CG_SUPPORT_BIF_LS |
AMD_CG_SUPPORT_HDP_MGCG |
--
2.7.4
|