We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 652a06f commit a52077bCopy full SHA for a52077b
drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
@@ -145,8 +145,7 @@ int amdgpu_mes_init(struct amdgpu_device *adev)
145
adev->mes.vmid_mask_gfxhub = 0xffffff00;
146
147
for (i = 0; i < AMDGPU_MES_MAX_COMPUTE_PIPES; i++) {
148
- /* use only 1st MEC pipes */
149
- if (i >= adev->gfx.mec.num_pipe_per_mec)
+ if (i >= (adev->gfx.mec.num_pipe_per_mec * adev->gfx.mec.num_mec))
150
break;
151
adev->mes.compute_hqd_mask[i] = 0xc;
152
}
0 commit comments