diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3912-Revert-drm-amdgpu-fix-an-UMC-hw-arbitrator-bug.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3912-Revert-drm-amdgpu-fix-an-UMC-hw-arbitrator-bug.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3912-Revert-drm-amdgpu-fix-an-UMC-hw-arbitrator-bug.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3912-Revert-drm-amdgpu-fix-an-UMC-hw-arbitrator-bug.patch new file mode 100644 index 00000000..232988e0 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/3912-Revert-drm-amdgpu-fix-an-UMC-hw-arbitrator-bug.patch @@ -0,0 +1,46 @@ +From 6e950690501de1d272c3897c42699238627fe75a Mon Sep 17 00:00:00 2001 +From: Monk Liu <Monk.Liu@amd.com> +Date: Tue, 24 Sep 2019 11:39:59 +0800 +Subject: [PATCH 3912/4256] Revert "drm/amdgpu: fix an UMC hw arbitrator bug" + +pushed by mistake + +This reverts commit e708931930cbf5594c0c5b86246724cd310cd6a1. + +Signed-off-by: Monk Liu <Monk.Liu@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 18 ------------------ + 1 file changed, 18 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +index 9b823cd9d86e..561cc6bef280 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c +@@ -1316,24 +1316,6 @@ static int gmc_v9_0_gart_enable(struct amdgpu_device *adev) + (unsigned)(adev->gmc.gart_size >> 20), + (unsigned long long)amdgpu_bo_gpu_offset(adev->gart.bo)); + adev->gart.ready = true; +- +- /* disable auto Pchg is a w/a for the vega10 UMC hardware bug */ +- WREG32(0x5010c/4, 0x1002); +- WREG32(0x5210c/4, 0x1002); +- WREG32(0x5410c/4, 0x1002); +- WREG32(0x5610c/4, 0x1002); +- WREG32(0x15010c/4, 0x1002); +- WREG32(0x15210c/4, 0x1002); +- WREG32(0x15410c/4, 0x1002); +- WREG32(0x15610c/4, 0x1002); +- WREG32(0x25010c/4, 0x1002); +- WREG32(0x25210c/4, 0x1002); +- WREG32(0x25410c/4, 0x1002); +- WREG32(0x25610c/4, 0x1002); +- WREG32(0x35010c/4, 0x1002); +- WREG32(0x35210c/4, 0x1002); +- WREG32(0x35410c/4, 0x1002); +- WREG32(0x35610c/4, 0x1002); + return 0; + } + +-- +2.17.1 + |