Skip to contentSkip to conversation

drm/amdgpu: disable page queue on SDMA for Vega12

PATCH In review Chen Gong 2 participants 2 messages Oct 30, 2018 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

Chen Gong

author
#0 lore raw

PATCH 1/1 drm/amdgpu: disable page queue on SDMA for Vega12

From: Junwei Zhang <[email protected]>

It blocks most of sanity tests, so disable it for now.

---
 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 88d9343..3143ae8 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;
-		if (adev->asic_type != CHIP_VEGA20)
+		if (adev->asic_type != CHIP_VEGA20 &&
+				adev->asic_type != CHIP_VEGA12)
 			adev->sdma.has_page_queue = true;
 	}
 
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
#2 lore raw
In reply to a message not in the archive

Am 30.10.18 um 08:37 schrieb Chen Gong:

Quoted 6 lines

From: Junwei Zhang <[email protected]>

It blocks most of sanity tests, so disable it for now.

Quoted 9 lines
---
  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 +0 -0
index 88d9343..3143ae8 100644

drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c static int sdma_v4_0_early_init(void *handle) · line 1481

Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +2 -1
@@ -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;
-		if (adev->asic_type != CHIP_VEGA20)
+		if (adev->asic_type != CHIP_VEGA20 &&
+				adev->asic_type != CHIP_VEGA12)
  			adev->sdma.has_page_queue = true;
  	}
 

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