Skip to contentSkip to conversation

drm/amdgpu: disable SDMA page queue on Vega20

PATCH In review Evan Quan 3 participants 3 messages Oct 22, 2018 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

Evan Quan

author
#0 lore raw

PATCH 1/1 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
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
index cd368acce688..d474bf2f680e 100644
@@ -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);
Signature · 6 lines
2.19.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

________________________________
From: amd-gfx <amd-gfx-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org> on behalf of Evan Quan <[email protected]>
Sent: Sunday, October 21, 2018 10:39:38 PM
To: [email protected]
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
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
index cd368acce688..d474bf2f680e 100644
@@ -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);

--
2.19.1

_______________________________________________
amd-gfx mailing list [email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): BN6PR12MB18099A7533704D527919B75EF7F40-/b2+HYfkarSEx6ez0IUAagdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

Reviewed-by Christian König Acked-by Alex Deucher
#4 lore raw

Am 22.10.18 um 05:23 schrieb Deucher, Alexander:

________________________________
From: amd-gfx <[email protected]><mailto:[email protected]> on behalf of Evan Quan <[email protected]><mailto:[email protected]>
Sent: Sunday, October 21, 2018 10:39:38 PM
To: [email protected]<mailto:[email protected]>
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
---
 drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
index cd368acce688..d474bf2f680e 100644
@@ -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);

--
2.19.1

_______________________________________________
amd-gfx mailing list [email protected]<mailto:[email protected]>
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx