diff options
| author | Jack Xiao <[email protected]> | 2024-08-07 03:53:35 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-08-13 14:29:25 +0000 |
| commit | c7d4355648ffa02a1551495b05c71ea6c884d29c (patch) | |
| tree | 4a79e18a2465c2354ed34dcc94d5239b607aa46d /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | |
| parent | drm/amdgpu/mes12: update mes_v12_api_def.h (diff) | |
| download | kernel-c7d4355648ffa02a1551495b05c71ea6c884d29c.tar.gz kernel-c7d4355648ffa02a1551495b05c71ea6c884d29c.zip | |
drm/amdgpu/mes: add multiple mes ring instances support
Add multiple mes ring instances in mes structure to support
multiple mes pipes.
Signed-off-by: Jack Xiao <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h')
| -rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h index 174283a0fc07..d87d068952e0 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.h @@ -82,8 +82,8 @@ struct amdgpu_mes { uint64_t default_process_quantum; uint64_t default_gang_quantum; - struct amdgpu_ring ring; - spinlock_t ring_lock; + struct amdgpu_ring ring[AMDGPU_MAX_MES_PIPES]; + spinlock_t ring_lock[AMDGPU_MAX_MES_PIPES]; const struct firmware *fw[AMDGPU_MAX_MES_PIPES]; |
