diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4128-drm-amdgpu-Disable-CG-clockgating-on-stoney.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4128-drm-amdgpu-Disable-CG-clockgating-on-stoney.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4128-drm-amdgpu-Disable-CG-clockgating-on-stoney.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4128-drm-amdgpu-Disable-CG-clockgating-on-stoney.patch new file mode 100644 index 00000000..f12b290a --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/4128-drm-amdgpu-Disable-CG-clockgating-on-stoney.patch @@ -0,0 +1,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 + |