*** Dedicated vmid per process ***
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | drm/amdgpu: handle flags when context allocdrivers/ | +6 | 1 reply | |
| 2/5 | drm/amdgpu: add dedicated vmid field in vm structdrivers/ drivers/ | +18 | 0 replies | |
| 3/5 | drm/amdgpu: add context flags for dedicated vmid reqestdrivers/ drivers/ drivers/ +1 more | +64 | 1 reply | |
| 4/5 | drm/amdgpu: implement grab dedicated vmiddrivers/ | +60 | 1 reply | |
| 5/5 | drm/amdgpu: add limitation for dedicated vm numberdrivers/ drivers/ drivers/ | +12 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Christian König |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] *** Dedicated vmid per process ***
The current kernel implementation, which grabs the idle VMID from pool when emitting the job may:
The back-to-back submission from one process could use different VMID. The submission to different queues from single process could use different VMID
It works well in most case but cannot work for the SQ thread trace capture.
The VMID for the submission that set the {SQTT}_BASE, which refers to the address of the trace buffer, is stored in shader engine.
If the profiling application have to use different VMIDs to submit IBs in its life cycle:
Some trace is not captured since it actually uses different VMID to submit jobs.
Some part of captured trace may come from different application since they are accidentally uses the owner’s VMID to submit jobs.
ChunmingrZhour(5):
drm/amdgpu: handle flags when context alloc drm/amdgpu: add dedicated vmid field in vm struct drm/amdgpu: add context flagn for dedicated vmid reqest drm/amdgpu: implement grab dedicated vmid drm/amdgpu: add limitation for dedicated vm number
drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 14 ++- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 137 ++++++++++++++++++++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | 6 ++ include/uapi/drm/amdgpu_drm.h | 3 + 6 files changed, 158 insertions(+), 4 deletions(-)
Signature · 1 line
1.9.1
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx