diff options
| author | Shashank Sharma <[email protected]> | 2024-04-22 17:21:20 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-08 20:48:15 +0000 |
| commit | 5fb2f7fc21a3668e5794cc0d153641b9719713e1 (patch) | |
| tree | 47a95e0265bf5ad82fa729bfb1116e1fc9d842fe /drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c | |
| parent | drm/amdgpu: map usermode queue into MES (diff) | |
| download | kernel-5fb2f7fc21a3668e5794cc0d153641b9719713e1.tar.gz kernel-5fb2f7fc21a3668e5794cc0d153641b9719713e1.zip | |
drm/amdgpu: map wptr BO into GART
To support oversubscription, MES FW expects WPTR BOs to
be mapped into GART, before they are submitted to usermode
queues. This patch adds a function for the same.
V4: fix the wptr value before mapping lookup (Bas, Christian).
V5: Addressed review comments from Christian:
- Either pin object or allocate from GART, but not both.
- All the handling must be done with the VM locks held.
V7: Addressed review comments from Christian:
- Do not take vm->eviction_lock
- Use amdgpu_bo_gpu_offset to get the wptr_bo GPU offset
V8: Rebase
V9: Changed the function names from gfx_v11* to mes_v11*
V10: Remove unused adev (Harish)
Cc: Alex Deucher <[email protected]>
Cc: Christian Koenig <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Shashank Sharma <[email protected]>
Signed-off-by: Arvind Yadav <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userqueue.c')
0 files changed, 0 insertions, 0 deletions
