diff options
| author | Alex Deucher <[email protected]> | 2025-03-19 14:42:45 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-03-21 16:16:35 +0000 |
| commit | a52077b6b6f7d1553d2dc89666f111f89d7418e0 (patch) | |
| tree | 0da913a465131248843494ca8b2ef7de6868ba10 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amdgpu/mes: drop MES 10.x leftovers (diff) | |
| download | kernel-a52077b6b6f7d1553d2dc89666f111f89d7418e0.tar.gz kernel-a52077b6b6f7d1553d2dc89666f111f89d7418e0.zip | |
drm/amdgpu/mes: enable compute pipes across all MEC
Enable pipes on both MECs for MES.
Fixes: 745f46b6a99f ("drm/amdgpu: enable mes v12 self test")
Acked-by: Lijo Lazar <[email protected]>
Reviewed-by: Prike Liang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c index 81632feee249..230d0d05c65e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c @@ -145,8 +145,7 @@ int amdgpu_mes_init(struct amdgpu_device *adev) adev->mes.vmid_mask_gfxhub = 0xffffff00; for (i = 0; i < AMDGPU_MES_MAX_COMPUTE_PIPES; i++) { - /* use only 1st MEC pipes */ - if (i >= adev->gfx.mec.num_pipe_per_mec) + if (i >= (adev->gfx.mec.num_pipe_per_mec * adev->gfx.mec.num_mec)) break; adev->mes.compute_hqd_mask[i] = 0xc; } |
