Commit 6670142d authored by Alex Deucher's avatar Alex Deucher

drm/amdgpu/gfx11: enable gfx pipe1 hardware support

Enable gfx pipe1 hardware support.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ef5c0f89
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include "nbio_v4_3.h" #include "nbio_v4_3.h"
#include "mes_v11_0.h" #include "mes_v11_0.h"
#define GFX11_NUM_GFX_RINGS 1 #define GFX11_NUM_GFX_RINGS 2
#define GFX11_MEC_HPD_SIZE 2048 #define GFX11_MEC_HPD_SIZE 2048
#define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L #define RLCG_UCODE_LOADING_START_ADDRESS 0x00002000L
...@@ -1526,7 +1526,7 @@ static int gfx_v11_0_sw_init(void *handle) ...@@ -1526,7 +1526,7 @@ static int gfx_v11_0_sw_init(void *handle)
case IP_VERSION(11, 0, 2): case IP_VERSION(11, 0, 2):
case IP_VERSION(11, 0, 3): case IP_VERSION(11, 0, 3):
adev->gfx.me.num_me = 1; adev->gfx.me.num_me = 1;
adev->gfx.me.num_pipe_per_me = 1; adev->gfx.me.num_pipe_per_me = 2;
adev->gfx.me.num_queue_per_pipe = 1; adev->gfx.me.num_queue_per_pipe = 1;
adev->gfx.mec.num_mec = 2; adev->gfx.mec.num_mec = 2;
adev->gfx.mec.num_pipe_per_mec = 4; adev->gfx.mec.num_pipe_per_mec = 4;
...@@ -1537,7 +1537,7 @@ static int gfx_v11_0_sw_init(void *handle) ...@@ -1537,7 +1537,7 @@ static int gfx_v11_0_sw_init(void *handle)
case IP_VERSION(11, 5, 0): case IP_VERSION(11, 5, 0):
case IP_VERSION(11, 5, 1): case IP_VERSION(11, 5, 1):
adev->gfx.me.num_me = 1; adev->gfx.me.num_me = 1;
adev->gfx.me.num_pipe_per_me = 1; adev->gfx.me.num_pipe_per_me = 2;
adev->gfx.me.num_queue_per_pipe = 1; adev->gfx.me.num_queue_per_pipe = 1;
adev->gfx.mec.num_mec = 1; adev->gfx.mec.num_mec = 1;
adev->gfx.mec.num_pipe_per_mec = 4; adev->gfx.mec.num_pipe_per_mec = 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment