Skip to content

Commit dce8bd9

Browse files
committed
drm/amdgpu/gfx12: fix num_mec
GC12 only has 1 mec. Fixes: 52cb80c ("drm/amdgpu: Add gfx v12_0 ip block support (v6)") Reviewed-by: Sunil Khatri <sunil.khatri@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
1 parent 4161050 commit dce8bd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1355,7 +1355,7 @@ static int gfx_v12_0_sw_init(struct amdgpu_ip_block *ip_block)
13551355
adev->gfx.me.num_me = 1;
13561356
adev->gfx.me.num_pipe_per_me = 1;
13571357
adev->gfx.me.num_queue_per_pipe = 1;
1358-
adev->gfx.mec.num_mec = 2;
1358+
adev->gfx.mec.num_mec = 1;
13591359
adev->gfx.mec.num_pipe_per_mec = 2;
13601360
adev->gfx.mec.num_queue_per_pipe = 4;
13611361
break;

0 commit comments

Comments
 (0)