aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch
new file mode 100644
index 00000000..3671c2f7
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/0690-drm-amd-amdgpu-enable-GFX-PG-for-carrizo-and.patch
@@ -0,0 +1,46 @@
+From bee6d503ecdec66ff9aabe6d97997927bdb9b7f6 Mon Sep 17 00:00:00 2001
+From: Kalyan Alle <kalyan.alle@amd.com>
+Date: Wed, 3 Jan 2018 13:25:20 +0530
+Subject: [PATCH 0690/4131] drm/amd/amdgpu: enable GFX PG for carrizo and
+
+disable CG for eStoney.
+
+Enables the GFX PG for carrizo as a workaround to make the amd-17.50
+kernel boot on carrizo. This patch also disables the CG on eStoney
+to get rid of the filesystem corruption and IOMMU errors.
+
+Signed-off-by: Kalyan Alle <kalyan.alle@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/vi.c | 9 +++++++--
+ 1 file changed, 7 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/vi.c b/drivers/gpu/drm/amd/amdgpu/vi.c
+index e131eb3..f5ec5f8 100644
+--- a/drivers/gpu/drm/amd/amdgpu/vi.c
++++ b/drivers/gpu/drm/amd/amdgpu/vi.c
+@@ -1066,7 +1066,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 |
+@@ -1077,7 +1081,8 @@ static int vi_common_early_init(void *handle)
+ /* rev0 hardware requires workarounds to support PG */
+ adev->pg_flags = 0;
+ if (adev->rev_id != 0x00 || CZ_REV_BRISTOL(adev->pdev->revision)) {
+- adev->pg_flags |= AMD_PG_SUPPORT_GFX_SMG |
++ adev->pg_flags |= AMD_PG_SUPPORT_GFX_PG |
++ AMD_PG_SUPPORT_GFX_SMG |
+ AMD_PG_SUPPORT_GFX_PIPELINE |
+ AMD_PG_SUPPORT_CP |
+ AMD_PG_SUPPORT_UVD |
+--
+2.7.4
+
option value='v5.10/standard/intel-sdk-5.10/intel-socfpga'>v5.10/standard/intel-sdk-5.10/intel-socfpga Yocto Linux Embedded kernelGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/samples/bpf/syscall_tp_user.c
blob: 57014bab7cbe65147cf3bd7a985413abed0967b3 (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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108