drm/amdgpu: disable SDMA page queue on Vega20

Submitted by Koenig, Christian on Oct. 22, 2018, 6:56 a.m.

Details

Message ID 8d9db6d6-881f-c7df-fcb0-84047cdfd25a@amd.com
State New
Headers show
Series "drm/amdgpu: disable SDMA page queue on Vega20" ( rev: 3 ) in AMD X.Org drivers

Not browsing as part of any series.

Commit Message

Koenig, Christian Oct. 22, 2018, 6:56 a.m.
Reviewed-by: Christian K├Ânig <christian.koenig@amd.com><mailto:christian.koenig@amd.com>


Am 22.10.18 um 05:23 schrieb Deucher, Alexander:

Acked-by: Alex Deucher <alexander.deucher@amd.com><mailto:alexander.deucher@amd.com>


________________________________
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org><mailto:amd-gfx-bounces@lists.freedesktop.org> on behalf of Evan Quan <evan.quan@amd.com><mailto:evan.quan@amd.com>

Sent: Sunday, October 21, 2018 10:39:38 PM
To: amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>
Cc: Deucher, Alexander; Xu, Feifei; Kuehling, Felix; Quan, Evan; Koenig, Christian
Subject: [PATCH] drm/amdgpu: disable SDMA page queue on Vega20

Since we see driver loading failure on Vega20. Keep it
disabled until it's ready.

Change-Id: Ieededa061c529245a90e0a1b308098f62a49ca23
Signed-off-by: Evan Quan <evan.quan@amd.com><mailto:evan.quan@amd.com>

---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--
2.19.1

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org>
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
index cd368acce688..d474bf2f680e 100644
--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
@@ -1474,7 +1474,8 @@  static int sdma_v4_0_early_init(void *handle)
                 adev->sdma.has_page_queue = false;
         } else {
                 adev->sdma.num_instances = 2;
-               adev->sdma.has_page_queue = true;
+               if (adev->asic_type != CHIP_VEGA20)
+                       adev->sdma.has_page_queue = true;
         }

         sdma_v4_0_set_ring_funcs(adev);