Skip to contentSkip to conversation

Revert "drm/amdgpu/gfx11: enable gfx pipe1 hardware support"

PATCH In review Alex Deucher 2 participants 2 messages May 31, 2024 – Jun 3, 2024

Subsystems (2)
lore
Share & tools
lore

Alex Deucher

author maintainer
#0 lore raw

PATCH 1/1 Revert "drm/amdgpu/gfx11: enable gfx pipe1 hardware support"

This reverts commit 269226a8fdf2cac0e03920f9ba0d670a056af3d6.

Pierre-Eric reported problems with this on his navi33. Revert for now until we understand what is going wrong.

---
 drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +3 -3
index 72676bfbac8c..bf05ff77feb8 100644
@@ -50,7 +50,7 @@
 #include "nbio_v4_3.h"
 #include "mes_v11_0.h"
 
-#define GFX11_NUM_GFX_RINGS		2
+#define GFX11_NUM_GFX_RINGS		1
 #define GFX11_MEC_HPD_SIZE	2048
 
 #define RLCG_UCODE_LOADING_START_ADDRESS	0x00002000L
@@ -1526,7 +1526,7 @@ static int gfx_v11_0_sw_init(void *handle)
 	case IP_VERSION(11, 0, 2):
 	case IP_VERSION(11, 0, 3):
 		adev->gfx.me.num_me = 1;
-		adev->gfx.me.num_pipe_per_me = 2;
+		adev->gfx.me.num_pipe_per_me = 1;
 		adev->gfx.me.num_queue_per_pipe = 1;
 		adev->gfx.mec.num_mec = 2;
 		adev->gfx.mec.num_pipe_per_mec = 4;
@@ -1537,7 +1537,7 @@ static int gfx_v11_0_sw_init(void *handle)
 	case IP_VERSION(11, 5, 0):
 	case IP_VERSION(11, 5, 1):
 		adev->gfx.me.num_me = 1;
-		adev->gfx.me.num_pipe_per_me = 2;
+		adev->gfx.me.num_pipe_per_me = 1;
 		adev->gfx.me.num_queue_per_pipe = 1;
 		adev->gfx.mec.num_mec = 1;
 		adev->gfx.mec.num_pipe_per_mec = 4;
Signature · 1 line
2.45.1
Acked-by on v1 1/1
#1 lore raw

Thanks Alex, the patch is:

Le 31/05/2024 à 19:42, Alex Deucher a écrit :

Quoted 42 lines

This reverts commit 269226a8fdf2cac0e03920f9ba0d670a056af3d6.

Pierre-Eric reported problems with this on his navi33. Revert for now until we understand what is going wrong.

---
  drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c +3 -3
index 72676bfbac8c..bf05ff77feb8 100644
@@ -50,7 +50,7 @@
  #include "nbio_v4_3.h"
  #include "mes_v11_0.h"
 
-#define GFX11_NUM_GFX_RINGS		2
+#define GFX11_NUM_GFX_RINGS		1
  #define GFX11_MEC_HPD_SIZE	2048
 
  #define RLCG_UCODE_LOADING_START_ADDRESS	0x00002000L
@@ -1526,7 +1526,7 @@ static int gfx_v11_0_sw_init(void *handle)
  	case IP_VERSION(11, 0, 2):
  	case IP_VERSION(11, 0, 3):
  		adev->gfx.me.num_me = 1;
-		adev->gfx.me.num_pipe_per_me = 2;
+		adev->gfx.me.num_pipe_per_me = 1;
  		adev->gfx.me.num_queue_per_pipe = 1;
  		adev->gfx.mec.num_mec = 2;
  		adev->gfx.mec.num_pipe_per_mec = 4;
@@ -1537,7 +1537,7 @@ static int gfx_v11_0_sw_init(void *handle)
  	case IP_VERSION(11, 5, 0):
  	case IP_VERSION(11, 5, 1):
  		adev->gfx.me.num_me = 1;
-		adev->gfx.me.num_pipe_per_me = 2;
+		adev->gfx.me.num_pipe_per_me = 1;
  		adev->gfx.me.num_queue_per_pipe = 1;
  		adev->gfx.mec.num_mec = 1;
  		adev->gfx.mec.num_pipe_per_mec = 4;