summarylogtreecommitdiffstats
path: root/idlebug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'idlebug.patch')
-rw-r--r--idlebug.patch50
1 files changed, 0 insertions, 50 deletions
diff --git a/idlebug.patch b/idlebug.patch
deleted file mode 100644
index 79794718bcf..00000000000
--- a/idlebug.patch
+++ /dev/null
@@ -1,50 +0,0 @@
-From d71e282a6611b9e1742386a2a4764fb766bc970b Mon Sep 17 00:00:00 2001
-From: egnappahz <egnappah@gmail.com>
-Date: Thu, 24 Jun 2021 12:46:46 +0200
-Subject: [PATCH] Revert for sienna idle bug
-
-Signed-off-by: egnappahz <egnappah@gmail.com>
----
- drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | 6 +-----
- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 6 +-----
- 2 files changed, 2 insertions(+), 10 deletions(-)
-
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
-index 72d23651501d..2342c5d216f9 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c
-@@ -6769,12 +6769,8 @@ static int gfx_v10_0_kiq_init_register(struct amdgpu_ring *ring)
- if (ring->use_doorbell) {
- WREG32_SOC15(GC, 0, mmCP_MEC_DOORBELL_RANGE_LOWER,
- (adev->doorbell_index.kiq * 2) << 2);
-- /* If GC has entered CGPG, ringing doorbell > first page doesn't
-- * wakeup GC. Enlarge CP_MEC_DOORBELL_RANGE_UPPER to workaround
-- * this issue.
-- */
- WREG32_SOC15(GC, 0, mmCP_MEC_DOORBELL_RANGE_UPPER,
-- (adev->doorbell.size - 4));
-+ (adev->doorbell_index.userqueue_end * 2) << 2);
- }
-
- WREG32_SOC15(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL,
-diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-index 1fdfb7783404..d2c020a91c0b 100644
---- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
-@@ -3623,12 +3623,8 @@ static int gfx_v9_0_kiq_init_register(struct amdgpu_ring *ring)
- if (ring->use_doorbell) {
- WREG32_SOC15(GC, 0, mmCP_MEC_DOORBELL_RANGE_LOWER,
- (adev->doorbell_index.kiq * 2) << 2);
-- /* If GC has entered CGPG, ringing doorbell > first page doesn't
-- * wakeup GC. Enlarge CP_MEC_DOORBELL_RANGE_UPPER to workaround
-- * this issue.
-- */
- WREG32_SOC15(GC, 0, mmCP_MEC_DOORBELL_RANGE_UPPER,
-- (adev->doorbell.size - 4));
-+ (adev->doorbell_index.userqueue_end * 2) << 2);
- }
-
- WREG32_SOC15_RLC(GC, 0, mmCP_HQD_PQ_DOORBELL_CONTROL,
---
-2.32.0
-