Skip to content

Commit 4161050

Browse files
committed
drm/amdgpu/gfx11: fix num_mec
GC11 only has 1 mec. Fixes: 3d879e8 ("drm/amdgpu: add init support for GFX11 (v2)") Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent eddff9a commit 4161050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/amd/amdgpu/gfx_v11_0.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1581,7 +1581,7 @@ static int gfx_v11_0_sw_init(struct amdgpu_ip_block *ip_block)
15811581
adev->gfx.me.num_me = 1;
15821582
adev->gfx.me.num_pipe_per_me = 1;
15831583
adev->gfx.me.num_queue_per_pipe = 1;
1584-
adev->gfx.mec.num_mec = 2;
1584+
adev->gfx.mec.num_mec = 1;
15851585
adev->gfx.mec.num_pipe_per_mec = 4;
15861586
adev->gfx.mec.num_queue_per_pipe = 4;
15871587
break;

0 commit comments

Comments
 (0)